[INFO] cloning repository https://github.com/wasabi315/stg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasabi315/stg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0084804a1ae86ecd9ce1b895370ddd6f8035b5b9 [INFO] checking wasabi315/stg-rs against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasabi315/stg-rs on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasabi315/stg-rs [INFO] finished tweaking git repo https://github.com/wasabi315/stg-rs [INFO] tweaked toml for git repo https://github.com/wasabi315/stg-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wasabi315/stg-rs 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 576191516ca8d52dd826ee0ab132d3f14cf7504bbcef3e482e817fb9829000a9 [INFO] running `Command { std: "docker" "start" "-a" "576191516ca8d52dd826ee0ab132d3f14cf7504bbcef3e482e817fb9829000a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "576191516ca8d52dd826ee0ab132d3f14cf7504bbcef3e482e817fb9829000a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576191516ca8d52dd826ee0ab132d3f14cf7504bbcef3e482e817fb9829000a9", kill_on_drop: false }` [INFO] [stdout] 576191516ca8d52dd826ee0ab132d3f14cf7504bbcef3e482e817fb9829000a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b90c447626e2d39e95f1ef0f7d18c36aa8ca6dadecb9374cb77478361d3a4bca [INFO] running `Command { std: "docker" "start" "-a" "b90c447626e2d39e95f1ef0f7d18c36aa8ca6dadecb9374cb77478361d3a4bca", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking stg-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Let` is never constructed [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 20 | Let { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AlgAlt` is never constructed [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Alt { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 46 | AlgAlt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Let` is never constructed [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 20 | Let { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix` is never used [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seq` is never used [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_` is never used [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AlgAlt` is never constructed [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Alt { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 46 | AlgAlt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose` is never used [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fst` is never used [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snd` is never used [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curry` is never used [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncurry` is never used [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap` is never used [INFO] [stdout] --> src/stg/prelude.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix` is never used [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seq` is never used [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_` is never used [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose` is never used [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fst` is never used [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snd` is never used [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curry` is never used [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncurry` is never used [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap` is never used [INFO] [stdout] --> src/stg/prelude.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "b90c447626e2d39e95f1ef0f7d18c36aa8ca6dadecb9374cb77478361d3a4bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90c447626e2d39e95f1ef0f7d18c36aa8ca6dadecb9374cb77478361d3a4bca", kill_on_drop: false }` [INFO] [stdout] b90c447626e2d39e95f1ef0f7d18c36aa8ca6dadecb9374cb77478361d3a4bca [INFO] checking wasabi315/stg-rs against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasabi315/stg-rs on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasabi315/stg-rs [INFO] finished tweaking git repo https://github.com/wasabi315/stg-rs [INFO] tweaked toml for git repo https://github.com/wasabi315/stg-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wasabi315/stg-rs 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56265fe149f7a7a74cf538f5c7efd8ef454d60a9a8e212f6c0b4fcac2dcacfe2 [INFO] running `Command { std: "docker" "start" "-a" "56265fe149f7a7a74cf538f5c7efd8ef454d60a9a8e212f6c0b4fcac2dcacfe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56265fe149f7a7a74cf538f5c7efd8ef454d60a9a8e212f6c0b4fcac2dcacfe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56265fe149f7a7a74cf538f5c7efd8ef454d60a9a8e212f6c0b4fcac2dcacfe2", kill_on_drop: false }` [INFO] [stdout] 56265fe149f7a7a74cf538f5c7efd8ef454d60a9a8e212f6c0b4fcac2dcacfe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 634db8f9769a3510de8575434806e6a2d4ce1bf7f5672dd2230181ab049fa9bf [INFO] running `Command { std: "docker" "start" "-a" "634db8f9769a3510de8575434806e6a2d4ce1bf7f5672dd2230181ab049fa9bf", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] 1321 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ----------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1334 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1333 | | RefDoc(&Doc::Line), [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | ------------------------------------------------------------------------ temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pretty` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "634db8f9769a3510de8575434806e6a2d4ce1bf7f5672dd2230181ab049fa9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634db8f9769a3510de8575434806e6a2d4ce1bf7f5672dd2230181ab049fa9bf", kill_on_drop: false }` [INFO] [stdout] 634db8f9769a3510de8575434806e6a2d4ce1bf7f5672dd2230181ab049fa9bf