[INFO] cloning repository https://github.com/molysgaard/rustc-polonius-lifetime-challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/molysgaard/rustc-polonius-lifetime-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolysgaard%2Frustc-polonius-lifetime-challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolysgaard%2Frustc-polonius-lifetime-challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5f78529a4f9f212714765b1a2872de27a5e8b22
[INFO] checking molysgaard/rustc-polonius-lifetime-challenge against master#df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolysgaard%2Frustc-polonius-lifetime-challenge" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/molysgaard/rustc-polonius-lifetime-challenge
[INFO] finished tweaking git repo https://github.com/molysgaard/rustc-polonius-lifetime-challenge
[INFO] tweaked toml for git repo https://github.com/molysgaard/rustc-polonius-lifetime-challenge written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/molysgaard/rustc-polonius-lifetime-challenge on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/molysgaard/rustc-polonius-lifetime-challenge 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88
[INFO] running `Command { std: "docker" "start" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cameratest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0499]: cannot borrow `self.left_stream` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn next_frame(&mut self) -> &[u8] {
[INFO] [stdout]    |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout] 37 |         {
[INFO] [stdout] 38 |             let l_buf = self.left_stream.next();
[INFO] [stdout]    |                         ---------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 return l_buf;
[INFO] [stdout]    |                        ----- returning this value requires that `self.left_stream` is borrowed for `'1`
[INFO] [stdout] ...
[INFO] [stdout] 50 |         self.left_stream.next()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.left_stream` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout]  85 |     fn next_frame(&mut self) -> (&[u8], &[u8]) {
[INFO] [stdout]     |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout]  86 |         let l_buf = self.left_stream.next();
[INFO] [stdout]     |                     ---------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 101 |                 (self.left_stream.next(), r_buf)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 105 |                 (l_buf, self.right_stream.next())
[INFO] [stdout]     |                 --------------------------------- returning this value requires that `self.left_stream` is borrowed for `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.right_stream` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout]  85 |     fn next_frame(&mut self) -> (&[u8], &[u8]) {
[INFO] [stdout]     |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout]  86 |         let l_buf = self.left_stream.next();
[INFO] [stdout]  87 |         let r_buf = self.right_stream.next();
[INFO] [stdout]     |                     ----------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout]  97 |                 (l_buf, r_buf)
[INFO] [stdout]     |                 -------------- returning this value requires that `self.right_stream` is borrowed for `'1`
[INFO] [stdout] ...
[INFO] [stdout] 105 |                 (l_buf, self.right_stream.next())
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cameratest` (bin "cameratest" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0499]: cannot borrow `self.left_stream` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn next_frame(&mut self) -> &[u8] {
[INFO] [stdout]    |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout] 37 |         {
[INFO] [stdout] 38 |             let l_buf = self.left_stream.next();
[INFO] [stdout]    |                         ---------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 return l_buf;
[INFO] [stdout]    |                        ----- returning this value requires that `self.left_stream` is borrowed for `'1`
[INFO] [stdout] ...
[INFO] [stdout] 50 |         self.left_stream.next()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.left_stream` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout]  85 |     fn next_frame(&mut self) -> (&[u8], &[u8]) {
[INFO] [stdout]     |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout]  86 |         let l_buf = self.left_stream.next();
[INFO] [stdout]     |                     ---------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 101 |                 (self.left_stream.next(), r_buf)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 105 |                 (l_buf, self.right_stream.next())
[INFO] [stdout]     |                 --------------------------------- returning this value requires that `self.left_stream` is borrowed for `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.right_stream` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout]  85 |     fn next_frame(&mut self) -> (&[u8], &[u8]) {
[INFO] [stdout]     |                   - let's call the lifetime of this reference `'1`
[INFO] [stdout]  86 |         let l_buf = self.left_stream.next();
[INFO] [stdout]  87 |         let r_buf = self.right_stream.next();
[INFO] [stdout]     |                     ----------------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout]  97 |                 (l_buf, r_buf)
[INFO] [stdout]     |                 -------------- returning this value requires that `self.right_stream` is borrowed for `'1`
[INFO] [stdout] ...
[INFO] [stdout] 105 |                 (l_buf, self.right_stream.next())
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cameratest` (bin "cameratest") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88", kill_on_drop: false }`
[INFO] [stdout] 9866cfa311af148d122629b8c0c0e3a62571c0381fd0fd4bb30b8b586d51ff88
