[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] testing playXE/green-threads-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgreen-threads-rs" "/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/playXE/green-threads-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-5/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded syn v1.0.13 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe5d5cb23058985c166d976dc3cb0d8cd7ea4f6deb4db8882a52dbe1f856803 [INFO] running `Command { std: "docker" "start" "-a" "4fe5d5cb23058985c166d976dc3cb0d8cd7ea4f6deb4db8882a52dbe1f856803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe5d5cb23058985c166d976dc3cb0d8cd7ea4f6deb4db8882a52dbe1f856803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe5d5cb23058985c166d976dc3cb0d8cd7ea4f6deb4db8882a52dbe1f856803", kill_on_drop: false }` [INFO] [stdout] 4fe5d5cb23058985c166d976dc3cb0d8cd7ea4f6deb4db8882a52dbe1f856803 [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99457f97ca1ae2915a00833c9df0d700be3fb350c1cb600713f86d88e5116da5 [INFO] running `Command { std: "docker" "start" "-a" "99457f97ca1ae2915a00833c9df0d700be3fb350c1cb600713f86d88e5116da5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling greenie v0.1.0 (/opt/rustwide/workdir/greenie) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> greenie/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmt` [INFO] [stdout] --> greenie/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | stmt: Stmt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple-green-threads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(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: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] [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] [INFO] [stdout] error[E0787]: 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] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-green-threads` due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99457f97ca1ae2915a00833c9df0d700be3fb350c1cb600713f86d88e5116da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99457f97ca1ae2915a00833c9df0d700be3fb350c1cb600713f86d88e5116da5", kill_on_drop: false }` [INFO] [stdout] 99457f97ca1ae2915a00833c9df0d700be3fb350c1cb600713f86d88e5116da5