[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#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSchrodingerZhu%2Ftoylibc" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SchrodingerZhu/toylibc on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-12/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 23b41da2efd75ac1ccff3abe79071532bee717b8a3e373b8836dc5a7859111e9
[INFO] running `"docker" "start" "-a" "23b41da2efd75ac1ccff3abe79071532bee717b8a3e373b8836dc5a7859111e9"`
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling packed_simd v0.3.3
[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 rand v0.4.6
[INFO] [stderr]     Checking time v0.2.0
[INFO] [stderr]     Checking smallvec v1.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]     Checking libm v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]     Checking num-traits v0.2.10
[INFO] [stderr]     Checking lock_api v0.3.2
[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] 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: 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<i32>` is not implemented for `u8`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[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: build failed
[INFO] running `"docker" "inspect" "23b41da2efd75ac1ccff3abe79071532bee717b8a3e373b8836dc5a7859111e9"`
[INFO] running `"docker" "rm" "-f" "23b41da2efd75ac1ccff3abe79071532bee717b8a3e373b8836dc5a7859111e9"`
[INFO] [stdout] 23b41da2efd75ac1ccff3abe79071532bee717b8a3e373b8836dc5a7859111e9
