[INFO] cloning repository https://github.com/alvinmatias69/simple-github-bot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvinmatias69/simple-github-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinmatias69%2Fsimple-github-bot"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinmatias69%2Fsimple-github-bot'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 72f4ec87b5e99c0274a745944c96a9fd9c83c2e2 [INFO] checking alvinmatias69/simple-github-bot against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinmatias69%2Fsimple-github-bot" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alvinmatias69/simple-github-bot on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/alvinmatias69/simple-github-bot [INFO] finished tweaking git repo https://github.com/alvinmatias69/simple-github-bot [INFO] tweaked toml for git repo https://github.com/alvinmatias69/simple-github-bot written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/alvinmatias69/simple-github-bot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 33c60abf16070551e11890699a862bf75bf5c2a122e384e5f057ceaa9945a039 [INFO] running `"docker" "start" "-a" "33c60abf16070551e11890699a862bf75bf5c2a122e384e5f057ceaa9945a039"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling lambda_runtime_core v0.1.1 [INFO] [stderr] Checking lambda_runtime_errors v0.1.0 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.17 [INFO] [stderr] Checking hyper v0.12.25 [INFO] [stderr] Checking lambda_runtime_client v0.2.1 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.11 [INFO] [stderr] Checking lambda_runtime v0.2.0 [INFO] [stderr] Checking nyaa-scraper 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 http::{self, Request, Response}; [INFO] [stderr] 2 | | use reqwest::{header, Client}; [INFO] [stderr] 3 | | use serde_json; [INFO] [stderr] 4 | | use serde_json::{json, Value}; [INFO] [stderr] ... | [INFO] [stderr] 43 | | Ok(Response::default()) [INFO] [stderr] 44 | | } [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 `nyaa-scraper`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: function is never used: `handler` [INFO] [stderr] --> index.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | fn handler(request: Request) -> http::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "33c60abf16070551e11890699a862bf75bf5c2a122e384e5f057ceaa9945a039"` [INFO] running `"docker" "rm" "-f" "33c60abf16070551e11890699a862bf75bf5c2a122e384e5f057ceaa9945a039"` [INFO] [stdout] 33c60abf16070551e11890699a862bf75bf5c2a122e384e5f057ceaa9945a039