[INFO] cloning repository https://github.com/Mathspy/tokei-now [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mathspy/tokei-now" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Ftokei-now", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Ftokei-now'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7236a1f9328a0de434f2312fbe90b03f2f9a4cce [INFO] testing Mathspy/tokei-now against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Ftokei-now" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/tokei-now on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mathspy/tokei-now [INFO] finished tweaking git repo https://github.com/Mathspy/tokei-now [INFO] tweaked toml for git repo https://github.com/Mathspy/tokei-now written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Mathspy/tokei-now already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4879056f0bd511bc7b9d3fe4e13cabbd934762c5b12a841a268c1e241ae498ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4879056f0bd511bc7b9d3fe4e13cabbd934762c5b12a841a268c1e241ae498ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4879056f0bd511bc7b9d3fe4e13cabbd934762c5b12a841a268c1e241ae498ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4879056f0bd511bc7b9d3fe4e13cabbd934762c5b12a841a268c1e241ae498ff", kill_on_drop: false }` [INFO] [stdout] 4879056f0bd511bc7b9d3fe4e13cabbd934762c5b12a841a268c1e241ae498ff [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 992e9bb01d5d3cb78840b64335f155d583ca776caa7948e6a9eddbdc8905ce01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "992e9bb01d5d3cb78840b64335f155d583ca776caa7948e6a9eddbdc8905ce01", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bytecount v0.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling grep-matcher v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling grep-searcher v0.1.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling handlebars v3.5.1 [INFO] [stderr] Compiling tokei v10.1.2 [INFO] [stderr] Compiling git2 v0.8.0 [INFO] [stderr] Compiling tokei-now v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `tokei_now` [INFO] [stdout] --> index.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use core::fmt::Display; [INFO] [stdout] 2 | | use git2::Repository; [INFO] [stdout] 3 | | use http::{header, Request, Response, StatusCode}; [INFO] [stdout] 4 | | use serde::{Deserialize, Serialize}; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `index.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 `tokei-now` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "992e9bb01d5d3cb78840b64335f155d583ca776caa7948e6a9eddbdc8905ce01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992e9bb01d5d3cb78840b64335f155d583ca776caa7948e6a9eddbdc8905ce01", kill_on_drop: false }` [INFO] [stdout] 992e9bb01d5d3cb78840b64335f155d583ca776caa7948e6a9eddbdc8905ce01