[INFO] cloning repository https://github.com/tychota/green-thread [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tychota/green-thread" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftychota%2Fgreen-thread", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftychota%2Fgreen-thread'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b73ad7f0045e2e40250adaa22411d27a4af06bf7 [INFO] checking tychota/green-thread against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftychota%2Fgreen-thread" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tychota/green-thread [INFO] finished tweaking git repo https://github.com/tychota/green-thread [INFO] tweaked toml for git repo https://github.com/tychota/green-thread written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tychota/green-thread on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tychota/green-thread 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1583c4ec9e8164cc058eb840333ec703f3b051fcf517a6fb4dab97feb994d7b0 [INFO] running `Command { std: "docker" "start" "-a" "1583c4ec9e8164cc058eb840333ec703f3b051fcf517a6fb4dab97feb994d7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1583c4ec9e8164cc058eb840333ec703f3b051fcf517a6fb4dab97feb994d7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1583c4ec9e8164cc058eb840333ec703f3b051fcf517a6fb4dab97feb994d7b0", kill_on_drop: false }` [INFO] [stdout] 1583c4ec9e8164cc058eb840333ec703f3b051fcf517a6fb4dab97feb994d7b0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3229b5df8ecd3d16f6ba4d4331c56292776f514a61ef4bd7c3b18f7efee9f20d [INFO] running `Command { std: "docker" "start" "-a" "3229b5df8ecd3d16f6ba4d4331c56292776f514a61ef4bd7c3b18f7efee9f20d", 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:135:61 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(any(target_os = "windows", target_os = "linux"), naked)] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(any(target_os = "windows", target_os = "linux"), unsafe(naked))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:135:61 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(any(target_os = "windows", target_os = "linux"), naked)] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(any(target_os = "windows", target_os = "linux"), unsafe(naked))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | fn guard() { [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-07-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | 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 2025-07-09; 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] 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)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/main.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | fn guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | unsafe { [INFO] [stdout] 138 | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | ------------------------------------- not allowed in naked functions [INFO] [stdout] 139 | let rt = &mut *rt_ptr; [INFO] [stdout] | ---------------------- not allowed in naked functions [INFO] [stdout] 140 | println!("THREAD {} FINISHED.", rt.threads[rt.current].id); [INFO] [stdout] | ---------------------------------------------------------- not allowed in naked functions [INFO] [stdout] 141 | rt.t_return(); [INFO] [stdout] | -------------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/main.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | fn guard() { [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-07-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `green_threads` (bin "green_threads" test) due to 6 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 [INFO] running `Command { std: "docker" "inspect" "3229b5df8ecd3d16f6ba4d4331c56292776f514a61ef4bd7c3b18f7efee9f20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3229b5df8ecd3d16f6ba4d4331c56292776f514a61ef4bd7c3b18f7efee9f20d", kill_on_drop: false }` [INFO] [stdout] 3229b5df8ecd3d16f6ba4d4331c56292776f514a61ef4bd7c3b18f7efee9f20d