[INFO] cloning repository https://github.com/nikomatsakis/2022-06-15-blogpost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikomatsakis/2022-06-15-blogpost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2F2022-06-15-blogpost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2F2022-06-15-blogpost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f280f91e9be03d37f273acf13502ef7dc1015db8 [INFO] checking nikomatsakis/2022-06-15-blogpost against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2F2022-06-15-blogpost" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nikomatsakis/2022-06-15-blogpost [INFO] finished tweaking git repo https://github.com/nikomatsakis/2022-06-15-blogpost [INFO] tweaked toml for git repo https://github.com/nikomatsakis/2022-06-15-blogpost written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nikomatsakis/2022-06-15-blogpost on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nikomatsakis/2022-06-15-blogpost 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b97d2cc55393f0ac6e1b7316bb6b65a624c4e5cc4172346a077f1684933f7fef [INFO] running `Command { std: "docker" "start" "-a" "b97d2cc55393f0ac6e1b7316bb6b65a624c4e5cc4172346a077f1684933f7fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97d2cc55393f0ac6e1b7316bb6b65a624c4e5cc4172346a077f1684933f7fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97d2cc55393f0ac6e1b7316bb6b65a624c4e5cc4172346a077f1684933f7fef", kill_on_drop: false }` [INFO] [stdout] b97d2cc55393f0ac6e1b7316bb6b65a624c4e5cc4172346a077f1684933f7fef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a0a94bda5c5d6f5b1489ac979fd5ce1a17480d80cdbc29aeff4d10348364e88 [INFO] running `Command { std: "docker" "start" "-a" "7a0a94bda5c5d6f5b1489ac979fd5ce1a17480d80cdbc29aeff4d10348364e88", kill_on_drop: false }` [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `parameters` does not live long enough [INFO] [stdout] --> examples/b.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 91 | let parameters: Vec<_> = types.iter().cloned().map(ast::Parameter::Ty).collect(); [INFO] [stdout] | ---------- binding `parameters` declared here [INFO] [stdout] 92 | self.lower_angle_bracket_parameters(¶meters); [INFO] [stdout] | ------------------------------------^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `parameters` is borrowed for `'ast` [INFO] [stdout] 93 | } [INFO] [stdout] | - `parameters` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> examples/d.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | self.lower_ty(input); [INFO] [stdout] | ^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.impl_trait_tys` as mutable more than once at a time [INFO] [stdout] --> examples/d.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | self.lower_ty(input); [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] ... [INFO] [stdout] 81 | for trait_ref in self.impl_trait_tys.drain(len..) { [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] --> examples/d.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | self.lower_ty(input); [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] ... [INFO] [stdout] 85 | self.lower_ty(&sig.output); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/d.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 97 | let parameters = self.arena.alloc(parameters); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 98 | self.lower_angle_bracket_parameters(parameters); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `self.arena` is borrowed for `'ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> examples/d.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 112 | let hir_ty = self.lower_ty(ty); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 116 | let hir_lifetime = self.lower_lifetime(lt); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> examples/d.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 116 | let hir_lifetime = self.lower_lifetime(lt); [INFO] [stdout] | ^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> examples/d.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'ast> Context<'ast> { [INFO] [stdout] | ---- lifetime `'ast` defined here [INFO] [stdout] ... [INFO] [stdout] 138 | self.lower_ty(parameter); [INFO] [stdout] | ^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (example "b") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `example` (example "d") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "7a0a94bda5c5d6f5b1489ac979fd5ce1a17480d80cdbc29aeff4d10348364e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0a94bda5c5d6f5b1489ac979fd5ce1a17480d80cdbc29aeff4d10348364e88", kill_on_drop: false }` [INFO] [stdout] 7a0a94bda5c5d6f5b1489ac979fd5ce1a17480d80cdbc29aeff4d10348364e88