[INFO] cloning repository https://github.com/pramitgaha21/icrc-nft-types [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pramitgaha21/icrc-nft-types" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramitgaha21%2Ficrc-nft-types", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramitgaha21%2Ficrc-nft-types'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e3e35d83b42f5a43736554c5c7636e61243f17f [INFO] checking pramitgaha21/icrc-nft-types against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramitgaha21%2Ficrc-nft-types" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pramitgaha21/icrc-nft-types 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/pramitgaha21/icrc-nft-types [INFO] finished tweaking git repo https://github.com/pramitgaha21/icrc-nft-types [INFO] tweaked toml for git repo https://github.com/pramitgaha21/icrc-nft-types written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pramitgaha21/icrc-nft-types 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 icrc-ledger-types v0.1.4 [INFO] [stderr] Downloaded ic-stable-structures v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 47b3674ee6c8f30c0f2bd7c9bee629dc0d33ac732662526a99d856c2f03eb1a9 [INFO] running `Command { std: "docker" "start" "-a" "47b3674ee6c8f30c0f2bd7c9bee629dc0d33ac732662526a99d856c2f03eb1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47b3674ee6c8f30c0f2bd7c9bee629dc0d33ac732662526a99d856c2f03eb1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b3674ee6c8f30c0f2bd7c9bee629dc0d33ac732662526a99d856c2f03eb1a9", kill_on_drop: false }` [INFO] [stdout] 47b3674ee6c8f30c0f2bd7c9bee629dc0d33ac732662526a99d856c2f03eb1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0df4e38ea37b30eca5bee2ed3758b4a3ef1672851358be180af66d718befbc49 [INFO] running `Command { std: "docker" "start" "-a" "0df4e38ea37b30eca5bee2ed3758b4a3ef1672851358be180af66d718befbc49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking ic-stable-structures v0.6.3 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Checking icrc-ledger-types v0.1.4 [INFO] [stderr] Checking icrc-nft-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.73s [INFO] running `Command { std: "docker" "inspect" "0df4e38ea37b30eca5bee2ed3758b4a3ef1672851358be180af66d718befbc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df4e38ea37b30eca5bee2ed3758b4a3ef1672851358be180af66d718befbc49", kill_on_drop: false }` [INFO] [stdout] 0df4e38ea37b30eca5bee2ed3758b4a3ef1672851358be180af66d718befbc49 [INFO] checking pramitgaha21/icrc-nft-types against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramitgaha21%2Ficrc-nft-types" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pramitgaha21/icrc-nft-types 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/pramitgaha21/icrc-nft-types [INFO] finished tweaking git repo https://github.com/pramitgaha21/icrc-nft-types [INFO] tweaked toml for git repo https://github.com/pramitgaha21/icrc-nft-types written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pramitgaha21/icrc-nft-types 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0def6edd0072439738333bfa0190ac8897455ce05f6a4ff6301e1f30e4b4d104 [INFO] running `Command { std: "docker" "start" "-a" "0def6edd0072439738333bfa0190ac8897455ce05f6a4ff6301e1f30e4b4d104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0def6edd0072439738333bfa0190ac8897455ce05f6a4ff6301e1f30e4b4d104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0def6edd0072439738333bfa0190ac8897455ce05f6a4ff6301e1f30e4b4d104", kill_on_drop: false }` [INFO] [stdout] 0def6edd0072439738333bfa0190ac8897455ce05f6a4ff6301e1f30e4b4d104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6d23856791a921df652c54c9863ad8b78382497add8c82ccaf046c3f18b84f9e [INFO] running `Command { std: "docker" "start" "-a" "6d23856791a921df652c54c9863ad8b78382497add8c82ccaf046c3f18b84f9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking lalrpop-util v0.20.0 [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.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] 1683 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1686 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1690 | | &Doc::FlatAlt(RefDoc(&Doc::Hardline), RefDoc(&Doc::Nil)) [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1696 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________- [INFO] [stdout] 1697 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1698 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1699 | || ))), [INFO] [stdout] | ||_______________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1696 | | ))) => &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | ________________________________________- [INFO] [stdout] 1697 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1698 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1699 | || ))), [INFO] [stdout] | ||_____________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1698 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1697 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1702 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1703 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1704 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1705 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] 1706 | | } [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1702 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1703 | || RefDoc(&Doc::Hardline), [INFO] [stdout] 1704 | || RefDoc(&Doc::Nil), [INFO] [stdout] 1705 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 1706 | | } [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1704 | | RefDoc(&Doc::Nil), [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.12.3/src/lib.rs:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | / RefDoc(match doc { [INFO] [stdout] 1680 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1681 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1682 | | Doc::Hardline => &Doc::Hardline, [INFO] [stdout] ... | [INFO] [stdout] 1703 | | RefDoc(&Doc::Hardline), [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1707 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1708 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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" "6d23856791a921df652c54c9863ad8b78382497add8c82ccaf046c3f18b84f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d23856791a921df652c54c9863ad8b78382497add8c82ccaf046c3f18b84f9e", kill_on_drop: false }` [INFO] [stdout] 6d23856791a921df652c54c9863ad8b78382497add8c82ccaf046c3f18b84f9e