[INFO] cloning repository https://github.com/F3kilo/custom-token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/F3kilo/custom-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fcustom-token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fcustom-token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f4221607e4047b878a9cc2afaf6724e4c9be7f1 [INFO] checking F3kilo/custom-token against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fcustom-token" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/F3kilo/custom-token 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] started tweaking git repo https://github.com/F3kilo/custom-token [INFO] finished tweaking git repo https://github.com/F3kilo/custom-token [INFO] tweaked toml for git repo https://github.com/F3kilo/custom-token written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/F3kilo/custom-token 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] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded pretty v0.12.1 [INFO] [stderr] Downloaded ic-cdk v0.11.3 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.1 [INFO] [stderr] Downloaded winnow v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b824fd5320d839a5311d66f6bbae72c7b8661e64309532a2aa5da9d128edf234 [INFO] running `Command { std: "docker" "start" "-a" "b824fd5320d839a5311d66f6bbae72c7b8661e64309532a2aa5da9d128edf234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b824fd5320d839a5311d66f6bbae72c7b8661e64309532a2aa5da9d128edf234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b824fd5320d839a5311d66f6bbae72c7b8661e64309532a2aa5da9d128edf234", kill_on_drop: false }` [INFO] [stdout] b824fd5320d839a5311d66f6bbae72c7b8661e64309532a2aa5da9d128edf234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b190a022eac23efaf5087890d6cdb4e4e66f0335da634823901c093da06c6d18 [INFO] running `Command { std: "docker" "start" "-a" "b190a022eac23efaf5087890d6cdb4e4e66f0335da634823901c093da06c6d18", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling ic-cdk-macros v0.8.1 [INFO] [stderr] Checking ic-cdk v0.11.3 [INFO] [stderr] Checking custom-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.93s [INFO] running `Command { std: "docker" "inspect" "b190a022eac23efaf5087890d6cdb4e4e66f0335da634823901c093da06c6d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b190a022eac23efaf5087890d6cdb4e4e66f0335da634823901c093da06c6d18", kill_on_drop: false }` [INFO] [stdout] b190a022eac23efaf5087890d6cdb4e4e66f0335da634823901c093da06c6d18 [INFO] checking F3kilo/custom-token against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fcustom-token" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/F3kilo/custom-token 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] started tweaking git repo https://github.com/F3kilo/custom-token [INFO] finished tweaking git repo https://github.com/F3kilo/custom-token [INFO] tweaked toml for git repo https://github.com/F3kilo/custom-token written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/F3kilo/custom-token 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 10ac971287d020b7225ce032cd53c283fadcece54a263bf6ca6b427164ea407e [INFO] running `Command { std: "docker" "start" "-a" "10ac971287d020b7225ce032cd53c283fadcece54a263bf6ca6b427164ea407e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ac971287d020b7225ce032cd53c283fadcece54a263bf6ca6b427164ea407e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ac971287d020b7225ce032cd53c283fadcece54a263bf6ca6b427164ea407e", kill_on_drop: false }` [INFO] [stdout] 10ac971287d020b7225ce032cd53c283fadcece54a263bf6ca6b427164ea407e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2558c40cde5b7e7647d2e6066b7ac29fd7b052cd10034302e5aeb6cd5fa92217 [INFO] running `Command { std: "docker" "start" "-a" "2558c40cde5b7e7647d2e6066b7ac29fd7b052cd10034302e5aeb6cd5fa92217", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling winnow v0.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] 1667 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1670 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1674 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1680 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________- [INFO] [stdout] 1681 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1682 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1683 | || ))), [INFO] [stdout] | ||_______________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1680 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | ________________________________________- [INFO] [stdout] 1681 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1682 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1683 | || ))), [INFO] [stdout] | ||_____________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1682 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1681 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1687 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1688 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1689 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] 1690 | | } [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1687 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1688 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1689 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 1690 | | } [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1688 | | RefDoc(&Doc::Nil), [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [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.12.1/src/lib.rs:1663:9 [INFO] [stdout] | [INFO] [stdout] 1663 | / RefDoc(match doc { [INFO] [stdout] 1664 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1665 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1666 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1687 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1691 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1692 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 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 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2558c40cde5b7e7647d2e6066b7ac29fd7b052cd10034302e5aeb6cd5fa92217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2558c40cde5b7e7647d2e6066b7ac29fd7b052cd10034302e5aeb6cd5fa92217", kill_on_drop: false }` [INFO] [stdout] 2558c40cde5b7e7647d2e6066b7ac29fd7b052cd10034302e5aeb6cd5fa92217