[INFO] fetching crate gen-iter 0.3.0... [INFO] checking gen-iter-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate gen-iter 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate gen-iter 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gen-iter 0.3.0 [INFO] finished tweaking crates.io crate gen-iter 0.3.0 [INFO] tweaked toml for crates.io crate gen-iter 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37cd83d1678fe9b232ec7d37fef59c099fa5620f7540aeceb3bf6b9e96a40fa7 [INFO] running `Command { std: "docker" "start" "-a" "37cd83d1678fe9b232ec7d37fef59c099fa5620f7540aeceb3bf6b9e96a40fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37cd83d1678fe9b232ec7d37fef59c099fa5620f7540aeceb3bf6b9e96a40fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cd83d1678fe9b232ec7d37fef59c099fa5620f7540aeceb3bf6b9e96a40fa7", kill_on_drop: false }` [INFO] [stdout] 37cd83d1678fe9b232ec7d37fef59c099fa5620f7540aeceb3bf6b9e96a40fa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6512368cd4b186c372c6ac5278f5356b87d2892a784b6c0bf2d867ba5056a5 [INFO] running `Command { std: "docker" "start" "-a" "2f6512368cd4b186c372c6ac5278f5356b87d2892a784b6c0bf2d867ba5056a5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking gen-iter v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::ops::Generator`, `core::ops::GeneratorState` [INFO] [stdout] --> src/gen_iter.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::ops::Generator`, `core::ops::GeneratorState` [INFO] [stdout] --> src/gen_iter_return.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `generator_trait` [INFO] [stdout] --> src/lib.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::ops::Generator`, `core::ops::GeneratorState` [INFO] [stdout] --> src/gen_iter.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::ops::Generator`, `core::ops::GeneratorState` [INFO] [stdout] --> src/gen_iter_return.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Generator, GeneratorState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `Generator` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gen-iter` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 59 | $crate::GenIter(#[coroutine] || $block) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 85 | let mut g: GenIter<_> = (#[coroutine] || { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 62 | $crate::GenIter(#[coroutine] move || $block) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter_return.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 109 | let mut g = GenIterReturn::new(#[coroutine] || { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter_return.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 132 | let mut g = GenIterReturn::from(#[coroutine] || { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/gen_iter_return.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | yield 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 97 | $crate::GenIterReturn::new(#[coroutine] move || $block) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: yield syntax is experimental [INFO] [stdout] --> src/gen_iter_return.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | yield 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43122 for more information [INFO] [stdout] = help: add `#![feature(coroutines)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `generator_trait` [INFO] [stdout] --> src/lib.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | #![feature(generators, generator_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gen-iter` (lib test) due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "2f6512368cd4b186c372c6ac5278f5356b87d2892a784b6c0bf2d867ba5056a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6512368cd4b186c372c6ac5278f5356b87d2892a784b6c0bf2d867ba5056a5", kill_on_drop: false }` [INFO] [stdout] 2f6512368cd4b186c372c6ac5278f5356b87d2892a784b6c0bf2d867ba5056a5