[INFO] cloning repository https://github.com/bioerrorlog/df-minter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bioerrorlog/df-minter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Fdf-minter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Fdf-minter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7915b9cc5aa876994e6fca359b5441970489245 [INFO] checking bioerrorlog/df-minter against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Fdf-minter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bioerrorlog/df-minter 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] started tweaking git repo https://github.com/bioerrorlog/df-minter [INFO] finished tweaking git repo https://github.com/bioerrorlog/df-minter [INFO] tweaked toml for git repo https://github.com/bioerrorlog/df-minter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bioerrorlog/df-minter 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2e1234c715ef8b30bc0b2474e0684306c1951f5221bf5366e77864433b0e9ef [INFO] running `Command { std: "docker" "start" "-a" "f2e1234c715ef8b30bc0b2474e0684306c1951f5221bf5366e77864433b0e9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e1234c715ef8b30bc0b2474e0684306c1951f5221bf5366e77864433b0e9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e1234c715ef8b30bc0b2474e0684306c1951f5221bf5366e77864433b0e9ef", kill_on_drop: false }` [INFO] [stdout] f2e1234c715ef8b30bc0b2474e0684306c1951f5221bf5366e77864433b0e9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b9113307b21664e6cbae4bbf9b2b38d7be2dc28864900bbf152d61ff3838e89 [INFO] running `Command { std: "docker" "start" "-a" "6b9113307b21664e6cbae4bbf9b2b38d7be2dc28864900bbf152d61ff3838e89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking base64ct v1.5.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Checking crypto-bigint v0.4.2 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling petgraph v0.6.1 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rfc6979 v0.2.0 [INFO] [stderr] Checking elliptic-curve v0.12.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking ecdsa v0.14.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] 1321 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ----------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1334 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1333 | | RefDoc(&Doc::Line), [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | ------------------------------------------------------------------------ temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [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" "6b9113307b21664e6cbae4bbf9b2b38d7be2dc28864900bbf152d61ff3838e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9113307b21664e6cbae4bbf9b2b38d7be2dc28864900bbf152d61ff3838e89", kill_on_drop: false }` [INFO] [stdout] 6b9113307b21664e6cbae4bbf9b2b38d7be2dc28864900bbf152d61ff3838e89