[INFO] fetching crate future_form 0.3.1... [INFO] testing future_form-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate future_form 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate future_form 0.3.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate future_form 0.3.1 [INFO] tweaked toml for crates.io crate future_form 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate future_form 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate future_form 0.3.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f95215529293dd018947ed97bbe10b3bebdaa0c35ac7a9736f5b8ee0e59eed54 [INFO] running `Command { std: "docker" "start" "-a" "f95215529293dd018947ed97bbe10b3bebdaa0c35ac7a9736f5b8ee0e59eed54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f95215529293dd018947ed97bbe10b3bebdaa0c35ac7a9736f5b8ee0e59eed54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95215529293dd018947ed97bbe10b3bebdaa0c35ac7a9736f5b8ee0e59eed54", kill_on_drop: false }` [INFO] [stdout] f95215529293dd018947ed97bbe10b3bebdaa0c35ac7a9736f5b8ee0e59eed54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ff15ee4361d075b292b1bdd5250aa0c3db14eb0e3a0377194a45871c69c116f [INFO] running `Command { std: "docker" "start" "-a" "6ff15ee4361d075b292b1bdd5250aa0c3db14eb0e3a0377194a45871c69c116f", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling future_form_macros v0.3.1 [INFO] [stderr] Compiling future_form v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.30s [INFO] running `Command { std: "docker" "inspect" "6ff15ee4361d075b292b1bdd5250aa0c3db14eb0e3a0377194a45871c69c116f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff15ee4361d075b292b1bdd5250aa0c3db14eb0e3a0377194a45871c69c116f", kill_on_drop: false }` [INFO] [stdout] 6ff15ee4361d075b292b1bdd5250aa0c3db14eb0e3a0377194a45871c69c116f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 402477cf54c4b8dc839f57f21eb19314fd6e3d64c36b9fd58b4be50eca81c2b0 [INFO] running `Command { std: "docker" "start" "-a" "402477cf54c4b8dc839f57f21eb19314fd6e3d64c36b9fd58b4be50eca81c2b0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v1.0.3+spec-1.1.0 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stderr] Compiling future_form v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.80s [INFO] running `Command { std: "docker" "inspect" "402477cf54c4b8dc839f57f21eb19314fd6e3d64c36b9fd58b4be50eca81c2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "402477cf54c4b8dc839f57f21eb19314fd6e3d64c36b9fd58b4be50eca81c2b0", kill_on_drop: false }` [INFO] [stdout] 402477cf54c4b8dc839f57f21eb19314fd6e3d64c36b9fd58b4be50eca81c2b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3dfe9492c31433bf740f7afcdad331a3cba3f4f734d07f793840b82d43d36e6 [INFO] running `Command { std: "docker" "start" "-a" "a3dfe9492c31433bf740f7afcdad331a3cba3f4f734d07f793840b82d43d36e6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/future_form-81ed177ded926159) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-a078ea3cbaae4edc) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling future_form_macros v0.3.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking future_form v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking future_form-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/future_form) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/applied_to_fn.rs ... ok [INFO] [stderr] test tests/ui/applied_to_trait.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: #[future_form] can only be applied to impl blocks, not trait definitions; define your trait normally with a `K: FutureForm` parameter, then use #[future_form] on the impl blocks [INFO] [stderr] --> tests/ui/applied_to_trait.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[future_form(Sendable, Local)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `future_form` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/applied_to_trait.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use future_form::{future_form, FutureForm}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: #[future_form] can only be applied to impl blocks, not trait definitions; define your trait normally with a `K: FutureForm` parameter, then use #[future_form] on the impl blocks [INFO] [stderr] --> tests/ui/applied_to_trait.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[future_form(Sendable, Local)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `future_form` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/applied_to_trait.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use future_form::{future_form, FutureForm}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/async_fn_in_impl.rs ... ok [INFO] [stderr] test tests/ui/duplicate_variants.rs ... ok [INFO] [stderr] test tests/ui/inherent_impl.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: #[future_form] can only be applied to trait impls, not inherent impls; move these methods into a trait and apply #[future_form] to the trait impl [INFO] [stderr] --> tests/ui/inherent_impl.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | impl InherentType { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/inherent_impl.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use future_form::{FutureForm, future_form}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: #[future_form] can only be applied to trait impls, not inherent impls; move these methods into a trait and apply #[future_form] to the trait impl [INFO] [stderr] --> tests/ui/inherent_impl.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | impl InherentType { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/inherent_impl.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use future_form::{FutureForm, future_form}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/lowercase_variant.rs ... ok [INFO] [stderr] test tests/ui/malformed_where_clause.rs ... ok [INFO] [stderr] test tests/ui/missing_future_form_bound.rs ... ok [INFO] [stderr] test tests/ui/missing_variants.rs ... ok [INFO] [stderr] test tests/ui/multiple_future_form_params.rs ... ok [INFO] [stderr] test tests/ui/sendable_with_non_send.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: future cannot be sent between threads safely [INFO] [stderr] --> tests/ui/sendable_with_non_send.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | #[future_form(Sendable)] [INFO] [stderr] | _______________^ [INFO] [stderr] 13 | | impl Processor for Container { [INFO] [stderr] 14 | | fn process(&self) -> K::Future<'_, u32> { [INFO] [stderr] 15 | | let value = Rc::clone(&self.value); [INFO] [stderr] 16 | | K::from_future(async move { *value }) [INFO] [stderr] | |_____________________________________________^ future created by async block is not `Send` [INFO] [stderr] | [INFO] [stderr] = help: within `{async block@$DIR/tests/ui/sendable_with_non_send.rs:16:24: 16:34}`, the trait `std::marker::Send` is not implemented for `Rc` [INFO] [stderr] = help: the following other types implement trait `FromFuture<'a, T, F>`: [INFO] [stderr] Pin + std::marker::Send>> [INFO] [stderr] Pin>> [INFO] [stderr] note: captured value is not `Send` [INFO] [stderr] --> tests/ui/sendable_with_non_send.rs:16:38 [INFO] [stderr] | [INFO] [stderr] 16 | K::from_future(async move { *value }) [INFO] [stderr] | ^^^^^ has type `Rc` which is not `Send` [INFO] [stderr] note: required by a bound in `future_form::FutureForm::from_future` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | fn from_future<'a, T, F>(f: F) -> Self::Future<'a, T> [INFO] [stderr] | ----------- required by a bound in this associated function [INFO] [stderr] ... [INFO] [stderr] | Self::Future<'a, T>: FromFuture<'a, T, F>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `FutureForm::from_future` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: future cannot be sent between threads safely [INFO] [stderr] --> tests/ui/sendable_with_non_send.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | #[future_form(Sendable)] [INFO] [stderr] | _______________^ [INFO] [stderr] 13 | | impl Processor for Container { [INFO] [stderr] 14 | | fn process(&self) -> K::Future<'_, u32> { [INFO] [stderr] 15 | | let value = Rc::clone(&self.value); [INFO] [stderr] 16 | | K::from_future(async move { *value }) [INFO] [stderr] | |_____________________________________________^ future created by async block is not `Send` [INFO] [stderr] | [INFO] [stderr] = help: within `{async block@$DIR/tests/ui/sendable_with_non_send.rs:16:24: 16:34}`, the trait `std::marker::Send` is not implemented for `Rc` [INFO] [stderr] help: the following other types implement trait `FromFuture<'a, T, F>` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | / impl<'a, T, F> FromFuture<'a, T, F> for BoxFuture<'a, T> [INFO] [stderr] | | where [INFO] [stderr] | | T: 'a, [INFO] [stderr] | | F: Future + Send + 'a, [INFO] [stderr] | |______________________________________^ `Pin + std::marker::Send>>` [INFO] [stderr] ... [INFO] [stderr] | / impl<'a, T, F> FromFuture<'a, T, F> for LocalBoxFuture<'a, T> [INFO] [stderr] | | where [INFO] [stderr] | | T: 'a, [INFO] [stderr] | | F: Future + 'a, [INFO] [stderr] | |_______________________________^ `Pin>>` [INFO] [stderr] note: captured value is not `Send` [INFO] [stderr] --> tests/ui/sendable_with_non_send.rs:16:38 [INFO] [stderr] | [INFO] [stderr] 16 | K::from_future(async move { *value }) [INFO] [stderr] | ^^^^^ has type `Rc` which is not `Send` [INFO] [stderr] note: required by a bound in `future_form::FutureForm::from_future` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | fn from_future<'a, T, F>(f: F) -> Self::Future<'a, T> [INFO] [stderr] | ----------- required by a bound in this associated function [INFO] [stderr] ... [INFO] [stderr] | Self::Future<'a, T>: FromFuture<'a, T, F>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `FutureForm::from_future` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/trait_name_as_variant.rs ... ok [INFO] [stderr] test tests/ui/unused_k_param.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the FutureForm parameter `K` is not referenced in this impl block; #[future_form] may not be needed here [INFO] [stderr] --> tests/ui/unused_k_param.rs:10:6 [INFO] [stderr] | [INFO] [stderr] 10 | impl Counter for Memory { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/unused_k_param.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use future_form::{future_form, FutureForm}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the FutureForm parameter `K` is not referenced in this impl block; #[future_form] may not be needed here [INFO] [stderr] --> tests/ui/unused_k_param.rs:10:6 [INFO] [stderr] | [INFO] [stderr] 10 | impl Counter for Memory { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureForm` [INFO] [stderr] --> tests/ui/unused_k_param.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use future_form::{future_form, FutureForm}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test compile_fail_tests ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_fail_tests stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'compile_fail_tests' (17) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13: [INFO] [stdout] 4 of 13 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62633f6c64ca - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62633f6c64ca - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62633f6c64ca - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x62633f6c64ca - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x62633f6dc97a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x62633f6dc97a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x62633f6cb522 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62633f6cb522 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x62633f6a260f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x62633f6a260f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x62633f6bdaa9 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x62633f657bfc - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x62633f657bfc - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x62633f6bdc62 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x62633f6bdc62 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x62633f6a26c8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x62633f699d79 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x62633f6a33dd - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x62633f6dd10c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x62633f532d64 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13 [INFO] [stdout] 20: 0x62633f541a88 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38 [INFO] [stdout] 21: 0x62633f414fc7 - core[6aaeda2c7ad07a48]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/mod.rs:809:1 [INFO] [stdout] 22: 0x62633f415213 - compile_fail[f6773136369f14e2]::compile_fail_tests [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_fail.rs:7:1 [INFO] [stdout] 23: 0x62633f415167 - compile_fail[f6773136369f14e2]::compile_fail_tests::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_fail.rs:4:24 [INFO] [stdout] 24: 0x62633f4156a6 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x62633f64bcdb - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x62633f64bcdb - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x62633f6586cb - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x62633f6586cb - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x62633f6586cb - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x62633f6586cb - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x62633f6586cb - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x62633f6586cb - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x62633f6586cb - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x62633f653de4 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x62633f653de4 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x62633f65b2d2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x62633f65b2d2 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x62633f65b2d2 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x62633f65b2d2 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x62633f65b2d2 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x62633f65b2d2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x62633f65b2d2 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x62633f6c580f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 44: 0x62633f6c580f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x7410aabcbaa4 - [INFO] [stdout] 46: 0x7410aac58a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_fail_tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test compile_fail` [INFO] running `Command { std: "docker" "inspect" "a3dfe9492c31433bf740f7afcdad331a3cba3f4f734d07f793840b82d43d36e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3dfe9492c31433bf740f7afcdad331a3cba3f4f734d07f793840b82d43d36e6", kill_on_drop: false }` [INFO] [stdout] a3dfe9492c31433bf740f7afcdad331a3cba3f4f734d07f793840b82d43d36e6