[INFO] fetching crate multiplexed-connection 0.4.0... [INFO] checking multiplexed-connection-0.4.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate multiplexed-connection 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate multiplexed-connection 0.4.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate multiplexed-connection 0.4.0 [INFO] finished tweaking crates.io crate multiplexed-connection 0.4.0 [INFO] tweaked toml for crates.io crate multiplexed-connection 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate multiplexed-connection 0.4.0 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbfe8d85b8452e6292c462b93a7e5b93f7943ef09248bd811b17ca783fcbc52b [INFO] running `Command { std: "docker" "start" "-a" "bbfe8d85b8452e6292c462b93a7e5b93f7943ef09248bd811b17ca783fcbc52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbfe8d85b8452e6292c462b93a7e5b93f7943ef09248bd811b17ca783fcbc52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfe8d85b8452e6292c462b93a7e5b93f7943ef09248bd811b17ca783fcbc52b", kill_on_drop: false }` [INFO] [stdout] bbfe8d85b8452e6292c462b93a7e5b93f7943ef09248bd811b17ca783fcbc52b [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19f792bac3fae74c96c84e8d0ea4ea111ce598a78a519b9fb49f9acc60df725 [INFO] running `Command { std: "docker" "start" "-a" "c19f792bac3fae74c96c84e8d0ea4ea111ce598a78a519b9fb49f9acc60df725", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.54 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Checking cs-trace v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking cs-utils v0.14.0 [INFO] [stderr] Checking connection-utils v0.2.0 [INFO] [stderr] Checking jsonrpc-pubsub v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking jsonrpc-client-transports v18.0.0 [INFO] [stderr] Compiling jsonrpc-derive v18.0.0 [INFO] [stderr] Checking jsonrpc-core-client v18.0.0 [INFO] [stderr] Checking multiplexed-connection v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 22 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ^^^^ ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 21 | return self.poll_async_write_future(cx); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiplexed-connection` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 22 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ^^^^ ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/multiplexed_connection/rpc/rpc_channel/async_write.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | mut self: Pin<&mut Self>, [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 17 | let fut = self.rpc_client.as_ref().send_channel_data(self.id(), buf.to_vec()); [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 18 | self.write_async_future = Some(Box::pin(fut)); [INFO] [stdout] | ------------- cast requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 21 | return self.poll_async_write_future(cx); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiplexed-connection` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c19f792bac3fae74c96c84e8d0ea4ea111ce598a78a519b9fb49f9acc60df725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19f792bac3fae74c96c84e8d0ea4ea111ce598a78a519b9fb49f9acc60df725", kill_on_drop: false }` [INFO] [stdout] c19f792bac3fae74c96c84e8d0ea4ea111ce598a78a519b9fb49f9acc60df725