[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] testing SchrodingerZhu/toylibc against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [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 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ca164c4fd0b021a08d1d19a14024bd80b881a07ca491cca2224cf59f57b5784 [INFO] running `"docker" "start" "-a" "5ca164c4fd0b021a08d1d19a14024bd80b881a07ca491cca2224cf59f57b5784"` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling packed_simd v0.3.3 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling time v0.2.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.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] Compiling paste v0.1.6 [INFO] [stderr] Compiling simdeez v1.0.0 [INFO] [stderr] Compiling rusty-asm v0.2.1 [INFO] [stderr] Compiling 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` is not implemented for `u8` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 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" "5ca164c4fd0b021a08d1d19a14024bd80b881a07ca491cca2224cf59f57b5784"` [INFO] running `"docker" "rm" "-f" "5ca164c4fd0b021a08d1d19a14024bd80b881a07ca491cca2224cf59f57b5784"` [INFO] [stdout] 5ca164c4fd0b021a08d1d19a14024bd80b881a07ca491cca2224cf59f57b5784