[INFO] cloning repository https://github.com/thisisraghavkumar/aiken-lang-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thisisraghavkumar/aiken-lang-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisraghavkumar%2Faiken-lang-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisraghavkumar%2Faiken-lang-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd3e386bdd46699d20f4618e431368c94894d918 [INFO] checking thisisraghavkumar/aiken-lang-tool against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisraghavkumar%2Faiken-lang-tool" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thisisraghavkumar/aiken-lang-tool 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/thisisraghavkumar/aiken-lang-tool [INFO] finished tweaking git repo https://github.com/thisisraghavkumar/aiken-lang-tool [INFO] tweaked toml for git repo https://github.com/thisisraghavkumar/aiken-lang-tool written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thisisraghavkumar/aiken-lang-tool 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 67065ba0b365e6b9888651b9b933fca28d2a2f8cc8ef98994732c8cc69412b96 [INFO] running `Command { std: "docker" "start" "-a" "67065ba0b365e6b9888651b9b933fca28d2a2f8cc8ef98994732c8cc69412b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67065ba0b365e6b9888651b9b933fca28d2a2f8cc8ef98994732c8cc69412b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67065ba0b365e6b9888651b9b933fca28d2a2f8cc8ef98994732c8cc69412b96", kill_on_drop: false }` [INFO] [stdout] 67065ba0b365e6b9888651b9b933fca28d2a2f8cc8ef98994732c8cc69412b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 00c0bac99d210cb123747e147bfca01f31cb0079c66a48faf5ad2bd385a31a5b [INFO] running `Command { std: "docker" "start" "-a" "00c0bac99d210cb123747e147bfca01f31cb0079c66a48faf5ad2bd385a31a5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling minicbor v0.20.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.32 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking supports-color v1.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling blst v0.3.11 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling peg-runtime v0.8.2 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling libz-sys v1.1.14 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling peg-macros v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking pretty v0.11.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pretty-0.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] 1660 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1663 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1663 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1663 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1667 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1667 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1667 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1673 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________- [INFO] [stdout] 1674 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1675 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1676 | || ))), [INFO] [stdout] | ||_______________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1673 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | ________________________________________- [INFO] [stdout] 1674 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1675 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1676 | || ))), [INFO] [stdout] | ||_____________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1675 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1679 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1680 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1681 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1682 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] 1683 | | } [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1679 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1680 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1681 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1682 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 1683 | | } [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1681 | | RefDoc(&Doc::Nil), [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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.11.3/src/lib.rs:1656:9 [INFO] [stdout] | [INFO] [stdout] 1656 | / RefDoc(match doc { [INFO] [stdout] 1657 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1658 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1659 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1680 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1684 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1685 | | }) [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" "00c0bac99d210cb123747e147bfca01f31cb0079c66a48faf5ad2bd385a31a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c0bac99d210cb123747e147bfca01f31cb0079c66a48faf5ad2bd385a31a5b", kill_on_drop: false }` [INFO] [stdout] 00c0bac99d210cb123747e147bfca01f31cb0079c66a48faf5ad2bd385a31a5b