[INFO] cloning repository https://github.com/CoucouInc/rustycoucou [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CoucouInc/rustycoucou" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoucouInc%2Frustycoucou", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoucouInc%2Frustycoucou'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75516560fe66f5bc4821062383d64dae1f76fb36 [INFO] checking CoucouInc/rustycoucou against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoucouInc%2Frustycoucou" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CoucouInc/rustycoucou 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/CoucouInc/rustycoucou [INFO] finished tweaking git repo https://github.com/CoucouInc/rustycoucou [INFO] tweaked toml for git repo https://github.com/CoucouInc/rustycoucou written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CoucouInc/rustycoucou 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6139c9460b9a25fc9c502559331ec723325c683ac54582e13bf344435aca1f1 [INFO] running `Command { std: "docker" "start" "-a" "a6139c9460b9a25fc9c502559331ec723325c683ac54582e13bf344435aca1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6139c9460b9a25fc9c502559331ec723325c683ac54582e13bf344435aca1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6139c9460b9a25fc9c502559331ec723325c683ac54582e13bf344435aca1f1", kill_on_drop: false }` [INFO] [stdout] a6139c9460b9a25fc9c502559331ec723325c683ac54582e13bf344435aca1f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e440c37ed242f0b85974e560e6c398cdcd0538888d8a40afa3fb1f507ccdba2a [INFO] running `Command { std: "docker" "start" "-a" "e440c37ed242f0b85974e560e6c398cdcd0538888d8a40afa3fb1f507ccdba2a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.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" "e440c37ed242f0b85974e560e6c398cdcd0538888d8a40afa3fb1f507ccdba2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e440c37ed242f0b85974e560e6c398cdcd0538888d8a40afa3fb1f507ccdba2a", kill_on_drop: false }` [INFO] [stdout] e440c37ed242f0b85974e560e6c398cdcd0538888d8a40afa3fb1f507ccdba2a