[INFO] updating cached repository https://github.com/Mathspy/unsafe-now [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] 9f94bdda5780c5049c136d39e10139efbdbdde88 [INFO] testing Mathspy/unsafe-now against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Funsafe-now" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/unsafe-now 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/Mathspy/unsafe-now [INFO] finished tweaking git repo https://github.com/Mathspy/unsafe-now [INFO] tweaked toml for git repo https://github.com/Mathspy/unsafe-now written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Mathspy/unsafe-now 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 5fe8d26940442506229db5c4ba7391f084db84a584b645ed89e4cc1e2d317197 [INFO] running `"docker" "start" "-a" "5fe8d26940442506229db5c4ba7391f084db84a584b645ed89e4cc1e2d317197"` [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling libgit2-sys v0.8.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling geiger v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling git2 v0.9.1 [INFO] [stderr] Compiling unsafe-now v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `index` [INFO] [stderr] --> index.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use geiger::{find_unsafe_in_file, Count, CounterBlock, IncludeTests, ScanFileError}; [INFO] [stderr] 2 | | use git2::Repository; [INFO] [stderr] 3 | | use http::{header, Request, Response, StatusCode}; [INFO] [stderr] 4 | | use serde::Serialize; [INFO] [stderr] ... | [INFO] [stderr] 165 | | } [INFO] [stderr] 166 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `index.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 `unsafe-now`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5fe8d26940442506229db5c4ba7391f084db84a584b645ed89e4cc1e2d317197"` [INFO] running `"docker" "rm" "-f" "5fe8d26940442506229db5c4ba7391f084db84a584b645ed89e4cc1e2d317197"` [INFO] [stdout] 5fe8d26940442506229db5c4ba7391f084db84a584b645ed89e4cc1e2d317197