[INFO] updating cached repository https://github.com/Kilerd/leetcode-rust [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] 310caca701e4360b41d93a8f8f167e7ea4c56a1b [INFO] checking Kilerd/leetcode-rust against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust" "/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/Kilerd/leetcode-rust on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Kilerd/leetcode-rust [INFO] removed workspace from git repo https://github.com/Kilerd/leetcode-rust [INFO] finished tweaking git repo https://github.com/Kilerd/leetcode-rust [INFO] tweaked toml for git repo https://github.com/Kilerd/leetcode-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Kilerd/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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=allow" "-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" "+beta-2019-10-27" "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] d8b98a92bf0d90eaf9526026d3a09320dc1b4c8e9cb8d94a0a19bc939203e91e [INFO] running `"docker" "start" "-a" "d8b98a92bf0d90eaf9526026d3a09320dc1b4c8e9cb8d94a0a19bc939203e91e"` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `leetcode` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / mod list; [INFO] [stderr] 2 | | mod zigzag_conversion; [INFO] [stderr] 3 | | mod add_two_number; [INFO] [stderr] 4 | | mod jewels_and_stones; [INFO] [stderr] ... | [INFO] [stderr] 35 | | mod implement_strstr; [INFO] [stderr] 36 | | mod divide_two_integers; [INFO] [stderr] | |________________________^ the main function must be defined at the crate level (in `src/main.rs`) [INFO] [stderr] | [INFO] [stderr] note: here is a function named `main` [INFO] [stderr] --> src/big_countries.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / fn main() { [INFO] [stderr] 11 | | let sql = "select name, population, area from World where area > 3000000 or population > 25000000;"; [INFO] [stderr] 12 | | println!("{}", sql); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: you have one or more functions named `main` not defined at the crate level [INFO] [stderr] = help: either move the `main` function definitions or attach the `#[main]` attribute to one of them [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 `leetcode`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "d8b98a92bf0d90eaf9526026d3a09320dc1b4c8e9cb8d94a0a19bc939203e91e"` [INFO] running `"docker" "rm" "-f" "d8b98a92bf0d90eaf9526026d3a09320dc1b4c8e9cb8d94a0a19bc939203e91e"` [INFO] [stdout] d8b98a92bf0d90eaf9526026d3a09320dc1b4c8e9cb8d94a0a19bc939203e91e