[INFO] cloning repository https://github.com/playXE/green-threads-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playXE/green-threads-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgreen-threads-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgreen-threads-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 924c31a6d8503d470ce27fa72ed982a544ccc2ba [INFO] checking playXE/green-threads-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgreen-threads-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/playXE/green-threads-rs 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/playXE/green-threads-rs [INFO] removed path dependency greenie from git repo https://github.com/playXE/green-threads-rs [INFO] finished tweaking git repo https://github.com/playXE/green-threads-rs [INFO] tweaked toml for git repo https://github.com/playXE/green-threads-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/playXE/green-threads-rs 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] [stderr] warning: dependency (greenie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (greenie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f26b2f5d68f7d062320e24c906f2682f3076163cd7935f64e83a29764c1cfb0 [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" "4f26b2f5d68f7d062320e24c906f2682f3076163cd7935f64e83a29764c1cfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f26b2f5d68f7d062320e24c906f2682f3076163cd7935f64e83a29764c1cfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f26b2f5d68f7d062320e24c906f2682f3076163cd7935f64e83a29764c1cfb0", kill_on_drop: false }` [INFO] [stdout] 4f26b2f5d68f7d062320e24c906f2682f3076163cd7935f64e83a29764c1cfb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9020bbf4b4cd7aed892dc82b14bc3cc335f004eea4e83d3af6942f5e4cc85f1 [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" "a9020bbf4b4cd7aed892dc82b14bc3cc335f004eea4e83d3af6942f5e4cc85f1", kill_on_drop: false }` [INFO] [stderr] warning: dependency (greenie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling greenie v0.4.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking intrusive-collections v0.8.5 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking hjul v0.2.2 [INFO] [stderr] Compiling greenie-proc v0.2.0 [INFO] [stderr] Checking simple-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:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 154 | | mov %rsp, 0x00($0) [INFO] [stdout] 155 | | mov %r15, 0x08($0) [INFO] [stdout] 156 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 173 | | : "alignstack" // needed to work on windows [INFO] [stdout] 174 | | ); [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:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 154 | | mov %rsp, 0x00($0) [INFO] [stdout] 155 | | mov %r15, 0x08($0) [INFO] [stdout] 156 | | mov %r14, 0x10($0) [INFO] [stdout] ... | [INFO] [stdout] 173 | | : "alignstack" // needed to work on windows [INFO] [stdout] 174 | | ); [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: unused macro definition [INFO] [stdout] --> src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / macro_rules! green_yield { [INFO] [stdout] 180 | | () => { [INFO] [stdout] 181 | | yield_thread(); [INFO] [stdout] 182 | | }; [INFO] [stdout] 183 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | 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:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn guard() { [INFO] [stdout] 135 | | unsafe { [INFO] [stdout] 136 | | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 137 | | let rt = &mut *rt_ptr; [INFO] [stdout] | | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 138 | | println!("THREAD {} FINISHED.", rt.threads[rt.current].id); [INFO] [stdout] | | ----------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 139 | | rt.t_return(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 140 | | }; [INFO] [stdout] 141 | | } [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: unused macro definition [INFO] [stdout] --> src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / macro_rules! green_yield { [INFO] [stdout] 180 | | () => { [INFO] [stdout] 181 | | yield_thread(); [INFO] [stdout] 182 | | }; [INFO] [stdout] 183 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | 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:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / fn guard() { [INFO] [stdout] 135 | | unsafe { [INFO] [stdout] 136 | | let rt_ptr = RUNTIME as *mut Runtime; [INFO] [stdout] | | ------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 137 | | let rt = &mut *rt_ptr; [INFO] [stdout] | | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 138 | | println!("THREAD {} FINISHED.", rt.threads[rt.current].id); [INFO] [stdout] | | ----------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 139 | | rt.t_return(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 140 | | }; [INFO] [stdout] 141 | | } [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:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | 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: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/main.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | 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:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 153 | | asm!(" [INFO] [stdout] 154 | | mov %rsp, 0x00($0) [INFO] [stdout] 155 | | mov %r15, 0x08($0) [INFO] [stdout] ... | [INFO] [stdout] 174 | | ); [INFO] [stdout] 175 | | } [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:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / unsafe fn switch(old: *mut ThreadContext, new: *const ThreadContext) { [INFO] [stdout] 153 | | asm!(" [INFO] [stdout] 154 | | mov %rsp, 0x00($0) [INFO] [stdout] 155 | | mov %r15, 0x08($0) [INFO] [stdout] ... | [INFO] [stdout] 174 | | ); [INFO] [stdout] 175 | | } [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-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] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9020bbf4b4cd7aed892dc82b14bc3cc335f004eea4e83d3af6942f5e4cc85f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9020bbf4b4cd7aed892dc82b14bc3cc335f004eea4e83d3af6942f5e4cc85f1", kill_on_drop: false }` [INFO] [stdout] a9020bbf4b4cd7aed892dc82b14bc3cc335f004eea4e83d3af6942f5e4cc85f1