[INFO] cloning repository https://github.com/tweag/tf-ncl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tweag/tf-ncl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweag%2Ftf-ncl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweag%2Ftf-ncl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33785da1eae9d0356fb8ddc8c47dbeeb8c31aec4 [INFO] checking tweag/tf-ncl against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweag%2Ftf-ncl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tweag/tf-ncl 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/tweag/tf-ncl [INFO] finished tweaking git repo https://github.com/tweag/tf-ncl [INFO] tweaked toml for git repo https://github.com/tweag/tf-ncl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tweag/tf-ncl 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] aa412b236062a28ca7226ce07082c51f2524034c6c66e68f88a6e25d26845b4f [INFO] running `Command { std: "docker" "start" "-a" "aa412b236062a28ca7226ce07082c51f2524034c6c66e68f88a6e25d26845b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa412b236062a28ca7226ce07082c51f2524034c6c66e68f88a6e25d26845b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa412b236062a28ca7226ce07082c51f2524034c6c66e68f88a6e25d26845b4f", kill_on_drop: false }` [INFO] [stdout] aa412b236062a28ca7226ce07082c51f2524034c6c66e68f88a6e25d26845b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 86fa9cd05c0b4fd24b276970dab39bb74857410e5a418211e5cb45ef351a4c40 [INFO] running `Command { std: "docker" "start" "-a" "86fa9cd05c0b4fd24b276970dab39bb74857410e5a418211e5cb45ef351a4c40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking malachite-base v0.4.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Compiling tree-sitter-nickel v0.3.0 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking bitmaps v3.2.1 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking winnow v0.6.22 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking prettydiff v0.6.4 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking coolor v0.5.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking topiary-tree-sitter-facade v0.5.1 [INFO] [stderr] Checking imbl-sized-chunks v0.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking minimad v0.12.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking pretty v0.11.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking simple-counter v0.1.0 [INFO] [stderr] Checking topiary-queries v0.5.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.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" "86fa9cd05c0b4fd24b276970dab39bb74857410e5a418211e5cb45ef351a4c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fa9cd05c0b4fd24b276970dab39bb74857410e5a418211e5cb45ef351a4c40", kill_on_drop: false }` [INFO] [stdout] 86fa9cd05c0b4fd24b276970dab39bb74857410e5a418211e5cb45ef351a4c40