[INFO] fetching crate stakker_async_await 0.0.1... [INFO] checking stakker_async_await-0.0.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate stakker_async_await 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate stakker_async_await 0.0.1 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 stakker_async_await 0.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate stakker_async_await 0.0.1 [INFO] tweaked toml for crates.io crate stakker_async_await 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4533a7d03f0c0a1a4aed9f30a9cde619297a18082bcc17ddbd9c9b7a7d23860 [INFO] running `Command { std: "docker" "start" "-a" "b4533a7d03f0c0a1a4aed9f30a9cde619297a18082bcc17ddbd9c9b7a7d23860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4533a7d03f0c0a1a4aed9f30a9cde619297a18082bcc17ddbd9c9b7a7d23860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4533a7d03f0c0a1a4aed9f30a9cde619297a18082bcc17ddbd9c9b7a7d23860", kill_on_drop: false }` [INFO] [stdout] b4533a7d03f0c0a1a4aed9f30a9cde619297a18082bcc17ddbd9c9b7a7d23860 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ac2d760bcac92bc6317a51027f8ace0c1051d50fcf3564f9e2f0816b945abab [INFO] running `Command { std: "docker" "start" "-a" "3ac2d760bcac92bc6317a51027f8ace0c1051d50fcf3564f9e2f0816b945abab", kill_on_drop: false }` [INFO] [stderr] Checking qcell v0.5.4 [INFO] [stderr] Checking stakker v0.2.10 [INFO] [stderr] Checking stakker_async_await v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/futures_core.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/rust_std.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/futures_core.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/rust_std.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn test_future_push_result(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 29 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn test_stream_preload(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 38 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 38 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 43 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 34 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 43 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 34 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn test_future_push_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] 47 | let okay0 = okay.clone(); [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 51 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 61 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 61 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn test_stream_batches(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn test_future_push(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 87 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 76 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 85 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 87 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 85 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn test_stream_result_preload(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_future_push_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] 94 | let okay0 = okay.clone(); [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 98 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 113 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 113 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_future_pull_result(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 133 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_stream_result_batches(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn test_future_pull_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 170 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 152 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 170 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 162 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 162 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn test_stream_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn test_future_pull(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 176 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 199 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 199 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 203 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn test_future_pull_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 195 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 203 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stakker_async_await` (test "futures_core") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stakker_async_await` (test "rust_std") due to 41 previous errors [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn test_stream_preload(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 34 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 9 | let (strm, fwd) = fwd_to_stream(s, fwd_nop!(), 10); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | / spawn_stream( [INFO] [stdout] 19 | | s, [INFO] [stdout] 20 | | strm, [INFO] [stdout] 21 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 34 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn test_stream_batches(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 87 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 50 | s, [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | / spawn_stream( [INFO] [stdout] 72 | | s, [INFO] [stdout] 73 | | strm, [INFO] [stdout] 74 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 87 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn test_stream_result_preload(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 91 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 10); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | / spawn_stream( [INFO] [stdout] 102 | | s, [INFO] [stdout] 103 | | strm, [INFO] [stdout] 104 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_stream_result_batches(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 170 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 134 | s, [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 153 | / spawn_stream( [INFO] [stdout] 154 | | s, [INFO] [stdout] 155 | | strm, [INFO] [stdout] 156 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 170 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/futures_core.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn test_stream_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] | | ^ second mutable borrow occurs here [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 199 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 199 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/futures_core.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 203 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/futures_core.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 174 | let (strm, fwd) = fwd_to_stream_result(s, fwd_nop!(), 16); [INFO] [stdout] | - mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 182 | / spawn_stream( [INFO] [stdout] 183 | | s, [INFO] [stdout] 184 | | strm, [INFO] [stdout] 185 | | fwd_do!(move |v| { [INFO] [stdout] ... | [INFO] [stdout] 194 | | }), [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 203 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn test_future_push_result(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 29 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 38 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 38 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 43 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 26 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 43 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn test_future_push_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] 47 | let okay0 = okay.clone(); [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 51 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 61 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 61 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 48 | let (fut, ret) = ret_to_future_result::(s); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn test_future_push(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 76 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 85 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 85 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 73 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_future_push_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] 94 | let okay0 = okay.clone(); [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 98 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 113 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 113 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 95 | let (fut, ret) = ret_to_future::(s); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_future_pull_result(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 133 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 130 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn test_future_pull_result_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 152 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 162 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 149 | let fut = future_pull_result(s, ret); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 162 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn test_future_pull(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 176 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 173 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> tests/rust_std.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn test_future_pull_actorfail(s: &mut Stakker, okay: Rc>) { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `s` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `s` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 195 | s, [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*s` as mutable more than once at a time [INFO] [stdout] --> tests/rust_std.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | s.run(s.now(), false); [INFO] [stdout] | ^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/rust_std.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 192 | let fut = future_pull(s, ret); [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*s` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | s.run(s.now(), false); [INFO] [stdout] | ^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stakker_async_await` (test "tests") due to 63 previous errors [INFO] running `Command { std: "docker" "inspect" "3ac2d760bcac92bc6317a51027f8ace0c1051d50fcf3564f9e2f0816b945abab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac2d760bcac92bc6317a51027f8ace0c1051d50fcf3564f9e2f0816b945abab", kill_on_drop: false }` [INFO] [stdout] 3ac2d760bcac92bc6317a51027f8ace0c1051d50fcf3564f9e2f0816b945abab