[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertohuertasm%2Frust-green-threads" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robertohuertasm/rust-green-threads on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b53860a968716b17bc209b4ddda148c85186b45417deaba5b81ea5d979e6162 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b53860a968716b17bc209b4ddda148c85186b45417deaba5b81ea5d979e6162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b53860a968716b17bc209b4ddda148c85186b45417deaba5b81ea5d979e6162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b53860a968716b17bc209b4ddda148c85186b45417deaba5b81ea5d979e6162", kill_on_drop: false }` [INFO] [stdout] 7b53860a968716b17bc209b4ddda148c85186b45417deaba5b81ea5d979e6162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 018b35d7315997e877ce9ed866e45ae245ec179323e43f2913b0980edbb27b78 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "018b35d7315997e877ce9ed866e45ae245ec179323e43f2913b0980edbb27b78", kill_on_drop: false }` [INFO] [stderr] Checking green_threads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | ___help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 119 | | mov %rsp, 0x00($0) [INFO] [stdout] 120 | | mov %r15, 0x08($0) [INFO] [stdout] 121 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 140 | | : "alignstack" // needed to work on windows [INFO] [stdout] 141 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | ___help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 119 | | mov %rsp, 0x00($0) [INFO] [stdout] 120 | | mov %r15, 0x08($0) [INFO] [stdout] 121 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 140 | | : "alignstack" // needed to work on windows [INFO] [stdout] 141 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / fn guard() { [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] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 118 | | asm!(" [INFO] [stdout] 119 | | mov %rsp, 0x00($0) [INFO] [stdout] 120 | | mov %r15, 0x08($0) [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn guard() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / fn guard() { [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] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 118 | | asm!(" [INFO] [stdout] 119 | | mov %rsp, 0x00($0) [INFO] [stdout] 120 | | mov %r15, 0x08($0) [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `green_threads` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "018b35d7315997e877ce9ed866e45ae245ec179323e43f2913b0980edbb27b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018b35d7315997e877ce9ed866e45ae245ec179323e43f2913b0980edbb27b78", kill_on_drop: false }` [INFO] [stdout] 018b35d7315997e877ce9ed866e45ae245ec179323e43f2913b0980edbb27b78