[INFO] cloning repository https://github.com/CodeCork/vinesia_iot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodeCork/vinesia_iot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeCork%2Fvinesia_iot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeCork%2Fvinesia_iot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 137655e1af5b17c34ac64cd06267d3b7dd104485 [INFO] checking CodeCork/vinesia_iot against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeCork%2Fvinesia_iot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CodeCork/vinesia_iot on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CodeCork/vinesia_iot [INFO] finished tweaking git repo https://github.com/CodeCork/vinesia_iot [INFO] tweaked toml for git repo https://github.com/CodeCork/vinesia_iot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CodeCork/vinesia_iot 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdc23ea9e14c90e3d071f8069eb346f433c9b03b54d2582393b1bd54bf427241 [INFO] running `Command { std: "docker" "start" "-a" "fdc23ea9e14c90e3d071f8069eb346f433c9b03b54d2582393b1bd54bf427241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdc23ea9e14c90e3d071f8069eb346f433c9b03b54d2582393b1bd54bf427241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc23ea9e14c90e3d071f8069eb346f433c9b03b54d2582393b1bd54bf427241", kill_on_drop: false }` [INFO] [stdout] fdc23ea9e14c90e3d071f8069eb346f433c9b03b54d2582393b1bd54bf427241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1db77026948ead818b4eee09b0f78a42fe0d91fe7484247b2172019b1aa6cd5d [INFO] running `Command { std: "docker" "start" "-a" "1db77026948ead818b4eee09b0f78a42fe0d91fe7484247b2172019b1aa6cd5d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling candid v0.9.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] 1667 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1680 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________- [INFO] [stdout] 1681 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1682 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1683 | || ))), [INFO] [stdout] | ||_______________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1680 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | ________________________________________- [INFO] [stdout] 1681 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1682 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1683 | || ))), [INFO] [stdout] | ||_____________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1682 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1681 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1687 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1688 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1689 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] 1690 | | } [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1687 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1688 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1689 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 1690 | | } [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1688 | | RefDoc(&Doc::Nil), [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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-1949cf8c6b5b557f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1687 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [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 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1db77026948ead818b4eee09b0f78a42fe0d91fe7484247b2172019b1aa6cd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db77026948ead818b4eee09b0f78a42fe0d91fe7484247b2172019b1aa6cd5d", kill_on_drop: false }` [INFO] [stdout] 1db77026948ead818b4eee09b0f78a42fe0d91fe7484247b2172019b1aa6cd5d