[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] checking Mathspy/tokei-now against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Ftokei-now" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/tokei-now on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-14/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-14/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8866c05dbd76e5cb285778ed89791f8231c33236fdee3b90f5c6b19b8ea5dbba [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" "8866c05dbd76e5cb285778ed89791f8231c33236fdee3b90f5c6b19b8ea5dbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8866c05dbd76e5cb285778ed89791f8231c33236fdee3b90f5c6b19b8ea5dbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8866c05dbd76e5cb285778ed89791f8231c33236fdee3b90f5c6b19b8ea5dbba", kill_on_drop: false }` [INFO] [stdout] 8866c05dbd76e5cb285778ed89791f8231c33236fdee3b90f5c6b19b8ea5dbba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb3d278d5fdca63cd34c167c0ef171b9bd8d05cced2bd09b476db54bc6b467f0 [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" "fb3d278d5fdca63cd34c167c0ef171b9bd8d05cced2bd09b476db54bc6b467f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking grep-matcher v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking grep-searcher v0.1.7 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling handlebars v3.5.2 [INFO] [stderr] Compiling tokei v10.1.2 [INFO] [stderr] Checking git2 v0.8.0 [INFO] [stderr] Checking 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `from_language` [INFO] [stdout] --> index.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_language((name, language): (&S, &Language)) -> Lang { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_json` [INFO] [stdout] --> index.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn make_json(languages: Languages) -> Output { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handler` [INFO] [stdout] --> index.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn handler(request: Request<()>) -> http::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fb3d278d5fdca63cd34c167c0ef171b9bd8d05cced2bd09b476db54bc6b467f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3d278d5fdca63cd34c167c0ef171b9bd8d05cced2bd09b476db54bc6b467f0", kill_on_drop: false }` [INFO] [stdout] fb3d278d5fdca63cd34c167c0ef171b9bd8d05cced2bd09b476db54bc6b467f0