[INFO] cloning repository https://github.com/mgpai22/aureum-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgpai22/aureum-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Faureum-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Faureum-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a9bb282904b05dc2ceef3db03624f558a5d0b40 [INFO] checking mgpai22/aureum-rust against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Faureum-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgpai22/aureum-rust 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] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mgpai22/aureum-rust [INFO] finished tweaking git repo https://github.com/mgpai22/aureum-rust [INFO] tweaked toml for git repo https://github.com/mgpai22/aureum-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mgpai22/aureum-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e345771dbb08fe568fb7aeeb8c7e6415443406a39a4748ee0961e5bddded8280 [INFO] running `Command { std: "docker" "start" "-a" "e345771dbb08fe568fb7aeeb8c7e6415443406a39a4748ee0961e5bddded8280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e345771dbb08fe568fb7aeeb8c7e6415443406a39a4748ee0961e5bddded8280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e345771dbb08fe568fb7aeeb8c7e6415443406a39a4748ee0961e5bddded8280", kill_on_drop: false }` [INFO] [stdout] e345771dbb08fe568fb7aeeb8c7e6415443406a39a4748ee0961e5bddded8280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1704ddc5f315351f06294596b2a3be685a4d517f7ec2ba4d63439cd34a98c015 [INFO] running `Command { std: "docker" "start" "-a" "1704ddc5f315351f06294596b2a3be685a4d517f7ec2ba4d63439cd34a98c015", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking cbor_event v2.4.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking fraction v0.10.0 [INFO] [stderr] Checking ed25519-bip32 v0.4.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling minicbor v0.25.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Compiling minicbor-derive v0.15.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking secp256k1 v0.26.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking pretty v0.11.3 [INFO] [stderr] Checking memory_units v0.4.0 [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" "1704ddc5f315351f06294596b2a3be685a4d517f7ec2ba4d63439cd34a98c015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1704ddc5f315351f06294596b2a3be685a4d517f7ec2ba4d63439cd34a98c015", kill_on_drop: false }` [INFO] [stdout] 1704ddc5f315351f06294596b2a3be685a4d517f7ec2ba4d63439cd34a98c015