[INFO] cloning repository https://github.com/octopus-network/ethereum-lightclient-tester [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/octopus-network/ethereum-lightclient-tester" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fethereum-lightclient-tester", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fethereum-lightclient-tester'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c7d0737b993478b41b9cb3043d66b3626c21bc3 [INFO] checking octopus-network/ethereum-lightclient-tester against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fethereum-lightclient-tester" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/octopus-network/ethereum-lightclient-tester on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/octopus-network/ethereum-lightclient-tester [INFO] finished tweaking git repo https://github.com/octopus-network/ethereum-lightclient-tester [INFO] tweaked toml for git repo https://github.com/octopus-network/ethereum-lightclient-tester written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/octopus-network/ethereum-lightclient-tester already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80ca922d4722ec01ebc56c4f5437fcecf39af378d9037450fdafca0e1359fbf6 [INFO] running `Command { std: "docker" "start" "-a" "80ca922d4722ec01ebc56c4f5437fcecf39af378d9037450fdafca0e1359fbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80ca922d4722ec01ebc56c4f5437fcecf39af378d9037450fdafca0e1359fbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ca922d4722ec01ebc56c4f5437fcecf39af378d9037450fdafca0e1359fbf6", kill_on_drop: false }` [INFO] [stdout] 80ca922d4722ec01ebc56c4f5437fcecf39af378d9037450fdafca0e1359fbf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 914e47e7433e079c6b6cf2b15d6fc481460112fc06842adc78ee5951f8969063 [INFO] running `Command { std: "docker" "start" "-a" "914e47e7433e079c6b6cf2b15d6fc481460112fc06842adc78ee5951f8969063", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.21.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling parity-scale-codec v3.7.4 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking base64ct v1.7.1 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pretty-0.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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pretty` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "914e47e7433e079c6b6cf2b15d6fc481460112fc06842adc78ee5951f8969063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914e47e7433e079c6b6cf2b15d6fc481460112fc06842adc78ee5951f8969063", kill_on_drop: false }` [INFO] [stdout] 914e47e7433e079c6b6cf2b15d6fc481460112fc06842adc78ee5951f8969063