[INFO] fetching crate bronzeflow-core 0.1.1... [INFO] checking bronzeflow-core-0.1.1 against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] extracting crate bronzeflow-core 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bronzeflow-core 0.1.1 on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bronzeflow-core 0.1.1 [INFO] finished tweaking crates.io crate bronzeflow-core 0.1.1 [INFO] tweaked toml for crates.io crate bronzeflow-core 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.9) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_builder v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding derive_builder_core v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding derive_builder_macro v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.0) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bronzeflow-time v0.1.1 [INFO] [stderr] Downloaded cron v0.12.1 [INFO] [stderr] Downloaded bronzeflow-utils v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 163841a218e86693faeeee0ae85af202db4a1959506667411bfe3b18ba947ec9 [INFO] running `Command { std: "docker" "start" "-a" "163841a218e86693faeeee0ae85af202db4a1959506667411bfe3b18ba947ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "163841a218e86693faeeee0ae85af202db4a1959506667411bfe3b18ba947ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163841a218e86693faeeee0ae85af202db4a1959506667411bfe3b18ba947ec9", kill_on_drop: false }` [INFO] [stdout] 163841a218e86693faeeee0ae85af202db4a1959506667411bfe3b18ba947ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0423b70a290f3cf48427dabf0f9eced2489dc2e6d3396bc33472dde5cda18253 [INFO] running `Command { std: "docker" "start" "-a" "0423b70a290f3cf48427dabf0f9eced2489dc2e6d3396bc33472dde5cda18253", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking bronzeflow-utils v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking bronzeflow-time v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking bronzeflow-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `NotFnRunnable` is never used [INFO] [stdout] --> src/runtime/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) trait NotFnRunnable {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NotFnRunnable` is never used [INFO] [stdout] --> src/runtime/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) trait NotFnRunnable {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.69s [INFO] running `Command { std: "docker" "inspect" "0423b70a290f3cf48427dabf0f9eced2489dc2e6d3396bc33472dde5cda18253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0423b70a290f3cf48427dabf0f9eced2489dc2e6d3396bc33472dde5cda18253", kill_on_drop: false }` [INFO] [stdout] 0423b70a290f3cf48427dabf0f9eced2489dc2e6d3396bc33472dde5cda18253 [INFO] checking bronzeflow-core-0.1.1 against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] extracting crate bronzeflow-core 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bronzeflow-core 0.1.1 on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bronzeflow-core 0.1.1 [INFO] finished tweaking crates.io crate bronzeflow-core 0.1.1 [INFO] tweaked toml for crates.io crate bronzeflow-core 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.9) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_builder v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding derive_builder_core v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding derive_builder_macro v0.11.2 (latest: v0.20.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.0) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42cd799267229af80988b4a3a37c7858e0ae8a9fdfa2769808e8c630170de09b [INFO] running `Command { std: "docker" "start" "-a" "42cd799267229af80988b4a3a37c7858e0ae8a9fdfa2769808e8c630170de09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42cd799267229af80988b4a3a37c7858e0ae8a9fdfa2769808e8c630170de09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cd799267229af80988b4a3a37c7858e0ae8a9fdfa2769808e8c630170de09b", kill_on_drop: false }` [INFO] [stdout] 42cd799267229af80988b4a3a37c7858e0ae8a9fdfa2769808e8c630170de09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd1392b45ca71a8152606691d69181cce1695347f7e9569414178a5e0940ec48 [INFO] running `Command { std: "docker" "start" "-a" "fd1392b45ca71a8152606691d69181cce1695347f7e9569414178a5e0940ec48", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking bronzeflow-utils v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking bronzeflow-time v0.1.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking bronzeflow-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/session/mod.rs:375:17: 375:19}: Clone` is not satisfied [INFO] [stdout] --> src/session/mod.rs:379:43 [INFO] [stdout] | [INFO] [stdout] 379 | s.submit("1/2 * * * * *", AsyncFn(f)).unwrap(); [INFO] [stdout] | ------- ^ the trait `Clone` is not implemented for `{async closure@src/session/mod.rs:375:17: 375:19}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/session/mod.rs:375:17: 375:19}: Clone` is not satisfied [INFO] [stdout] --> src/session/mod.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | s.submit("1/2 * * * * *", AsyncFn(f)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/session/mod.rs:375:17: 375:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/session/mod.rs:375:17: 375:19}: Clone` is not satisfied [INFO] [stdout] --> src/session/mod.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | s.submit("1/2 * * * * *", AsyncFn(f)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/session/mod.rs:375:17: 375:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/session/mod.rs:375:17: 375:19}, {async closure body@src/session/mod.rs:375:20: 375:25}>: Into` is not satisfied [INFO] [stdout] --> src/session/mod.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | s.submit("1/2 * * * * *", AsyncFn(f)).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^ the trait `runtime::Runnable` is not implemented for `runtime::AsyncFn<{async closure@src/session/mod.rs:375:17: 375:19}, {async closure body@src/session/mod.rs:375:20: 375:25}>`, which is required by `runtime::AsyncFn<{async closure@src/session/mod.rs:375:17: 375:19}, {async closure body@src/session/mod.rs:375:20: 375:25}>: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `runtime::AsyncFn<{async closure@src/session/mod.rs:375:17: 375:19}, {async closure body@src/session/mod.rs:375:20: 375:25}>` to implement `TryIntoTask` [INFO] [stdout] --> src/task/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | impl TryIntoTask for F [INFO] [stdout] | ^^^^^^^^^^^ ^ [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: Runnable> + Send, [INFO] [stdout] | ---------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `dag::DAG` to implement `From>` [INFO] [stdout] --> src/task/dag.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl From for DAG { [INFO] [stdout] | ----------- ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: required for `runtime::AsyncFn<{async closure@src/session/mod.rs:375:17: 375:19}, {async closure body@src/session/mod.rs:375:20: 375:25}>` to implement `Into` [INFO] [stdout] note: required by a bound in `session::Session::submit` [INFO] [stdout] --> src/session/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn submit(&mut self, s: S, try_into_dag: D) -> Result<()> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | D: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Session::submit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/session/mod.rs:415:21: 415:23}: Clone` is not satisfied [INFO] [stdout] --> src/session/mod.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | AsyncFn(|| async { println!("I am asynchronous task") }), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/session/mod.rs:415:21: 415:23}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/session/mod.rs:415:21: 415:23}: Clone` is not satisfied [INFO] [stdout] --> src/session/mod.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | / s.submit( [INFO] [stdout] 414 | | "1/1 * * * * *", [INFO] [stdout] 415 | | AsyncFn(|| async { println!("I am asynchronous task") }), [INFO] [stdout] 416 | | ) [INFO] [stdout] | |_________^ the trait `Clone` is not implemented for `{async closure@src/session/mod.rs:415:21: 415:23}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/session/mod.rs:415:21: 415:23}, {async closure body@src/session/mod.rs:415:24: 415:29}>: Into` is not satisfied [INFO] [stdout] --> src/session/mod.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 413 | s.submit( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 414 | "1/1 * * * * *", [INFO] [stdout] 415 | AsyncFn(|| async { println!("I am asynchronous task") }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime::Runnable` is not implemented for `runtime::AsyncFn<{async closure@src/session/mod.rs:415:21: 415:23}, {async closure body@src/session/mod.rs:415:24: 415:29}>`, which is required by `runtime::AsyncFn<{async closure@src/session/mod.rs:415:21: 415:23}, {async closure body@src/session/mod.rs:415:24: 415:29}>: Into` [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `runtime::AsyncFn<{async closure@src/session/mod.rs:415:21: 415:23}, {async closure body@src/session/mod.rs:415:24: 415:29}>` to implement `TryIntoTask` [INFO] [stdout] --> src/task/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | impl TryIntoTask for F [INFO] [stdout] | ^^^^^^^^^^^ ^ [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: Runnable> + Send, [INFO] [stdout] | ---------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `dag::DAG` to implement `From>` [INFO] [stdout] --> src/task/dag.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl From for DAG { [INFO] [stdout] | ----------- ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: required for `runtime::AsyncFn<{async closure@src/session/mod.rs:415:21: 415:23}, {async closure body@src/session/mod.rs:415:24: 415:29}>` to implement `Into` [INFO] [stdout] note: required by a bound in `session::Session::submit` [INFO] [stdout] --> src/session/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn submit(&mut self, s: S, try_into_dag: D) -> Result<()> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | D: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Session::submit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}`, which is required by `runtime::AsyncFn<_, _>: From<{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `AsyncFn<{async closure@tokio_runtime.rs:154:17}, ...>` to implement `From<{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}>` [INFO] [stdout] --> src/runtime/mod.rs:57:86 [INFO] [stdout] | [INFO] [stdout] 57 | impl U + Send + Clone + 'static, U: std::future::Future + Send + 'static> From [INFO] [stdout] | ----- unsatisfied trait bound introduced here ^^^^^^^ [INFO] [stdout] 58 | for AsyncFn [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/bronzeflow_core-68955efe18dd9c5c.long-type-12892610019033381771.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}, {async closure body@src/runtime/tokio_runtime.rs:154:20: 154:25}>: runtime::Runnable` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ the trait `runtime::Runnable` is not implemented for `AsyncFn<{async closure@tokio_runtime.rs:154:17}, ...>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required by a bound in `runtime::BronzeRuntime::run_safe` [INFO] [stdout] --> src/runtime/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 255 | fn run_safe(&self, runnable: F, report_msg: bool) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 256 | where [INFO] [stdout] 257 | F: Runnable + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BronzeRuntime::run_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:154:17: 154:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}`, which is required by `runtime::AsyncFn<_, _>: From<{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `AsyncFn<{async closure@tokio_runtime.rs:162:17}, ...>` to implement `From<{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}>` [INFO] [stdout] --> src/runtime/mod.rs:57:86 [INFO] [stdout] | [INFO] [stdout] 57 | impl U + Send + Clone + 'static, U: std::future::Future + Send + 'static> From [INFO] [stdout] | ----- unsatisfied trait bound introduced here ^^^^^^^ [INFO] [stdout] 58 | for AsyncFn [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/bronzeflow_core-68955efe18dd9c5c.long-type-12996343231600923123.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}, {async closure body@src/runtime/tokio_runtime.rs:162:20: 162:25}>: runtime::Runnable` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ the trait `runtime::Runnable` is not implemented for `AsyncFn<{async closure@tokio_runtime.rs:162:17}, ...>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required by a bound in `runtime::BronzeRuntime::run_safe` [INFO] [stdout] --> src/runtime/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 255 | fn run_safe(&self, runnable: F, report_msg: bool) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 256 | where [INFO] [stdout] 257 | F: Runnable + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `BronzeRuntime::run_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/tokio_runtime.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | rt.run_safe(AsyncFn::from(f), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/tokio_runtime.rs:162:17: 162:19}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:356:25: 356:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let _ = AsyncFn(|| async { info!("I am an async function") }); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:356:25: 356:27}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:356:25: 356:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let _ = AsyncFn(|| async { info!("I am an async function") }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:356:25: 356:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:357:25: 357:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | let _ = AsyncFn(|| async { 0 }); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:357:25: 357:27}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:357:25: 357:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let _ = AsyncFn(|| async { 0 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:357:25: 357:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NotFnRunnable` is never used [INFO] [stdout] --> src/runtime/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) trait NotFnRunnable {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:381:31: 381:33}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let _ = AsyncFn::from(|| async { [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:381:31: 381:33}`, which is required by `runtime::AsyncFn<_, _>: From<{async closure@src/runtime/mod.rs:381:31: 381:33}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `runtime::AsyncFn<{async closure@src/runtime/mod.rs:381:31: 381:33}, {async closure body@src/runtime/mod.rs:381:34: 381:39}>` to implement `From<{async closure@src/runtime/mod.rs:381:31: 381:33}>` [INFO] [stdout] --> src/runtime/mod.rs:57:86 [INFO] [stdout] | [INFO] [stdout] 57 | impl U + Send + Clone + 'static, U: std::future::Future + Send + 'static> From [INFO] [stdout] | ----- unsatisfied trait bound introduced here ^^^^^^^ [INFO] [stdout] 58 | for AsyncFn [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:381:31: 381:33}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let _ = AsyncFn::from(|| async { [INFO] [stdout] | _________________^ [INFO] [stdout] 382 | | info!("new function"); [INFO] [stdout] 383 | | }); [INFO] [stdout] | |__________^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:381:31: 381:33}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:397:25: 397:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | let f = AsyncFn(|| async { info!("I am an async function") }); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:397:25: 397:27}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:397:25: 397:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let f = AsyncFn(|| async { info!("I am an async function") }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:397:25: 397:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_hir_typeck/src/method/suggest.rs:1222:35: [INFO] [stderr] internal error: entered unreachable code: encountered `Item(Item { ident: AsyncFn#0, owner_id: DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn), kind: Struct(Tuple([FieldDef { span: src/runtime/mod.rs:50:5: 50:10 (#0), vis_span: src/runtime/mod.rs:50:5: 50:8 (#0), ident: 0#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).30), def_id: DefId(0:768 ~ bronzeflow_core[bd66]::runtime::AsyncFn::0), ty: Ty { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).28), kind: Path(Resolved(None, Path { span: src/runtime/mod.rs:50:9: 50:10 (#0), res: Def(TyParam, DefId(0:766 ~ bronzeflow_core[bd66]::runtime::AsyncFn::F)), segments: [PathSegment { ident: F#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).29), res: Def(TyParam, DefId(0:766 ~ bronzeflow_core[bd66]::runtime::AsyncFn::F)), args: None, infer_args: false }] })), span: src/runtime/mod.rs:50:9: 50:10 (#0) } }], HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).27), DefId(0:765 ~ bronzeflow_core[bd66]::runtime::AsyncFn::{constructor#0})), Generics { params: [GenericParam { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).25), def_id: DefId(0:766 ~ bronzeflow_core[bd66]::runtime::AsyncFn::F), name: Plain(F#0), span: src/runtime/mod.rs:49:20: 49:21 (#0), pure_wrt_drop: false, kind: Type { default: None, synthetic: false }, colon_span: Some(src/runtime/mod.rs:49:21: 49:22 (#0)), source: Generics }, GenericParam { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).26), def_id: DefId(0:767 ~ bronzeflow_core[bd66]::runtime::AsyncFn::U), name: Plain(U#0), span: src/runtime/mod.rs:49:59: 49:60 (#0), pure_wrt_drop: false, kind: Type { default: None, synthetic: false }, colon_span: Some(src/runtime/mod.rs:49:60: 49:61 (#0)), source: Generics }], predicates: [BoundPredicate(WhereBoundPredicate { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).14), span: src/runtime/mod.rs:49:21: 49:57 (#0), origin: GenericParam, bound_generic_params: [], bounded_ty: Ty { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).13), kind: Path(Resolved(None, Path { span: src/runtime/mod.rs:49:20: 49:21 (#0), res: Def(TyParam, DefId(0:766 ~ bronzeflow_core[bd66]::runtime::AsyncFn::F)), segments: [PathSegment { ident: F#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).12), res: Def(TyParam, DefId(0:766 ~ bronzeflow_core[bd66]::runtime::AsyncFn::F)), args: None, infer_args: true }] })), span: src/runtime/mod.rs:49:20: 49:21 (#0) }, bounds: [Trait(PolyTraitRef { bound_generic_params: [], trait_ref: TraitRef { path: Path { span: src/runtime/mod.rs:49:23: 49:32 (#0), res: Def(Trait, DefId(2:3598 ~ core[cffc]::ops::function::Fn)), segments: [PathSegment { ident: Fn#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).5), res: Def(Trait, DefId(2:3598 ~ core[cffc]::ops::function::Fn)), args: Some(GenericArgs { args: [Type(Ty { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).3), kind: Tup([]), span: src/runtime/mod.rs:49:25: 49:27 (#0) })], constraints: [AssocItemConstraint { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).4), ident: Output#0, gen_args: GenericArgs { args: [], constraints: [], parenthesized: No, span_ext: no-location (#0) }, kind: Equality { term: Ty(Ty { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).1), kind: Path(Resolved(None, Path { span: src/runtime/mod.rs:49:31: 49:32 (#0), res: Def(TyParam, DefId(0:767 ~ bronzeflow_core[bd66]::runtime::AsyncFn::U)), segments: [PathSegment { ident: U#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).2), res: Def(TyParam, DefId(0:767 ~ bronzeflow_core[bd66]::runtime::AsyncFn::U)), args: None, infer_args: false }] })), span: src/runtime/mod.rs:49:31: 49:32 (#0) }) }, span: src/runtime/mod.rs:49:31: 49:32 (#0) }], parenthesized: ParenSugar, span_ext: src/runtime/mod.rs:49:25: 49:27 (#0) }), infer_args: false }] }, hir_ref_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).6) }, span: src/runtime/mod.rs:49:23: 49:32 (#0) }, None), Trait(PolyTraitRef { bound_generic_params: [], trait_ref: TraitRef { path: Path { span: src/runtime/mod.rs:49:35: 49:39 (#0), res: Def(Trait, DefId(2:33085 ~ core[cffc]::marker::Send)), segments: [PathSegment { ident: Send#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).7), res: Def(Trait, DefId(2:33085 ~ core[cffc]::marker::Send)), args: None, infer_args: false }] }, hir_ref_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).8) }, span: src/runtime/mod.rs:49:35: 49:39 (#0) }, None), Trait(PolyTraitRef { bound_generic_params: [], trait_ref: TraitRef { path: Path { span: src/runtime/mod.rs:49:42: 49:47 (#0), res: Def(Trait, DefId(2:2817 ~ core[cffc]::clone::Clone)), segments: [PathSegment { ident: Clone#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).9), res: Def(Trait, DefId(2:2817 ~ core[cffc]::clone::Clone)), args: None, infer_args: false }] }, hir_ref_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).10) }, span: src/runtime/mod.rs:49:42: 49:47 (#0) }, None), Outlives(Lifetime { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).11), ident: 'static#0, res: Static })] }), BoundPredicate(WhereBoundPredicate { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).24), span: src/runtime/mod.rs:49:60: 49:98 (#0), origin: GenericParam, bound_generic_params: [], bounded_ty: Ty { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).23), kind: Path(Resolved(None, Path { span: src/runtime/mod.rs:49:59: 49:60 (#0), res: Def(TyParam, DefId(0:767 ~ bronzeflow_core[bd66]::runtime::AsyncFn::U)), segments: [PathSegment { ident: U#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).22), res: Def(TyParam, DefId(0:767 ~ bronzeflow_core[bd66]::runtime::AsyncFn::U)), args: None, infer_args: true }] })), span: src/runtime/mod.rs:49:59: 49:60 (#0) }, bounds: [Trait(PolyTraitRef { bound_generic_params: [], trait_ref: TraitRef { path: Path { span: src/runtime/mod.rs:49:62: 49:81 (#0), res: Def(Trait, DefId(2:45774 ~ core[cffc]::future::future::Future)), segments: [PathSegment { ident: std#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).15), res: Def(Mod, DefId(1:0 ~ std[590b])), args: None, infer_args: false }, PathSegment { ident: future#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).16), res: Def(Mod, DefId(2:14248 ~ core[cffc]::future)), args: None, infer_args: false }, PathSegment { ident: Future#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).17), res: Def(Trait, DefId(2:45774 ~ core[cffc]::future::future::Future)), args: None, infer_args: false }] }, hir_ref_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).18) }, span: src/runtime/mod.rs:49:62: 49:81 (#0) }, None), Trait(PolyTraitRef { bound_generic_params: [], trait_ref: TraitRef { path: Path { span: src/runtime/mod.rs:49:84: 49:88 (#0), res: Def(Trait, DefId(2:33085 ~ core[cffc]::marker::Send)), segments: [PathSegment { ident: Send#0, hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).19), res: Def(Trait, DefId(2:33085 ~ core[cffc]::marker::Send)), args: None, infer_args: false }] }, hir_ref_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).20) }, span: src/runtime/mod.rs:49:84: 49:88 (#0) }, None), Outlives(Lifetime { hir_id: HirId(DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn).21), ident: 'static#0, res: Static })] })], has_where_clause_predicates: false, where_clause_span: src/runtime/mod.rs:51:2: 51:2 (#0), span: src/runtime/mod.rs:49:19: 49:99 (#0) }), span: src/runtime/mod.rs:49:1: 51:3 (#0), vis_span: src/runtime/mod.rs:49:1: 49:4 (#0) })` due to `Some( [INFO] [stderr] ObligationCause { [INFO] [stderr] span: src/runtime/mod.rs:398:28: 398:31 (#0), [INFO] [stderr] body_id: DefId(0:871 ~ bronzeflow_core[bd66]::runtime::tests::async_fn_with_tokio#1::{closure#0}), [INFO] [stderr] code: WhereClause( [INFO] [stderr] DefId(0:764 ~ bronzeflow_core[bd66]::runtime::AsyncFn), [INFO] [stderr] src/runtime/mod.rs:49:42: 49:47 (#0), [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] )` [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f13d218c3e5 - std::backtrace_rs::backtrace::libunwind::trace::h9f8bc1d636af8459 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x7f13d218c3e5 - std::backtrace_rs::backtrace::trace_unsynchronized::hda732b1559c4b71d [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f13d218c3e5 - std::sys::backtrace::_print_fmt::h5c5e5cf9b8cda9b3 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/sys/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7f13d218c3e5 - ::fmt::h40ce9eb17bd4e921 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/sys/backtrace.rs:40:26 [INFO] [stderr] 4: 0x7f13d21dbe1b - core::fmt::rt::Argument::fmt::he822121cbe614046 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x7f13d21dbe1b - core::fmt::write::hbc3a58f1c2535c84 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/core/src/fmt/mod.rs:1182:21 [INFO] [stderr] 6: 0x7f13d2180e9f - std::io::Write::write_fmt::h1697cebf46edae42 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/io/mod.rs:1827:15 [INFO] [stderr] 7: 0x7f13d218ebd1 - std::sys::backtrace::BacktraceLock::print::hdca5204bcb98f46d [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/sys/backtrace.rs:43:9 [INFO] [stderr] 8: 0x7f13d218ebd1 - std::panicking::default_hook::{{closure}}::h64e12fa4b78d48f2 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/panicking.rs:269:22 [INFO] [stderr] 9: 0x7f13d218e8ac - std::panicking::default_hook::h275e29b7919cf4db [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/panicking.rs:296:9 [INFO] [stderr] 10: 0x7f13d55f296a - std[590b3327319d43b5]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 11: 0x7f13d218f59f - as core::ops::function::Fn>::call::hb7fcb645452452fa [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/alloc/src/boxed.rs:2084:9 [INFO] [stderr] 12: 0x7f13d218f59f - std::panicking::rust_panic_with_hook::h9c074e21c4a2d8f8 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/panicking.rs:808:13 [INFO] [stderr] 13: 0x7f13d218f1c7 - std::panicking::begin_panic_handler::{{closure}}::h02bb21a03e9a8776 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/panicking.rs:674:13 [INFO] [stderr] 14: 0x7f13d218c8a9 - std::sys::backtrace::__rust_end_short_backtrace::h225d3c44568eb26d [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 15: 0x7f13d218ee54 - rust_begin_unwind [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/panicking.rs:665:5 [INFO] [stderr] 16: 0x7f13d21d83d3 - core::panicking::panic_fmt::h730f2d5bd6213811 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/core/src/panicking.rs:74:14 [INFO] [stderr] 17: 0x7f13d5901f49 - ::report_no_match_method_error [INFO] [stderr] 18: 0x7f13d592e77b - ::report_method_error [INFO] [stderr] 19: 0x7f13d763eeb1 - ::check_expr_with_expectation_and_args [INFO] [stderr] 20: 0x7f13d3898cb2 - ::confirm_builtin_call [INFO] [stderr] 21: 0x7f13d76315df - ::check_expr_with_expectation_and_args [INFO] [stderr] 22: 0x7f13d762c40d - ::check_block_with_expected [INFO] [stderr] 23: 0x7f13d76320c7 - ::check_expr_with_expectation_and_args [INFO] [stderr] 24: 0x7f13d6dba6b7 - rustc_hir_typeck[1c466eeef1b2cda]::check::check_fn [INFO] [stderr] 25: 0x7f13d76c016f - ::check_expr_closure [INFO] [stderr] 26: 0x7f13d76359c4 - ::check_expr_with_expectation_and_args [INFO] [stderr] 27: 0x7f13d7623847 - ::check_decl [INFO] [stderr] 28: 0x7f13d762d362 - ::check_block_with_expected [INFO] [stderr] 29: 0x7f13d76320c7 - ::check_expr_with_expectation_and_args [INFO] [stderr] 30: 0x7f13d6dba6b7 - rustc_hir_typeck[1c466eeef1b2cda]::check::check_fn [INFO] [stderr] 31: 0x7f13d6dafd0b - rustc_hir_typeck[1c466eeef1b2cda]::typeck [INFO] [stderr] 32: 0x7f13d6daf6ad - rustc_query_impl[4a300dfa2c43069e]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 33: 0x7f13d6f8a3f3 - rustc_query_system[2e4e555099bdee0d]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[4a300dfa2c43069e]::plumbing::QueryCtxt, false> [INFO] [stderr] 34: 0x7f13d6f895cd - rustc_query_impl[4a300dfa2c43069e]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 35: 0x7f13d6f891c4 - ::par_body_owners::::{closure#0} [INFO] [stderr] 36: 0x7f13d6f86ffc - rustc_hir_analysis[f0c5039bf6849187]::check_crate [INFO] [stderr] 37: 0x7f13d6f7d695 - rustc_interface[2cfc7d3ee51dac01]::passes::analysis [INFO] [stderr] 38: 0x7f13d6f7d257 - rustc_query_impl[4a300dfa2c43069e]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 39: 0x7f13d7ab79a5 - rustc_query_system[2e4e555099bdee0d]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[4a300dfa2c43069e]::plumbing::QueryCtxt, false> [INFO] [stderr] 40: 0x7f13d7ab770f - rustc_query_impl[4a300dfa2c43069e]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 41: 0x7f13d79b3f45 - rustc_interface[2cfc7d3ee51dac01]::interface::run_compiler::, rustc_driver_impl[8ed9455558c51bc3]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 42: 0x7f13d7984009 - std[590b3327319d43b5]::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[8ed9455558c51bc3]::run_compiler::{closure#0}>::{closure#1}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>>::{closure#0}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>> [INFO] [stderr] 43: 0x7f13d7983dba - <::spawn_unchecked_, rustc_driver_impl[8ed9455558c51bc3]::run_compiler::{closure#0}>::{closure#1}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>>::{closure#0}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cffcce425d50abf2]::result::Result<(), rustc_span[aede0d9bedfc8834]::ErrorGuaranteed>>::{closure#2} as core[cffcce425d50abf2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 44: 0x7f13d21995fb - as core::ops::function::FnOnce>::call_once::h757e4300cc9b121a [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/alloc/src/boxed.rs:2070:9 [INFO] [stderr] 45: 0x7f13d21995fb - as core::ops::function::FnOnce>::call_once::hc9bea1763e9b0cc8 [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/alloc/src/boxed.rs:2070:9 [INFO] [stderr] 46: 0x7f13d21995fb - std::sys::pal::unix::thread::Thread::new::thread_start::haac593b297d7378e [INFO] [stderr] at /rustc/8a6640bd72b80869b16392026cb3aa8ce8e3f9b7/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stderr] 47: 0x7f13d1f3dac3 - [INFO] [stderr] 48: 0x7f13d1fcea04 - clone [INFO] [stderr] 49: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-07-23T10_55_30-364.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.81.0-nightly (8a6640bd7 2024-07-16) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `runtime::tests::async_fn_with_tokio` [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:469:25: 469:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | let f = AsyncFn(|| async { info!("I am an async function run with tokio") }); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:469:25: 469:27}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:469:25: 469:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let f = AsyncFn(|| async { info!("I am an async function run with tokio") }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:469:25: 469:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/runtime/mod.rs:469:25: 469:27}, {async closure body@src/runtime/mod.rs:469:28: 469:33}>: runtime::Runnable` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:470:29 [INFO] [stdout] | [INFO] [stdout] 470 | test_basic_runnable(f, true, true, check_run_result); [INFO] [stdout] | ------------------- ^ the trait `runtime::Runnable` is not implemented for `runtime::AsyncFn<{async closure@src/runtime/mod.rs:469:25: 469:27}, {async closure body@src/runtime/mod.rs:469:28: 469:33}>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required by a bound in `test_basic_runnable` [INFO] [stdout] --> src/runtime/mod.rs:440:24 [INFO] [stdout] | [INFO] [stdout] 439 | fn test_basic_runnable( [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 440 | runnable: impl Runnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_basic_runnable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/runtime/mod.rs:469:25: 469:27}: Clone` is not satisfied [INFO] [stdout] --> src/runtime/mod.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | test_basic_runnable(f, true, true, check_run_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async closure@src/runtime/mod.rs:469:25: 469:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/task/builder.rs:166:25: 166:27}: Clone` is not satisfied [INFO] [stdout] --> src/task/builder.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | AsyncFn(|| async { [INFO] [stdout] | _________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 167 | | println!("I am a asynchronous task"); [INFO] [stdout] 168 | | }), [INFO] [stdout] | |_________________^ the trait `Clone` is not implemented for `{async closure@src/task/builder.rs:166:25: 166:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `runtime::AsyncFn<{async closure@src/task/builder.rs:166:25: 166:27}, {async closure body@src/task/builder.rs:166:28: 166:33}>: TryIntoTask` is not satisfied [INFO] [stdout] --> src/task/builder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 164 | .task( [INFO] [stdout] | ---- required by a bound introduced by this call [INFO] [stdout] 165 | "T2", [INFO] [stdout] 166 | / AsyncFn(|| async { [INFO] [stdout] 167 | | println!("I am a asynchronous task"); [INFO] [stdout] 168 | | }), [INFO] [stdout] | |__________________^ the trait `runtime::Runnable` is not implemented for `runtime::AsyncFn<{async closure@src/task/builder.rs:166:25: 166:27}, {async closure body@src/task/builder.rs:166:28: 166:33}>`, which is required by `runtime::AsyncFn<{async closure@src/task/builder.rs:166:25: 166:27}, {async closure body@src/task/builder.rs:166:28: 166:33}>: TryIntoTask` [INFO] [stdout] | [INFO] [stdout] = help: the trait `runtime::Runnable` is implemented for `runtime::AsyncFn` [INFO] [stdout] note: required for `runtime::AsyncFn<{async closure@src/task/builder.rs:166:25: 166:27}, {async closure body@src/task/builder.rs:166:28: 166:33}>` to implement `TryIntoTask` [INFO] [stdout] --> src/task/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | impl TryIntoTask for F [INFO] [stdout] | ^^^^^^^^^^^ ^ [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: Runnable> + Send, [INFO] [stdout] | ---------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `builder::DAGBuilder::task` [INFO] [stdout] --> src/task/builder.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn task(mut self, meta: M, task: T) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 27 | T: TryIntoTask, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DAGBuilder::task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/task/builder.rs:166:25: 166:27}: Clone` is not satisfied [INFO] [stdout] --> src/task/builder.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let _ = DAGBuilder::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 164 | | .task( [INFO] [stdout] 165 | | "T2", [INFO] [stdout] 166 | | AsyncFn(|| async { [INFO] [stdout] 167 | | println!("I am a asynchronous task"); [INFO] [stdout] 168 | | }), [INFO] [stdout] 169 | | ) [INFO] [stdout] | |_____________^ the trait `Clone` is not implemented for `{async closure@src/task/builder.rs:166:25: 166:27}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `runtime::AsyncFn` [INFO] [stdout] --> src/runtime/mod.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AsyncFn U + Send + Clone + 'static, U: std::future::Future + Send + 'static>( [INFO] [stdout] | ^^^^^ required by this bound in `AsyncFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bronzeflow-core` (lib test) due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "fd1392b45ca71a8152606691d69181cce1695347f7e9569414178a5e0940ec48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1392b45ca71a8152606691d69181cce1695347f7e9569414178a5e0940ec48", kill_on_drop: false }` [INFO] [stdout] fd1392b45ca71a8152606691d69181cce1695347f7e9569414178a5e0940ec48