[INFO] cloning repository https://github.com/zeenix/zlink-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeenix/zlink-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeenix%2Fzlink-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeenix%2Fzlink-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2b8b7ba07caedc451a32f279a296997999c6f63 [INFO] testing zeenix/zlink-experiments against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeenix%2Fzlink-experiments" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zeenix/zlink-experiments [INFO] finished tweaking git repo https://github.com/zeenix/zlink-experiments [INFO] tweaked toml for git repo https://github.com/zeenix/zlink-experiments written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zeenix/zlink-experiments on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zeenix/zlink-experiments 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c015c39ed2b495161b9871e248bd75c7df9f9d45ca10ff67eb055fed366c3ce1 [INFO] running `Command { std: "docker" "start" "-a" "c015c39ed2b495161b9871e248bd75c7df9f9d45ca10ff67eb055fed366c3ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c015c39ed2b495161b9871e248bd75c7df9f9d45ca10ff67eb055fed366c3ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c015c39ed2b495161b9871e248bd75c7df9f9d45ca10ff67eb055fed366c3ce1", kill_on_drop: false }` [INFO] [stdout] c015c39ed2b495161b9871e248bd75c7df9f9d45ca10ff67eb055fed366c3ce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2077040a1f8b6be55af48266e28920f97f7f8280da15fecf02fb709cd60f1c0 [INFO] running `Command { std: "docker" "start" "-a" "a2077040a1f8b6be55af48266e28920f97f7f8280da15fecf02fb709cd60f1c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zlink-experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `read_conn` in this scope [INFO] [stdout] --> src/main.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let id = read_conn.id; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_conn` in this scope [INFO] [stdout] --> src/main.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let json = read_conn.read_json_from_socket().await?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pin_mut` and `select_all` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | Stream, StreamExt, pin_mut, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | stream::{Repeat, SelectAll, Take, repeat, select_all, unfold}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `reader` because it is borrowed [INFO] [stdout] --> src/main.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 31 | select_all.push(unfold(&mut reader, |reader| { [INFO] [stdout] | ------ binding `reader` declared here [INFO] [stdout] 32 | Box::pin(async { [INFO] [stdout] | - return type of async block is std::option::Option<((Call<::MethodCall<'1>>, usize), &mut Connection<<::Socket as Socket>::ReadHalf>)> [INFO] [stdout] 33 | let id = reader.id; [INFO] [stdout] 34 | let json = reader.read_json_from_socket().await.unwrap(); [INFO] [stdout] | ------ borrow of `*reader` occurs here [INFO] [stdout] 35 | let call: Call> = serde_json::from_str(json).unwrap(); [INFO] [stdout] 36 | Some(((call, id), reader)) [INFO] [stdout] | ------------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | move out of `reader` occurs here [INFO] [stdout] | returning this value requires that `*reader` is borrowed for `'1` [INFO] [stdout] | [INFO] [stdout] note: requirement that the value outlives `'1` introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `reader` does not live long enough [INFO] [stdout] --> src/main.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut reader, writer) = self.listener.accept_next().await; [INFO] [stdout] | ---------- binding `reader` declared here [INFO] [stdout] ... [INFO] [stdout] 31 | select_all.push(unfold(&mut reader, |reader| { [INFO] [stdout] | ^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `reader` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `select_all` is dropped and runs the destructor for type `futures_util::stream::SelectAll::Socket as Socket>::ReadHalf>, {closure@src/main.rs:31:45: 31:53}, Pin>>>` [INFO] [stdout] | [INFO] [stdout] = note: values in a scope are dropped in the opposite order they are defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zlink-experiments` (bin "zlink-experiments") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2077040a1f8b6be55af48266e28920f97f7f8280da15fecf02fb709cd60f1c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2077040a1f8b6be55af48266e28920f97f7f8280da15fecf02fb709cd60f1c0", kill_on_drop: false }` [INFO] [stdout] a2077040a1f8b6be55af48266e28920f97f7f8280da15fecf02fb709cd60f1c0