[INFO] updating cached repository https://github.com/SchrodingerZhu/toylibc [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 30861c036b0b1166e4a86b99e6e195239a9a8e4d [INFO] checking SchrodingerZhu/toylibc against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSchrodingerZhu%2Ftoylibc" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SchrodingerZhu/toylibc on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/SchrodingerZhu/toylibc [INFO] finished tweaking git repo https://github.com/SchrodingerZhu/toylibc [INFO] tweaked toml for git repo https://github.com/SchrodingerZhu/toylibc written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/SchrodingerZhu/toylibc already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71729e75c52071c82af0abcd8bd9416e5436ba16618f68cbce96fb584aa3863d [INFO] running `"docker" "start" "-a" "71729e75c52071c82af0abcd8bd9416e5436ba16618f68cbce96fb584aa3863d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking time v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking packed_simd v0.3.3 [INFO] [stderr] Checking libm v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling syscalls v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking simdeez v1.0.0 [INFO] [stderr] Compiling rusty-asm v0.2.1 [INFO] [stderr] Checking toylibc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data) : "memory" : "volatile"); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/cpu.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | asm!("pause\n" : : : "memory" : "volatile") [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/parking_lot/elision.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | asm!("xacquire; lock; cmpxchgq $2, $1" [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/parking_lot/elision.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | asm!("xrelease; lock; xaddq $2, $1" [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/types.rs:171:29 [INFO] [stderr] | [INFO] [stderr] 171 | pub fds_bits: [ulong_t; (FD_SETSIZE / (8 * 8))], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/constants.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub const IPC_TIME64: int_t = (IPC_STAT & 0x100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait. [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data) : "memory" : "volatile"); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | asm!("bsf $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | asm!("bsr $1, $0" : "=r"(ans) : "r"(data)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/bitwise.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | asm!("popcnt $1, $0" : "=r"(ans) : "r"(v)); [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/cpu.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | asm!("pause\n" : : : "memory" : "volatile") [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/parking_lot/elision.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | asm!("xacquire; lock; cmpxchgq $2, $1" [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage [INFO] [stderr] --> src/utils/parking_lot/elision.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | asm!("xrelease; lock; xaddq $2, $1" [INFO] [stderr] | ^^^ help: replace the use of the deprecated item: `llvm_asm` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/types.rs:171:29 [INFO] [stderr] | [INFO] [stderr] 171 | pub fds_bits: [ulong_t; (FD_SETSIZE / (8 * 8))], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/constants.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub const IPC_TIME64: int_t = (IPC_STAT & 0x100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: `#[alloc_error_handler]` function required, but not found [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `u8` with `i32` [INFO] [stderr] --> src/posix/thread/vm_lock.rs:7:65 [INFO] [stderr] | [INFO] [stderr] 7 | while core::intrinsics::atomic_load(&VM_LOCK.0 as *const _) != 0 { [INFO] [stderr] | ^^ no implementation for `u8 == i32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `core::cmp::PartialEq` is not implemented for `u8` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `toylibc`. [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[E0277]: can't compare `u8` with `i32` [INFO] [stderr] --> src/posix/thread/vm_lock.rs:7:65 [INFO] [stderr] | [INFO] [stderr] 7 | while core::intrinsics::atomic_load(&VM_LOCK.0 as *const _) != 0 { [INFO] [stderr] | ^^ no implementation for `u8 == i32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `u8` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 14 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `toylibc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "71729e75c52071c82af0abcd8bd9416e5436ba16618f68cbce96fb584aa3863d"` [INFO] running `"docker" "rm" "-f" "71729e75c52071c82af0abcd8bd9416e5436ba16618f68cbce96fb584aa3863d"` [INFO] [stdout] 71729e75c52071c82af0abcd8bd9416e5436ba16618f68cbce96fb584aa3863d