[INFO] cloning repository https://github.com/armoha/dis-zero [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/armoha/dis-zero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmoha%2Fdis-zero"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmoha%2Fdis-zero'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c06087b4727ec1849d77c07431e18098ae52dd34 [INFO] checking armoha/dis-zero against master#914adf04af1c1a984707f778da3d04590c03d144 for pr-72331 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmoha%2Fdis-zero" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/armoha/dis-zero on toolchain 914adf04af1c1a984707f778da3d04590c03d144 [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/armoha/dis-zero [INFO] finished tweaking git repo https://github.com/armoha/dis-zero [INFO] tweaked toml for git repo https://github.com/armoha/dis-zero written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/armoha/dis-zero already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+914adf04af1c1a984707f778da3d04590c03d144" "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] ea8fdb80b8b3fc2606a926e91b5b6cd4200158a851519cf00ec9207204fef225 [INFO] running `"docker" "start" "-a" "ea8fdb80b8b3fc2606a926e91b5b6cd4200158a851519cf00ec9207204fef225"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling dis-zero v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `build_script_build` [INFO] [stderr] --> src/build.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[cfg(target_os = "windows")] [INFO] [stderr] 2 | | use winres; [INFO] [stderr] 3 | | #[cfg(target_os = "windows")] [INFO] [stderr] 4 | | use winapi; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/build.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `dis-zero`. [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" "ea8fdb80b8b3fc2606a926e91b5b6cd4200158a851519cf00ec9207204fef225"` [INFO] running `"docker" "rm" "-f" "ea8fdb80b8b3fc2606a926e91b5b6cd4200158a851519cf00ec9207204fef225"` [INFO] [stdout] ea8fdb80b8b3fc2606a926e91b5b6cd4200158a851519cf00ec9207204fef225