[INFO] fetching crate senpy-cli 0.1.1... [INFO] checking senpy-cli-0.1.1 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate senpy-cli 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate senpy-cli 0.1.1 on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate senpy-cli 0.1.1 [INFO] finished tweaking crates.io crate senpy-cli 0.1.1 [INFO] tweaked toml for crates.io crate senpy-cli 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate senpy-cli 0.1.1 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_consume v1.1.1 [INFO] [stderr] Downloaded dhall_proc_macros v0.6.0 [INFO] [stderr] Downloaded pest_consume_macros v1.1.0 [INFO] [stderr] Downloaded serde_dhall v0.11.0 [INFO] [stderr] Downloaded elsa v1.7.0 [INFO] [stderr] Downloaded dhall v0.11.0 [INFO] [stderr] Downloaded abnf_to_pest v0.5.0 [INFO] [stderr] Downloaded annotate-snippets v0.9.1 [INFO] [stderr] Downloaded senpy v0.1.2 [INFO] [stderr] Downloaded abnf v0.6.1 [INFO] [stderr] Downloaded mio v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21b7b413b8023593cd133cfea8707ce85a6278d34aa45731722bed32b9eb19bf [INFO] running `Command { std: "docker" "start" "-a" "21b7b413b8023593cd133cfea8707ce85a6278d34aa45731722bed32b9eb19bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b7b413b8023593cd133cfea8707ce85a6278d34aa45731722bed32b9eb19bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b7b413b8023593cd133cfea8707ce85a6278d34aa45731722bed32b9eb19bf", kill_on_drop: false }` [INFO] [stdout] 21b7b413b8023593cd133cfea8707ce85a6278d34aa45731722bed32b9eb19bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa9a312afdf5144dd1e55133d82262d4177969c399ba544615ec31c412370638 [INFO] running `Command { std: "docker" "start" "-a" "fa9a312afdf5144dd1e55133d82262d4177969c399ba544615ec31c412370638", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking mio v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking elsa v1.7.0 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling senpy v0.1.2 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling senpy-cli v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking const_format v0.2.22 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling abnf v0.6.1 [INFO] [stderr] Compiling abnf_to_pest v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling dhall_proc_macros v0.6.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling dhall v0.11.0 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking pest_consume v1.1.1 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking serde_dhall v0.11.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fa9a312afdf5144dd1e55133d82262d4177969c399ba544615ec31c412370638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa9a312afdf5144dd1e55133d82262d4177969c399ba544615ec31c412370638", kill_on_drop: false }` [INFO] [stdout] fa9a312afdf5144dd1e55133d82262d4177969c399ba544615ec31c412370638 [INFO] checking senpy-cli-0.1.1 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate senpy-cli 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate senpy-cli 0.1.1 on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate senpy-cli 0.1.1 [INFO] finished tweaking crates.io crate senpy-cli 0.1.1 [INFO] tweaked toml for crates.io crate senpy-cli 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate senpy-cli 0.1.1 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b73f52966fb71983000fc227611e1adcb222131b57e6f9bc06838cbbc73810fd [INFO] running `Command { std: "docker" "start" "-a" "b73f52966fb71983000fc227611e1adcb222131b57e6f9bc06838cbbc73810fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b73f52966fb71983000fc227611e1adcb222131b57e6f9bc06838cbbc73810fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73f52966fb71983000fc227611e1adcb222131b57e6f9bc06838cbbc73810fd", kill_on_drop: false }` [INFO] [stdout] b73f52966fb71983000fc227611e1adcb222131b57e6f9bc06838cbbc73810fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 458d27f241f007dad666b4a7dda51b31158ec2788f8ed61866d8941d10fef12b [INFO] running `Command { std: "docker" "start" "-a" "458d27f241f007dad666b4a7dda51b31158ec2788f8ed61866d8941d10fef12b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking mio v0.8.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [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-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] | | ---------- temporary value created here [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [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-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] | | ------------ temporary value created here [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "458d27f241f007dad666b4a7dda51b31158ec2788f8ed61866d8941d10fef12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458d27f241f007dad666b4a7dda51b31158ec2788f8ed61866d8941d10fef12b", kill_on_drop: false }` [INFO] [stdout] 458d27f241f007dad666b4a7dda51b31158ec2788f8ed61866d8941d10fef12b