[INFO] fetching crate gen-iter 0.3.0... [INFO] checking gen-iter-0.3.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate gen-iter 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gen-iter 0.3.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d29cb71b9ae07cd6036ffca1ce3262bd2d585e55020df183b3fbd4c10b3c3c [INFO] running `Command { std: "docker" "start" "-a" "10d29cb71b9ae07cd6036ffca1ce3262bd2d585e55020df183b3fbd4c10b3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d29cb71b9ae07cd6036ffca1ce3262bd2d585e55020df183b3fbd4c10b3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d29cb71b9ae07cd6036ffca1ce3262bd2d585e55020df183b3fbd4c10b3c3c", kill_on_drop: false }` [INFO] [stdout] 10d29cb71b9ae07cd6036ffca1ce3262bd2d585e55020df183b3fbd4c10b3c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f49573c98b2c40db1ea0c1ec0e250b8d881f674df5b26cee99c0c0a157c52880 [INFO] running `Command { std: "docker" "start" "-a" "f49573c98b2c40db1ea0c1ec0e250b8d881f674df5b26cee99c0c0a157c52880", 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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[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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; consider upgrading it if it is out of date [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[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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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] [stderr] error: could not compile `gen-iter` (lib) due to 8 previous errors [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-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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-11-23; 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 test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "f49573c98b2c40db1ea0c1ec0e250b8d881f674df5b26cee99c0c0a157c52880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49573c98b2c40db1ea0c1ec0e250b8d881f674df5b26cee99c0c0a157c52880", kill_on_drop: false }` [INFO] [stdout] f49573c98b2c40db1ea0c1ec0e250b8d881f674df5b26cee99c0c0a157c52880