[INFO] cloning repository https://github.com/js2xxx/reffects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/js2xxx/reffects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjs2xxx%2Freffects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjs2xxx%2Freffects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47eecc8e6be0eac2db798d15876957e3cd7f5adb [INFO] checking js2xxx/reffects against master#b92758a9aef1cef7b79e2b72c3d8ba113e547f89 for pr-124305-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjs2xxx%2Freffects" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/js2xxx/reffects on toolchain b92758a9aef1cef7b79e2b72c3d8ba113e547f89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/js2xxx/reffects [INFO] finished tweaking git repo https://github.com/js2xxx/reffects [INFO] tweaked toml for git repo https://github.com/js2xxx/reffects written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/js2xxx/reffects already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded syn v2.0.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1953b46a053a7cb5ff04e75cfb196e6bb445d10ab90697a4b78aaadd79ab4f9 [INFO] running `Command { std: "docker" "start" "-a" "e1953b46a053a7cb5ff04e75cfb196e6bb445d10ab90697a4b78aaadd79ab4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1953b46a053a7cb5ff04e75cfb196e6bb445d10ab90697a4b78aaadd79ab4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1953b46a053a7cb5ff04e75cfb196e6bb445d10ab90697a4b78aaadd79ab4f9", kill_on_drop: false }` [INFO] [stdout] e1953b46a053a7cb5ff04e75cfb196e6bb445d10ab90697a4b78aaadd79ab4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da164585ff0129bbdb32a7a1fa962aa54ee975f59802a14a034460b75c00d90d [INFO] running `Command { std: "docker" "start" "-a" "da164585ff0129bbdb32a7a1fa962aa54ee975f59802a14a034460b75c00d90d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.57 [INFO] [stderr] Checking reffect-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking reffect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / effectful_block! { [INFO] [stdout] 129 | | #![effectful(Eff1)] [INFO] [stdout] 130 | | (yield Eff1(1)) as i16 [INFO] [stdout] 131 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `effectful_block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 128 | #[coroutine] effectful_block! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | #[effectful(Eff1, Eff2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `effectful` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 148 | #[coroutine] #[effectful(Eff1, Eff2)] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | let a2 = effectful_block! { [INFO] [stdout] | __________________^ [INFO] [stdout] 153 | | #![effectful(Eff2)] [INFO] [stdout] 154 | | (yield Eff2(true)) as i16 [INFO] [stdout] 155 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `effectful_block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 152 | let a2 = #[coroutine] effectful_block! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | let coro = coro.catch0(handler! { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 170 | | #![effectful(Eff2)] [INFO] [stdout] 171 | | eff @ Eff2(_) => yield eff, [INFO] [stdout] 172 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 169 | let coro = coro.catch0(#[coroutine] handler! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let coro = coro.catch1(handler! { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 175 | | #![effectful(Eff3)] [INFO] [stdout] 176 | | Eff2(c) => char::try_from(yield Eff3(c.to_string())).unwrap_or('d') [INFO] [stdout] 177 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 174 | let coro = coro.catch1(#[coroutine] handler! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | #[crate::group] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crate::group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 187 | #[coroutine] #[crate::group] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | #[crate::group] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crate::group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 187 | #[coroutine] #[crate::group] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | #[crate::group_handler] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crate::group_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 209 | #[coroutine] #[crate::group_handler] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/adapter.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | let coro = effectful_block! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 224 | | #![effectful(Counter)] [INFO] [stdout] 225 | | [INFO] [stdout] 226 | | let counter = Counter::get().await; [INFO] [stdout] ... | [INFO] [stdout] 230 | | Counter::get().await [INFO] [stdout] 231 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `effectful_block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 223 | let coro = #[coroutine] effectful_block! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/gc.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let f = effectful_block! { [INFO] [stdout] | _____________^ [INFO] [stdout] 248 | | #![effectful(Alloc)] [INFO] [stdout] 249 | | [INFO] [stdout] 250 | | let obj2 = { [INFO] [stdout] ... | [INFO] [stdout] 261 | | *obj2 + *obj3 [INFO] [stdout] 262 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `effectful_block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 247 | let f = #[coroutine] effectful_block! { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/gc.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[effectful(Alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `effectful` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 75 | #[coroutine] #[effectful(Alloc)] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/gc.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[effectful(Alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `effectful` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 92 | #[coroutine] #[effectful(Alloc)] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/gc.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | / catch!(coro.await { [INFO] [stdout] 132 | | #![non_exhaustive] [INFO] [stdout] 133 | | [INFO] [stdout] 134 | | alloc @ Alloc { .. } => loop { [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] 157 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `catch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 122 | #[coroutine] #[effectful(static; ...Rem)] [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reffect` (example "gc") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reffect` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "da164585ff0129bbdb32a7a1fa962aa54ee975f59802a14a034460b75c00d90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da164585ff0129bbdb32a7a1fa962aa54ee975f59802a14a034460b75c00d90d", kill_on_drop: false }` [INFO] [stdout] da164585ff0129bbdb32a7a1fa962aa54ee975f59802a14a034460b75c00d90d