[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] checking Mathspy/unsafe-now against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Funsafe-now" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Mathspy/unsafe-now on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] f0c8548ea426bc82709a9e9127fb4f040f88f274c268b0516904cad8021657aa
[INFO] running `"docker" "start" "-a" "f0c8548ea426bc82709a9e9127fb4f040f88f274c268b0516904cad8021657aa"`
[INFO] [stderr]    Compiling syn v0.15.35
[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]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking proc-macro2 v0.4.30
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling openssl-sys v0.9.42
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking http v0.1.17
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking geiger v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.89
[INFO] [stderr]     Checking serde v1.0.92
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking git2 v0.9.1
[INFO] [stderr]     Checking 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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: function is never used: `handler`
[INFO] [stderr]    --> index.rs:121:4
[INFO] [stderr]     |
[INFO] [stderr] 121 | fn handler(request: Request<()>) -> http::Result<Response<String>> {
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "f0c8548ea426bc82709a9e9127fb4f040f88f274c268b0516904cad8021657aa"`
[INFO] running `"docker" "rm" "-f" "f0c8548ea426bc82709a9e9127fb4f040f88f274c268b0516904cad8021657aa"`
[INFO] [stdout] f0c8548ea426bc82709a9e9127fb4f040f88f274c268b0516904cad8021657aa
