[INFO] cloning repository https://github.com/RusPiRo/ruspiro-kernel [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RusPiRo/ruspiro-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusPiRo%2Fruspiro-kernel"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusPiRo%2Fruspiro-kernel'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1328368c72d0b1f0d29e59fe72dbdc4e5fa331e9 [INFO] checking RusPiRo/ruspiro-kernel against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusPiRo%2Fruspiro-kernel" "/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/RusPiRo/ruspiro-kernel on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/RusPiRo/ruspiro-kernel [INFO] removed workspace from git repo https://github.com/RusPiRo/ruspiro-kernel [INFO] finished tweaking git repo https://github.com/RusPiRo/ruspiro-kernel [INFO] tweaked toml for git repo https://github.com/RusPiRo/ruspiro-kernel written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/RusPiRo/ruspiro-kernel already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 46059f0931a679816222dd1a35cdca1e63a0013ba036b1b0d55298cda65c6c64 [INFO] running `"docker" "start" "-a" "46059f0931a679816222dd1a35cdca1e63a0013ba036b1b0d55298cda65c6c64"` [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Checking ruspiro-lock v0.1.0 [INFO] [stderr] Checking ruspiro-register v0.1.1 [INFO] [stderr] Checking ruspiro-allocator-oom v0.1.0 [INFO] [stderr] Compiling ruspiro-allocator v0.1.1 [INFO] [stderr] Compiling ruspiro-boot v0.1.0 [INFO] [stderr] Checking ruspiro-timer v0.1.0 [INFO] [stderr] Checking ruspiro-singleton v0.1.0 [INFO] [stderr] Checking ruspiro-gpio v0.1.0 [INFO] [stderr] error: failed to run custom build command for `ruspiro-allocator v0.1.1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ruspiro-allocator-b4297d4a8a61faa0/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/ruspiro-allocator-678a1e3440fc1425/out/src/memory.o" "-c" "src/memory.c" [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_get_heap_start': [INFO] [stderr] cargo:warning=src/memory.c:65:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= return (unsigned int)&__heap_start; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_get_heap_end': [INFO] [stderr] cargo:warning=src/memory.c:69:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= return (unsigned int)&__heap_end; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_get_heap_size': [INFO] [stderr] cargo:warning=src/memory.c:73:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= return (unsigned int)&__heap_start - (unsigned int)&__heap_end; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:73:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= return (unsigned int)&__heap_start - (unsigned int)&__heap_end; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_alloc': [INFO] [stderr] cargo:warning=src/memory.c:81:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= gHeapStart = (unsigned int)&__heap_start; // initialize the heap pointer at first allocation [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:82:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= gHeapMax = (unsigned int)&__heap_end - (unsigned int)&__heap_start; // calculate the max. available space [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:82:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= gHeapMax = (unsigned int)&__heap_end - (unsigned int)&__heap_start; // calculate the max. available space [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:119:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= gFreeList[uBlock] = (MEMORY_HEADER_T*)pFree->prev; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:126:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= header = (MEMORY_HEADER_T*)gHeapStart; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_alloca': [INFO] [stderr] cargo:warning=src/memory.c:159:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= void** pAlignedBlock = (void **)(((unsigned int)pRealBlock+uAdmin) & ~uPadding); [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:159:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= void** pAlignedBlock = (void **)(((unsigned int)pRealBlock+uAdmin) & ~uPadding); [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_free': [INFO] [stderr] cargo:warning=src/memory.c:171:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= MEMORY_HEADER_T* header = (MEMORY_HEADER_T*)((unsigned int)ptr - sizeof(MEMORY_HEADER_T)); [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:177:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= if ((unsigned int)header + header->psize == gHeapStart) { [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:180:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= gHeapStart = (unsigned int)header; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:197:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= pLastFree->next = (unsigned int)header; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c:199:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] cargo:warning= gFreeList[uBlock]->prev = (unsigned int)pLastFree; [INFO] [stderr] cargo:warning= ^ [INFO] [stderr] cargo:warning=src/memory.c: In function 'm_memset': [INFO] [stderr] cargo:warning=src/memory.c:220:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [INFO] [stderr] cargo:warning= for (int i=0;i