[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftychota%2Fgreen-thread" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tychota/green-thread on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/tychota/green-thread already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a183cc16bcf58b1165b1f803be6d4f0f6e6613bb720ead5ef20c7805d4f625b2 [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" "a183cc16bcf58b1165b1f803be6d4f0f6e6613bb720ead5ef20c7805d4f625b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a183cc16bcf58b1165b1f803be6d4f0f6e6613bb720ead5ef20c7805d4f625b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a183cc16bcf58b1165b1f803be6d4f0f6e6613bb720ead5ef20c7805d4f625b2", kill_on_drop: false }` [INFO] [stdout] a183cc16bcf58b1165b1f803be6d4f0f6e6613bb720ead5ef20c7805d4f625b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 477f926919c481b71e184fd2a88569ed15dbab78a4afe6e116a1b06a9afc6f6b [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" "477f926919c481b71e184fd2a88569ed15dbab78a4afe6e116a1b06a9afc6f6b", 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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 156 | | mov $0, %rdi [INFO] [stdout] 157 | | mov %rsp, 0x00(%rdi) [INFO] [stdout] 158 | | mov %r15, 0x08(%rdi) [INFO] [stdout] ... | [INFO] [stdout] 179 | | : "volatile", "alignstack" [INFO] [stdout] 180 | | ); [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:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | 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:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / fn guard() { [INFO] [stdout] 137 | | unsafe { [INFO] [stdout] 138 | | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 139 | | let rt = &mut *rt_ptr; [INFO] [stdout] | | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 140 | | println!("THREAD {} FINISHED.", rt.threads[rt.current].id); [INFO] [stdout] | | ----------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 141 | | rt.t_return(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [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:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 155 | | asm!(" [INFO] [stdout] 156 | | mov $0, %rdi [INFO] [stdout] 157 | | mov %rsp, 0x00(%rdi) [INFO] [stdout] ... | [INFO] [stdout] 180 | | ); [INFO] [stdout] 181 | | } [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: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 156 | | mov $0, %rdi [INFO] [stdout] 157 | | mov %rsp, 0x00(%rdi) [INFO] [stdout] 158 | | mov %r15, 0x08(%rdi) [INFO] [stdout] ... | [INFO] [stdout] 179 | | : "volatile", "alignstack" [INFO] [stdout] 180 | | ); [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:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | 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:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / fn guard() { [INFO] [stdout] 137 | | unsafe { [INFO] [stdout] 138 | | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 139 | | let rt = &mut *rt_ptr; [INFO] [stdout] | | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 140 | | println!("THREAD {} FINISHED.", rt.threads[rt.current].id); [INFO] [stdout] | | ----------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 141 | | rt.t_return(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [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:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 155 | | asm!(" [INFO] [stdout] 156 | | mov $0, %rdi [INFO] [stdout] 157 | | mov %rsp, 0x00(%rdi) [INFO] [stdout] ... | [INFO] [stdout] 180 | | ); [INFO] [stdout] 181 | | } [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" "477f926919c481b71e184fd2a88569ed15dbab78a4afe6e116a1b06a9afc6f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477f926919c481b71e184fd2a88569ed15dbab78a4afe6e116a1b06a9afc6f6b", kill_on_drop: false }` [INFO] [stdout] 477f926919c481b71e184fd2a88569ed15dbab78a4afe6e116a1b06a9afc6f6b