[INFO] cloning repository https://github.com/robertohuertasm/rust-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/robertohuertasm/rust-green-threads" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertohuertasm%2Frust-green-threads", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertohuertasm%2Frust-green-threads'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92c58744f87c3a7f929c8ce1fe321752740b161c [INFO] checking robertohuertasm/rust-green-threads against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertohuertasm%2Frust-green-threads" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robertohuertasm/rust-green-threads on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robertohuertasm/rust-green-threads [INFO] finished tweaking git repo https://github.com/robertohuertasm/rust-green-threads [INFO] tweaked toml for git repo https://github.com/robertohuertasm/rust-green-threads written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robertohuertasm/rust-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a798578f3cbdc667081928cbacafcde7c151fbe324c5b94b6b946dab3e0dc92e [INFO] running `Command { std: "docker" "start" "-a" "a798578f3cbdc667081928cbacafcde7c151fbe324c5b94b6b946dab3e0dc92e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a798578f3cbdc667081928cbacafcde7c151fbe324c5b94b6b946dab3e0dc92e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a798578f3cbdc667081928cbacafcde7c151fbe324c5b94b6b946dab3e0dc92e", kill_on_drop: false }` [INFO] [stdout] a798578f3cbdc667081928cbacafcde7c151fbe324c5b94b6b946dab3e0dc92e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5594e199c2c2de742fa97c8e987761827c175a7c28ea311a916a3da91fcd637 [INFO] running `Command { std: "docker" "start" "-a" "e5594e199c2c2de742fa97c8e987761827c175a7c28ea311a916a3da91fcd637", 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:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 3 + 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:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 3 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 101 | unsafe { [INFO] [stdout] 102 | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 103 | let rt = &mut *rt_ptr; [INFO] [stdout] | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 104 | println!("THREAD {} FINISHED", rt.threads[rt.current].id); [INFO] [stdout] | --------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 105 | rt.t_return(); [INFO] [stdout] | -------------- non-asm is unsupported in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 101 | unsafe { [INFO] [stdout] 102 | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 103 | let rt = &mut *rt_ptr; [INFO] [stdout] | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 104 | println!("THREAD {} FINISHED", rt.threads[rt.current].id); [INFO] [stdout] | --------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 105 | rt.t_return(); [INFO] [stdout] | -------------- non-asm is unsupported in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stderr] error: could not compile `green_threads` (bin "green_threads") due to 3 previous errors; 3 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 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e5594e199c2c2de742fa97c8e987761827c175a7c28ea311a916a3da91fcd637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5594e199c2c2de742fa97c8e987761827c175a7c28ea311a916a3da91fcd637", kill_on_drop: false }` [INFO] [stdout] e5594e199c2c2de742fa97c8e987761827c175a7c28ea311a916a3da91fcd637