[INFO] cloning repository https://github.com/dmeijboom/pkg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmeijboom/pkg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeijboom%2Fpkg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeijboom%2Fpkg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebc8c453e7fbf61a76da0603b00789f2101e4bb0 [INFO] checking dmeijboom/pkg against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmeijboom%2Fpkg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmeijboom/pkg 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/dmeijboom/pkg [INFO] finished tweaking git repo https://github.com/dmeijboom/pkg [INFO] tweaked toml for git repo https://github.com/dmeijboom/pkg written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dmeijboom/pkg 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bffd876ec7df772d47eace84a05dae7c5f7619ab5b6715edc81d68cca683c920 [INFO] running `Command { std: "docker" "start" "-a" "bffd876ec7df772d47eace84a05dae7c5f7619ab5b6715edc81d68cca683c920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bffd876ec7df772d47eace84a05dae7c5f7619ab5b6715edc81d68cca683c920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffd876ec7df772d47eace84a05dae7c5f7619ab5b6715edc81d68cca683c920", kill_on_drop: false }` [INFO] [stdout] bffd876ec7df772d47eace84a05dae7c5f7619ab5b6715edc81d68cca683c920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b48458bfaa548302e76459d084fabfef31cc2942fc3250f8692c0c83b3dcac3b [INFO] running `Command { std: "docker" "start" "-a" "b48458bfaa548302e76459d084fabfef31cc2942fc3250f8692c0c83b3dcac3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [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.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] | | ---------- temporary value created here [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [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.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] | | ------------ temporary value created here [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b48458bfaa548302e76459d084fabfef31cc2942fc3250f8692c0c83b3dcac3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48458bfaa548302e76459d084fabfef31cc2942fc3250f8692c0c83b3dcac3b", kill_on_drop: false }` [INFO] [stdout] b48458bfaa548302e76459d084fabfef31cc2942fc3250f8692c0c83b3dcac3b