[INFO] cloning repository https://github.com/tipo159/contribution_weighted_voting_cdk_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tipo159/contribution_weighted_voting_cdk_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipo159%2Fcontribution_weighted_voting_cdk_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipo159%2Fcontribution_weighted_voting_cdk_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb9d632146a3509260b3f20aeaa5301132d9222b [INFO] checking tipo159/contribution_weighted_voting_cdk_rs against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipo159%2Fcontribution_weighted_voting_cdk_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs 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/tipo159/contribution_weighted_voting_cdk_rs [INFO] finished tweaking git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs [INFO] tweaked toml for git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs 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 ic-cdk v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] caed75dfb987ee7c2b9aaf5b5643a7f597baf0a841d4567dd5d23f5a19afed03 [INFO] running `Command { std: "docker" "start" "-a" "caed75dfb987ee7c2b9aaf5b5643a7f597baf0a841d4567dd5d23f5a19afed03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caed75dfb987ee7c2b9aaf5b5643a7f597baf0a841d4567dd5d23f5a19afed03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caed75dfb987ee7c2b9aaf5b5643a7f597baf0a841d4567dd5d23f5a19afed03", kill_on_drop: false }` [INFO] [stdout] caed75dfb987ee7c2b9aaf5b5643a7f597baf0a841d4567dd5d23f5a19afed03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dee55bafd237c39c5d379907994ad619abe0f782ccf064d304e18bdb0da5f5e7 [INFO] running `Command { std: "docker" "start" "-a" "dee55bafd237c39c5d379907994ad619abe0f782ccf064d304e18bdb0da5f5e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling candid v0.9.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling candid_derive v0.6.2 [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] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.0 [INFO] [stderr] Checking contribution_weighted_voting_cdk_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.42s [INFO] running `Command { std: "docker" "inspect" "dee55bafd237c39c5d379907994ad619abe0f782ccf064d304e18bdb0da5f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee55bafd237c39c5d379907994ad619abe0f782ccf064d304e18bdb0da5f5e7", kill_on_drop: false }` [INFO] [stdout] dee55bafd237c39c5d379907994ad619abe0f782ccf064d304e18bdb0da5f5e7 [INFO] checking tipo159/contribution_weighted_voting_cdk_rs against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipo159%2Fcontribution_weighted_voting_cdk_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs 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/tipo159/contribution_weighted_voting_cdk_rs [INFO] finished tweaking git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs [INFO] tweaked toml for git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tipo159/contribution_weighted_voting_cdk_rs 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1c1258b252e2f2820034659e1be757b3cf83d62321cf706c979daf4f322e44c1 [INFO] running `Command { std: "docker" "start" "-a" "1c1258b252e2f2820034659e1be757b3cf83d62321cf706c979daf4f322e44c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c1258b252e2f2820034659e1be757b3cf83d62321cf706c979daf4f322e44c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c1258b252e2f2820034659e1be757b3cf83d62321cf706c979daf4f322e44c1", kill_on_drop: false }` [INFO] [stdout] 1c1258b252e2f2820034659e1be757b3cf83d62321cf706c979daf4f322e44c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c0591ad083242f6ac6358af442de14b94b766ed7d7e9f41edadec5d72c97dfb9 [INFO] running `Command { std: "docker" "start" "-a" "c0591ad083242f6ac6358af442de14b94b766ed7d7e9f41edadec5d72c97dfb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling either v1.9.0 [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.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [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] Compiling data-encoding v2.4.0 [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" "c0591ad083242f6ac6358af442de14b94b766ed7d7e9f41edadec5d72c97dfb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0591ad083242f6ac6358af442de14b94b766ed7d7e9f41edadec5d72c97dfb9", kill_on_drop: false }` [INFO] [stdout] c0591ad083242f6ac6358af442de14b94b766ed7d7e9f41edadec5d72c97dfb9