[INFO] cloning repository https://github.com/mumblingdrunkard/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mumblingdrunkard/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmumblingdrunkard%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmumblingdrunkard%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e62736ca83b7c3d195453aea75cdcc83bdaa7fd [INFO] checking mumblingdrunkard/rust-playground against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmumblingdrunkard%2Frust-playground" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mumblingdrunkard/rust-playground on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mumblingdrunkard/rust-playground [INFO] finished tweaking git repo https://github.com/mumblingdrunkard/rust-playground [INFO] tweaked toml for git repo https://github.com/mumblingdrunkard/rust-playground written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mumblingdrunkard/rust-playground 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded read_input v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 459f5be1cdd34ac54abc275a0d3675493d2a0a219d90170b5529696d34906ae4 [INFO] running `Command { std: "docker" "start" "-a" "459f5be1cdd34ac54abc275a0d3675493d2a0a219d90170b5529696d34906ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "459f5be1cdd34ac54abc275a0d3675493d2a0a219d90170b5529696d34906ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459f5be1cdd34ac54abc275a0d3675493d2a0a219d90170b5529696d34906ae4", kill_on_drop: false }` [INFO] [stdout] 459f5be1cdd34ac54abc275a0d3675493d2a0a219d90170b5529696d34906ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 773a986066d290eeb9ea42bbcb81b3a8c8c0d2522f60127fd787995ba21a83e7 [INFO] running `Command { std: "docker" "start" "-a" "773a986066d290eeb9ea42bbcb81b3a8c8c0d2522f60127fd787995ba21a83e7", kill_on_drop: false }` [INFO] [stderr] Checking read_input v0.8.6 [INFO] [stderr] Checking rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*model` as mutable more than once at a time [INFO] [stdout] --> src/controller.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Controller<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 13 | pub fn new(model: &'a mut Model, view: &'a mut View<'a>) -> Self { [INFO] [stdout] 14 | let observer = ViewObserver { model }; [INFO] [stdout] | ----- first mutable borrow occurs here [INFO] [stdout] 15 | view.input_submitted.subscribe(Box::new(observer)); [INFO] [stdout] | -------------------------------------------------- argument requires that `*model` is borrowed for `'a` [INFO] [stdout] 16 | let controller = Controller { model, view }; [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*model` as mutable more than once at a time [INFO] [stdout] --> src/controller.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Controller<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 13 | pub fn new(model: &'a mut Model, view: &'a mut View<'a>) -> Self { [INFO] [stdout] 14 | let observer = ViewObserver { model }; [INFO] [stdout] | ----- first mutable borrow occurs here [INFO] [stdout] 15 | view.input_submitted.subscribe(Box::new(observer)); [INFO] [stdout] | -------------------------------------------------- argument requires that `*model` is borrowed for `'a` [INFO] [stdout] 16 | let controller = Controller { model, view }; [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/event.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T1> Event<'a, T1> [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | self.subscribers.push(arg); [INFO] [stdout] | ^^^ coercion requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/event.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T1> Event<'a, T1> [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | self.subscribers.push(arg); [INFO] [stdout] | ^^^ coercion requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-template` (bin "rust-template") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-template` (bin "rust-template" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "773a986066d290eeb9ea42bbcb81b3a8c8c0d2522f60127fd787995ba21a83e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773a986066d290eeb9ea42bbcb81b3a8c8c0d2522f60127fd787995ba21a83e7", kill_on_drop: false }` [INFO] [stdout] 773a986066d290eeb9ea42bbcb81b3a8c8c0d2522f60127fd787995ba21a83e7