[INFO] fetching crate maia 0.1.1... [INFO] checking maia-0.1.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maia 0.1.1 [INFO] finished tweaking crates.io crate maia 0.1.1 [INFO] tweaked toml for crates.io crate maia 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb09bd913cf64908d80f551a6802e0b62eacf8f1ea0704fef1680e8c9a09c723 [INFO] running `Command { std: "docker" "start" "-a" "bb09bd913cf64908d80f551a6802e0b62eacf8f1ea0704fef1680e8c9a09c723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb09bd913cf64908d80f551a6802e0b62eacf8f1ea0704fef1680e8c9a09c723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb09bd913cf64908d80f551a6802e0b62eacf8f1ea0704fef1680e8c9a09c723", kill_on_drop: false }` [INFO] [stdout] bb09bd913cf64908d80f551a6802e0b62eacf8f1ea0704fef1680e8c9a09c723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 068431886b72b27aa786aa87fe368479fca76acb66aab2998a3b90afcf79326f [INFO] running `Command { std: "docker" "start" "-a" "068431886b72b27aa786aa87fe368479fca76acb66aab2998a3b90afcf79326f", kill_on_drop: false }` [INFO] [stderr] Compiling maia v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stdout] error[E0502]: cannot borrow `**c` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/queue.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 149 | .push(c.lock_resources().ok_or(Error::InvalidArgument)?); [INFO] [stdout] | - immutable borrow occurs here [INFO] [stdout] 150 | commands.push(c.mut_handle()?); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 169 | } [INFO] [stdout] | - immutable borrow might be used here, when `info_recordings` is dropped and runs the `Drop` code for type `bumpalo::collections::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*infos` as mutable more than once at a time [INFO] [stdout] --> src/queue.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 144 | for info in infos.iter_mut() { [INFO] [stdout] | ----- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | for (info, recs) in infos.iter_mut().zip(recordings.into_iter()) { [INFO] [stdout] | ^^^^^ ---------- first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/queue.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 123 | &mut self, infos: &mut [SubmitInfo<'_>], fence: Option>, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 189 | self.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/queue.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 123 | &mut self, infos: &mut [SubmitInfo<'_>], fence: Option>, [INFO] [stdout] | ----- has type `&mut [SubmitInfo<'2>]` [INFO] [stdout] ... [INFO] [stdout] 189 | self.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `**c` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/queue.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 149 | .push(c.lock_resources().ok_or(Error::InvalidArgument)?); [INFO] [stdout] | - immutable borrow occurs here [INFO] [stdout] 150 | commands.push(c.mut_handle()?); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 169 | } [INFO] [stdout] | - immutable borrow might be used here, when `info_recordings` is dropped and runs the `Drop` code for type `bumpalo::collections::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*infos` as mutable more than once at a time [INFO] [stdout] --> src/queue.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 144 | for info in infos.iter_mut() { [INFO] [stdout] | ----- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | for (info, recs) in infos.iter_mut().zip(recordings.into_iter()) { [INFO] [stdout] | ^^^^^ ---------- first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/queue.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 123 | &mut self, infos: &mut [SubmitInfo<'_>], fence: Option>, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 189 | self.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/queue.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 123 | &mut self, infos: &mut [SubmitInfo<'_>], fence: Option>, [INFO] [stdout] | ----- has type `&mut [SubmitInfo<'2>]` [INFO] [stdout] ... [INFO] [stdout] 189 | self.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `**command` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/command_buffer/draw.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 376 | let res = command.lock_resources().ok_or(Error::InvalidArgument)?; [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 382 | handles.push(command.mut_handle()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 400 | } [INFO] [stdout] | - immutable borrow might be used here, when `resources` is dropped and runs the `Drop` code for type `bumpalo::collections::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `commands` because it is borrowed [INFO] [stdout] --> src/command_buffer/draw.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | -------- binding `commands` declared here [INFO] [stdout] ... [INFO] [stdout] 369 | for command in commands.iter_mut() { [INFO] [stdout] | -------- borrow of `*commands` occurs here [INFO] [stdout] ... [INFO] [stdout] 379 | resources.push(res as Arc<_>); [INFO] [stdout] | --- cast requires that `*commands` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 395 | for command in commands { [INFO] [stdout] | ^^^^^^^^ move out of `commands` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/command_buffer/draw.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 397 | self.rec.pool.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/command_buffer/draw.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 397 | self.rec.pool.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `**command` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/command_buffer/draw.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 376 | let res = command.lock_resources().ok_or(Error::InvalidArgument)?; [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 382 | handles.push(command.mut_handle()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 400 | } [INFO] [stdout] | - immutable borrow might be used here, when `resources` is dropped and runs the `Drop` code for type `bumpalo::collections::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `commands` because it is borrowed [INFO] [stdout] --> src/command_buffer/draw.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | -------- binding `commands` declared here [INFO] [stdout] ... [INFO] [stdout] 369 | for command in commands.iter_mut() { [INFO] [stdout] | -------- borrow of `*commands` occurs here [INFO] [stdout] ... [INFO] [stdout] 379 | resources.push(res as Arc<_>); [INFO] [stdout] | --- cast requires that `*commands` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 395 | for command in commands { [INFO] [stdout] | ^^^^^^^^ move out of `commands` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/command_buffer/draw.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 397 | self.rec.pool.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/command_buffer/draw.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 365 | &mut self, commands: &mut [&mut SecondaryCommandBuffer], [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 397 | self.rec.pool.resources.push(command.lock_self()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maia` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maia` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "068431886b72b27aa786aa87fe368479fca76acb66aab2998a3b90afcf79326f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068431886b72b27aa786aa87fe368479fca76acb66aab2998a3b90afcf79326f", kill_on_drop: false }` [INFO] [stdout] 068431886b72b27aa786aa87fe368479fca76acb66aab2998a3b90afcf79326f