[INFO] cloning repository https://github.com/EgorLappo/slim-runner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EgorLappo/slim-runner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorLappo%2Fslim-runner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorLappo%2Fslim-runner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50cb6c4d4bc21bda0258329730a3c65880b88aa2 [INFO] checking EgorLappo/slim-runner against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorLappo%2Fslim-runner" "/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/EgorLappo/slim-runner 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/EgorLappo/slim-runner [INFO] finished tweaking git repo https://github.com/EgorLappo/slim-runner [INFO] tweaked toml for git repo https://github.com/EgorLappo/slim-runner written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EgorLappo/slim-runner 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-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] 4d22815de208a1d097ddf68423a53b0ee7896aa1f6ba36be536527e7247266ad [INFO] running `Command { std: "docker" "start" "-a" "4d22815de208a1d097ddf68423a53b0ee7896aa1f6ba36be536527e7247266ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d22815de208a1d097ddf68423a53b0ee7896aa1f6ba36be536527e7247266ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d22815de208a1d097ddf68423a53b0ee7896aa1f6ba36be536527e7247266ad", kill_on_drop: false }` [INFO] [stdout] 4d22815de208a1d097ddf68423a53b0ee7896aa1f6ba36be536527e7247266ad [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] 48d5894d84a75f2d8481bf355e74dbd955d519e49c6042077ce4c181fa3fb109 [INFO] running `Command { std: "docker" "start" "-a" "48d5894d84a75f2d8481bf355e74dbd955d519e49c6042077ce4c181fa3fb109", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking array-init-cursor v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling polars-utils v0.46.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling polars-schema v0.46.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling polars-arrow v0.46.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling polars-compute v0.46.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking sysinfo v0.33.1 [INFO] [stderr] Checking ethnum v1.5.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking atoi_simd v0.16.0 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling polars-core v0.46.0 [INFO] [stderr] Compiling polars-ops v0.46.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking zlib-rs v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling polars-plan v0.46.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling polars-pipe v0.46.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking libz-rs-sys v0.5.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling polars-lazy v0.46.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking codegen v0.2.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling polars v0.46.0 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Checking object v0.32.2 [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] 1683 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1696 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________- [INFO] [stdout] 1697 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1698 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1699 | || ))), [INFO] [stdout] | ||_______________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1696 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | ________________________________________- [INFO] [stdout] 1697 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1698 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1699 | || ))), [INFO] [stdout] | ||_____________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1698 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1697 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1702 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1703 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1704 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1705 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] 1706 | | } [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1702 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1703 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1704 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1705 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 1706 | | } [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1704 | | RefDoc(&Doc::Nil), [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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.4/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1703 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [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" "48d5894d84a75f2d8481bf355e74dbd955d519e49c6042077ce4c181fa3fb109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d5894d84a75f2d8481bf355e74dbd955d519e49c6042077ce4c181fa3fb109", kill_on_drop: false }` [INFO] [stdout] 48d5894d84a75f2d8481bf355e74dbd955d519e49c6042077ce4c181fa3fb109