[INFO] cloning repository https://github.com/armoha/dis-zero [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmoha%2Fdis-zero'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70ed9ba2a952d2f0dc18c9a328db6323f500fd3f [INFO] checking armoha/dis-zero against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmoha%2Fdis-zero" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/armoha/dis-zero on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/armoha/dis-zero already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb40d8efb64065e654ba37962663aaf08aa677b130defc6996a6242dd60fac7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb40d8efb64065e654ba37962663aaf08aa677b130defc6996a6242dd60fac7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb40d8efb64065e654ba37962663aaf08aa677b130defc6996a6242dd60fac7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb40d8efb64065e654ba37962663aaf08aa677b130defc6996a6242dd60fac7d", kill_on_drop: false }` [INFO] [stdout] fb40d8efb64065e654ba37962663aaf08aa677b130defc6996a6242dd60fac7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e6f9febc74bead44ef85a65f454d19e8651c3ac790fce428e40a36c4bc1da6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e6f9febc74bead44ef85a65f454d19e8651c3ac790fce428e40a36c4bc1da6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling dis-zero v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_build` [INFO] [stdout] --> src/build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(target_os = "windows")] [INFO] [stdout] 2 | | use winres; [INFO] [stdout] 3 | | #[cfg(target_os = "windows")] [INFO] [stdout] 4 | | use winapi; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/build.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "5e6f9febc74bead44ef85a65f454d19e8651c3ac790fce428e40a36c4bc1da6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6f9febc74bead44ef85a65f454d19e8651c3ac790fce428e40a36c4bc1da6b", kill_on_drop: false }` [INFO] [stdout] 5e6f9febc74bead44ef85a65f454d19e8651c3ac790fce428e40a36c4bc1da6b