[INFO] cloning repository https://github.com/rifqifatih/malloc_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rifqifatih/malloc_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqifatih%2Fmalloc_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqifatih%2Fmalloc_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c42475b666ce90c14efacb4218d94d3cc1bc9603 [INFO] checking rifqifatih/malloc_rs against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqifatih%2Fmalloc_rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rifqifatih/malloc_rs on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rifqifatih/malloc_rs [INFO] finished tweaking git repo https://github.com/rifqifatih/malloc_rs [INFO] tweaked toml for git repo https://github.com/rifqifatih/malloc_rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rifqifatih/malloc_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51bd8d377b3efb5460e8a13ddfafeaf133c3228b579d28fc036368290089af6d [INFO] running `Command { std: "docker" "start" "-a" "51bd8d377b3efb5460e8a13ddfafeaf133c3228b579d28fc036368290089af6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51bd8d377b3efb5460e8a13ddfafeaf133c3228b579d28fc036368290089af6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51bd8d377b3efb5460e8a13ddfafeaf133c3228b579d28fc036368290089af6d", kill_on_drop: false }` [INFO] [stdout] 51bd8d377b3efb5460e8a13ddfafeaf133c3228b579d28fc036368290089af6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ab7750546a4f74e0e8bb8e487bfb7f687b65f9e72bd8f9a177e8c98e6fc5f27 [INFO] running `Command { std: "docker" "start" "-a" "0ab7750546a4f74e0e8bb8e487bfb7f687b65f9e72bd8f9a177e8c98e6fc5f27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking malloc_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/malloc/syscalls.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | llvm_asm!("syscall" : "={rax}"(ret) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `mutex_unlock` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(mutex_unlock)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/malloc/syscalls.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | llvm_asm!("syscall" : "={rax}"(ret) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `mutex_unlock` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(mutex_unlock)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/queue/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut tail_segment = unsafe { &mut *self.tail_segment }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `malloc_rs` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/malloc/mod.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | Mutex::unlock(lock); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/queue/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut tail_segment = unsafe { &mut *self.tail_segment }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `malloc_rs` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ab7750546a4f74e0e8bb8e487bfb7f687b65f9e72bd8f9a177e8c98e6fc5f27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab7750546a4f74e0e8bb8e487bfb7f687b65f9e72bd8f9a177e8c98e6fc5f27", kill_on_drop: false }` [INFO] [stdout] 0ab7750546a4f74e0e8bb8e487bfb7f687b65f9e72bd8f9a177e8c98e6fc5f27