[INFO] cloning repository https://github.com/dneumair/ffi_bug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dneumair/ffi_bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2fdf000f4b3f880f06ba1b1d604a2ad20343a3f [INFO] testing dneumair/ffi_bug against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dneumair/ffi_bug on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dneumair/ffi_bug [INFO] finished tweaking git repo https://github.com/dneumair/ffi_bug [INFO] tweaked toml for git repo https://github.com/dneumair/ffi_bug written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/dneumair/ffi_bug already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded libloading v0.6.6 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded env_logger v0.8.2 [INFO] [stderr] Downloaded quote v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 301480f4f256f9e44fab7a3afb1101142e733e847e4ec8c6c4f67e666467c57f [INFO] running `Command { std: "docker" "start" "-a" "301480f4f256f9e44fab7a3afb1101142e733e847e4ec8c6c4f67e666467c57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "301480f4f256f9e44fab7a3afb1101142e733e847e4ec8c6c4f67e666467c57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301480f4f256f9e44fab7a3afb1101142e733e847e4ec8c6c4f67e666467c57f", kill_on_drop: false }` [INFO] [stdout] 301480f4f256f9e44fab7a3afb1101142e733e847e4ec8c6c4f67e666467c57f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31eb1d9f8443a3f792c425691613a3a1da37e181924941f205d708adc5255300 [INFO] running `Command { std: "docker" "start" "-a" "31eb1d9f8443a3f792c425691613a3a1da37e181924941f205d708adc5255300", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling ffi_bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_build` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `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 `ffi_bug` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "31eb1d9f8443a3f792c425691613a3a1da37e181924941f205d708adc5255300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31eb1d9f8443a3f792c425691613a3a1da37e181924941f205d708adc5255300", kill_on_drop: false }` [INFO] [stdout] 31eb1d9f8443a3f792c425691613a3a1da37e181924941f205d708adc5255300