[INFO] fetching crate async-session-types 0.1.2... [INFO] checking async-session-types-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate async-session-types 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate async-session-types 0.1.2 [INFO] finished tweaking crates.io crate async-session-types 0.1.2 [INFO] tweaked toml for crates.io crate async-session-types 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-session-types 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5b0185481a3e8b82ea3bab03117ae73b6d08b84c87e96977235472dec2d13c7 [INFO] running `Command { std: "docker" "start" "-a" "b5b0185481a3e8b82ea3bab03117ae73b6d08b84c87e96977235472dec2d13c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5b0185481a3e8b82ea3bab03117ae73b6d08b84c87e96977235472dec2d13c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b0185481a3e8b82ea3bab03117ae73b6d08b84c87e96977235472dec2d13c7", kill_on_drop: false }` [INFO] [stdout] b5b0185481a3e8b82ea3bab03117ae73b6d08b84c87e96977235472dec2d13c7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c119284f5a402cc987ffa0ebc1454b05978e5bd67cb9bb7ab3da89b28a1722ff [INFO] running `Command { std: "docker" "start" "-a" "c119284f5a402cc987ffa0ebc1454b05978e5bd67cb9bb7ab3da89b28a1722ff", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking async-session-types v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `srv` does not live long enough [INFO] [stdout] --> src/test.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 44 | let srv = async move |c: Chan| { [INFO] [stdout] | --- binding `srv` declared here [INFO] [stdout] ... [INFO] [stdout] 57 | let srv_t = tokio::spawn(srv(server_chan)); [INFO] [stdout] | -------------^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `srv` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] | - `srv` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `cli` does not live long enough [INFO] [stdout] --> src/test.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 49 | let cli = async move |c: Chan| { [INFO] [stdout] | --- binding `cli` declared here [INFO] [stdout] ... [INFO] [stdout] 58 | let cli_t = tokio::spawn(cli(client_chan)); [INFO] [stdout] | -------------^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `cli` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] | - `cli` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `srv` does not live long enough [INFO] [stdout] --> src/test.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 71 | let srv = async move |c: Chan| { [INFO] [stdout] | --- binding `srv` declared here [INFO] [stdout] ... [INFO] [stdout] 85 | let srv_t = tokio::spawn(srv(server_chan)); [INFO] [stdout] | -------------^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `srv` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] | - `srv` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `cli` does not live long enough [INFO] [stdout] --> src/test.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 76 | let cli = async move |c: Chan| { [INFO] [stdout] | --- binding `cli` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | let cli_t = tokio::spawn(cli(wrong_client_chan)); [INFO] [stdout] | -------------^^^-------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `cli` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] | - `cli` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-session-types` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c119284f5a402cc987ffa0ebc1454b05978e5bd67cb9bb7ab3da89b28a1722ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c119284f5a402cc987ffa0ebc1454b05978e5bd67cb9bb7ab3da89b28a1722ff", kill_on_drop: false }` [INFO] [stdout] c119284f5a402cc987ffa0ebc1454b05978e5bd67cb9bb7ab3da89b28a1722ff