[INFO] cloning repository https://github.com/zhouyuxiang0/green-threads [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhouyuxiang0/green-threads" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouyuxiang0%2Fgreen-threads", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouyuxiang0%2Fgreen-threads'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 414b5a5db154644165d0271c36dca9feb8d05a17 [INFO] checking zhouyuxiang0/green-threads against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouyuxiang0%2Fgreen-threads" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhouyuxiang0/green-threads [INFO] finished tweaking git repo https://github.com/zhouyuxiang0/green-threads [INFO] tweaked toml for git repo https://github.com/zhouyuxiang0/green-threads written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhouyuxiang0/green-threads on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhouyuxiang0/green-threads 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f5a8719c96b326acbeabe8669e9f1c624572a52fa0e2d2f139dbf9e8587524e [INFO] running `Command { std: "docker" "start" "-a" "8f5a8719c96b326acbeabe8669e9f1c624572a52fa0e2d2f139dbf9e8587524e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f5a8719c96b326acbeabe8669e9f1c624572a52fa0e2d2f139dbf9e8587524e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5a8719c96b326acbeabe8669e9f1c624572a52fa0e2d2f139dbf9e8587524e", kill_on_drop: false }` [INFO] [stdout] 8f5a8719c96b326acbeabe8669e9f1c624572a52fa0e2d2f139dbf9e8587524e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1c27a12f6d893834dfc36b5c0e30cdfeaacb2d6579bafc8fee43bcccba92494 [INFO] running `Command { std: "docker" "start" "-a" "e1c27a12f6d893834dfc36b5c0e30cdfeaacb2d6579bafc8fee43bcccba92494", kill_on_drop: false }` [INFO] [stderr] Checking green_threads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | #[naked] // 裸函数 [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 187 | #[unsafe(naked)] // 裸函数 [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | #[naked] // 裸函数 [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 187 | #[unsafe(naked)] // 裸函数 [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/main.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 187 | #[naked] // 裸函数 [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 188 | #[inline(never)] // 阻止编译器内敛此函数 否则release模式下会运行失败 [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/main.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 187 | #[naked] // 裸函数 [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 188 | #[inline(never)] // 阻止编译器内敛此函数 否则release模式下会运行失败 [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #138997 for more information [INFO] [stdout] = help: add `#![feature(naked_functions_rustic_abi)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2026-02-20; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(naked_functions)] // 启用裸函数特性 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #138997 for more information [INFO] [stdout] = help: add `#![feature(naked_functions_rustic_abi)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2026-02-20; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm)] // 使用asm!宏 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(naked_functions)] // 启用裸函数特性 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm)] // 使用asm!宏 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0736. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0736. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `green_threads` (bin "green_threads" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `green_threads` (bin "green_threads") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1c27a12f6d893834dfc36b5c0e30cdfeaacb2d6579bafc8fee43bcccba92494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c27a12f6d893834dfc36b5c0e30cdfeaacb2d6579bafc8fee43bcccba92494", kill_on_drop: false }` [INFO] [stdout] e1c27a12f6d893834dfc36b5c0e30cdfeaacb2d6579bafc8fee43bcccba92494