[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] testing nikomatsakis/2022-06-15-blogpost against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2F2022-06-15-blogpost" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nikomatsakis/2022-06-15-blogpost on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc7a303e3fb036e60092f5ad231f4f1a8b3be734fc7e46850ce636e3129cdde2 [INFO] running `Command { std: "docker" "start" "-a" "bc7a303e3fb036e60092f5ad231f4f1a8b3be734fc7e46850ce636e3129cdde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc7a303e3fb036e60092f5ad231f4f1a8b3be734fc7e46850ce636e3129cdde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7a303e3fb036e60092f5ad231f4f1a8b3be734fc7e46850ce636e3129cdde2", kill_on_drop: false }` [INFO] [stdout] bc7a303e3fb036e60092f5ad231f4f1a8b3be734fc7e46850ce636e3129cdde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b784db494f3783ce70fbafa3f10dd130ce6665bc0e252055a5a0834d94718771 [INFO] running `Command { std: "docker" "start" "-a" "b784db494f3783ce70fbafa3f10dd130ce6665bc0e252055a5a0834d94718771", kill_on_drop: false }` [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "b784db494f3783ce70fbafa3f10dd130ce6665bc0e252055a5a0834d94718771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b784db494f3783ce70fbafa3f10dd130ce6665bc0e252055a5a0834d94718771", kill_on_drop: false }` [INFO] [stdout] b784db494f3783ce70fbafa3f10dd130ce6665bc0e252055a5a0834d94718771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd054b264a3d565a4124d74fe79788159a6a33589bb77f901c7304a1d22c5e5d [INFO] running `Command { std: "docker" "start" "-a" "bd054b264a3d565a4124d74fe79788159a6a33589bb77f901c7304a1d22c5e5d", kill_on_drop: false }` [INFO] [stderr] Compiling 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] 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] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (example "b") due to 1 previous error [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [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" "bd054b264a3d565a4124d74fe79788159a6a33589bb77f901c7304a1d22c5e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd054b264a3d565a4124d74fe79788159a6a33589bb77f901c7304a1d22c5e5d", kill_on_drop: false }` [INFO] [stdout] bd054b264a3d565a4124d74fe79788159a6a33589bb77f901c7304a1d22c5e5d