[INFO] cloning repository https://github.com/jirijakes/bitsplain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jirijakes/bitsplain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjirijakes%2Fbitsplain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjirijakes%2Fbitsplain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b64d9e4109cb137f62b61584d8aabd8ac2b2f2e5 [INFO] checking jirijakes/bitsplain against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjirijakes%2Fbitsplain" "/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/jirijakes/bitsplain 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/jirijakes/bitsplain [INFO] finished tweaking git repo https://github.com/jirijakes/bitsplain [INFO] tweaked toml for git repo https://github.com/jirijakes/bitsplain written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jirijakes/bitsplain 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] 5a742e9ac415217382c2d54e2386c1a7fb2752c3d90e8447ade97c8133b68bdd [INFO] running `Command { std: "docker" "start" "-a" "5a742e9ac415217382c2d54e2386c1a7fb2752c3d90e8447ade97c8133b68bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a742e9ac415217382c2d54e2386c1a7fb2752c3d90e8447ade97c8133b68bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a742e9ac415217382c2d54e2386c1a7fb2752c3d90e8447ade97c8133b68bdd", kill_on_drop: false }` [INFO] [stdout] 5a742e9ac415217382c2d54e2386c1a7fb2752c3d90e8447ade97c8133b68bdd [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] e4c667f76dd55045268b78755afe2721c79762bae84aa700b9b8cdfbd50adad9 [INFO] running `Command { std: "docker" "start" "-a" "e4c667f76dd55045268b78755afe2721c79762bae84aa700b9b8cdfbd50adad9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking termion v4.0.2 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking xml-builder v0.5.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling gdk4-sys v0.7.2 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gsk4-sys v0.7.3 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking lightning v0.0.123-beta (https://github.com/lightningdevkit/rust-lightning#bd16a1e4) [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling gtk4-sys v0.7.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking colors-transform v0.2.11 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Compiling gtk4-macros v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking wkhtmlapp v1.0.2 (https://github.com/jirijakes/wkhtmlapp?branch=capture-stdout#c481c85c) [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling relm4-macros v0.7.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking bitsplain_format v0.1.0-alpha.2 (/opt/rustwide/workdir/crates/bitsplain-format) [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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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" "e4c667f76dd55045268b78755afe2721c79762bae84aa700b9b8cdfbd50adad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c667f76dd55045268b78755afe2721c79762bae84aa700b9b8cdfbd50adad9", kill_on_drop: false }` [INFO] [stdout] e4c667f76dd55045268b78755afe2721c79762bae84aa700b9b8cdfbd50adad9