[INFO] cloning repository https://github.com/chyyuu/example-greenthreads [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chyyuu/example-greenthreads" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyyuu%2Fexample-greenthreads", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyyuu%2Fexample-greenthreads'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb685ab428edcf1d3b24000f47611de291c3c78d [INFO] checking chyyuu/example-greenthreads against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyyuu%2Fexample-greenthreads" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chyyuu/example-greenthreads on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chyyuu/example-greenthreads [INFO] finished tweaking git repo https://github.com/chyyuu/example-greenthreads [INFO] tweaked toml for git repo https://github.com/chyyuu/example-greenthreads written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chyyuu/example-greenthreads 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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d84aa5fa88bbb76336e3dad071cb3d4ff16669b5581811a94c2a6961ef3ae11 [INFO] running `Command { std: "docker" "start" "-a" "4d84aa5fa88bbb76336e3dad071cb3d4ff16669b5581811a94c2a6961ef3ae11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d84aa5fa88bbb76336e3dad071cb3d4ff16669b5581811a94c2a6961ef3ae11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d84aa5fa88bbb76336e3dad071cb3d4ff16669b5581811a94c2a6961ef3ae11", kill_on_drop: false }` [INFO] [stdout] 4d84aa5fa88bbb76336e3dad071cb3d4ff16669b5581811a94c2a6961ef3ae11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b76a7211ad4f3b689769cfd1c689e7f5127ae9d432f9097622cfaa67930ea4 [INFO] running `Command { std: "docker" "start" "-a" "c9b76a7211ad4f3b689769cfd1c689e7f5127ae9d432f9097622cfaa67930ea4", kill_on_drop: false }` [INFO] [stderr] Checking green_threads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 243 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 243 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | llvm_asm!(" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | llvm_asm!(" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn switch(old: *mut TaskContext, new: *const TaskContext) { [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 2025-04-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/main.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 243 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 244 | #[inline(never)] [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:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe fn switch(old: *mut TaskContext, new: *const TaskContext) { [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 2025-04-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/main.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 243 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 244 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0-nightly 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 `naked_functions` has been stable since 1.88.0-nightly 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[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0658, E0736. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0658, E0736. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `green_threads` (bin "green_threads") due to 5 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" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c9b76a7211ad4f3b689769cfd1c689e7f5127ae9d432f9097622cfaa67930ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b76a7211ad4f3b689769cfd1c689e7f5127ae9d432f9097622cfaa67930ea4", kill_on_drop: false }` [INFO] [stdout] c9b76a7211ad4f3b689769cfd1c689e7f5127ae9d432f9097622cfaa67930ea4