[INFO] fetching crate gen-iter 0.3.0... [INFO] checking gen-iter-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gen-iter 0.3.0 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gen-iter 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa40ef07c1257f49b607b48942c2d30996b15f071b8c8b9cbeaf0537c028b4e [INFO] running `Command { std: "docker" "start" "-a" "4aa40ef07c1257f49b607b48942c2d30996b15f071b8c8b9cbeaf0537c028b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa40ef07c1257f49b607b48942c2d30996b15f071b8c8b9cbeaf0537c028b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa40ef07c1257f49b607b48942c2d30996b15f071b8c8b9cbeaf0537c028b4e", kill_on_drop: false }` [INFO] [stdout] 4aa40ef07c1257f49b607b48942c2d30996b15f071b8c8b9cbeaf0537c028b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f61a27fb3aadadd8071540e48a9ff914db7068b0e7c41a9c3fb7a5c4fe1e875 [INFO] running `Command { std: "docker" "start" "-a" "1f61a27fb3aadadd8071540e48a9ff914db7068b0e7c41a9c3fb7a5c4fe1e875", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: removed in 1.75.0; see for more information [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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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] 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) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: removed in 1.75.0; see for more information [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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; 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(yield_expr)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gen-iter` (lib test) due to 30 previous errors [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] 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] running `Command { std: "docker" "inspect" "1f61a27fb3aadadd8071540e48a9ff914db7068b0e7c41a9c3fb7a5c4fe1e875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f61a27fb3aadadd8071540e48a9ff914db7068b0e7c41a9c3fb7a5c4fe1e875", kill_on_drop: false }` [INFO] [stdout] 1f61a27fb3aadadd8071540e48a9ff914db7068b0e7c41a9c3fb7a5c4fe1e875