[INFO] cloning repository https://github.com/ziyi-yan/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/ziyi-yan/green-threads" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyi-yan%2Fgreen-threads", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyi-yan%2Fgreen-threads'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35b0b11681d4da067bf937dd7944f9bd3f17c50b [INFO] checking ziyi-yan/green-threads against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyi-yan%2Fgreen-threads" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziyi-yan/green-threads on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ziyi-yan/green-threads [INFO] finished tweaking git repo https://github.com/ziyi-yan/green-threads [INFO] tweaked toml for git repo https://github.com/ziyi-yan/green-threads written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ziyi-yan/green-threads already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 54cdf9f2a3dce8509bd76c25abd3de4bddaae3967122545f007ab876974d2799 [INFO] running `Command { std: "docker" "start" "-a" "54cdf9f2a3dce8509bd76c25abd3de4bddaae3967122545f007ab876974d2799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54cdf9f2a3dce8509bd76c25abd3de4bddaae3967122545f007ab876974d2799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54cdf9f2a3dce8509bd76c25abd3de4bddaae3967122545f007ab876974d2799", kill_on_drop: false }` [INFO] [stdout] 54cdf9f2a3dce8509bd76c25abd3de4bddaae3967122545f007ab876974d2799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fd9a69df876c8f18550eb8477e58f673e0e02a46b18db5ad5276d56108c3f56 [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" "7fd9a69df876c8f18550eb8477e58f673e0e02a46b18db5ad5276d56108c3f56", kill_on_drop: false }` [INFO] [stderr] Checking green-threads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [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] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/main.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | :"r"(old), "r"(new) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/main.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | :"r"(old), "r"(new) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the LLVM-style inline assembly is unsupported in naked functions [INFO] [stdout] --> src/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / llvm_asm!(" [INFO] [stdout] 185 | | mov %rsp, 0x00($0) [INFO] [stdout] 186 | | mov %r15, 0x08($0) [INFO] [stdout] 187 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 205 | | : "volatile", "alignstack" [INFO] [stdout] 206 | | ); [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] = help: use the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: this warning originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 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] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [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] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/main.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | :"r"(old), "r"(new) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/main.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | :"r"(old), "r"(new) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the LLVM-style inline assembly is unsupported in naked functions [INFO] [stdout] --> src/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / llvm_asm!(" [INFO] [stdout] 185 | | mov %rsp, 0x00($0) [INFO] [stdout] 186 | | mov %r15, 0x08($0) [INFO] [stdout] 187 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 205 | | : "volatile", "alignstack" [INFO] [stdout] 206 | | ); [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] = help: use the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: this warning originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7fd9a69df876c8f18550eb8477e58f673e0e02a46b18db5ad5276d56108c3f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd9a69df876c8f18550eb8477e58f673e0e02a46b18db5ad5276d56108c3f56", kill_on_drop: false }` [INFO] [stdout] 7fd9a69df876c8f18550eb8477e58f673e0e02a46b18db5ad5276d56108c3f56