[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Ftokei-now" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/tokei-now on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-9/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokei v10.1.2 [INFO] running `Command { std: "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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d64bf3ec76efff61792c5ecd4c7c3e08f87b978fb2571e8709285cedb4a04a2 [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" "2d64bf3ec76efff61792c5ecd4c7c3e08f87b978fb2571e8709285cedb4a04a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d64bf3ec76efff61792c5ecd4c7c3e08f87b978fb2571e8709285cedb4a04a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d64bf3ec76efff61792c5ecd4c7c3e08f87b978fb2571e8709285cedb4a04a2", kill_on_drop: false }` [INFO] [stdout] 2d64bf3ec76efff61792c5ecd4c7c3e08f87b978fb2571e8709285cedb4a04a2 [INFO] running `Command { std: "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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58fc5a9e3e3d4e4a9efd903a9e2f682604f1c96f527644441e7e1d93deb95705 [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" "58fc5a9e3e3d4e4a9efd903a9e2f682604f1c96f527644441e7e1d93deb95705", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking grep-matcher v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [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 iovec v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling curl-sys v0.4.41+curl-7.75.0 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking grep-searcher v0.1.7 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling handlebars v3.5.3 [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" "58fc5a9e3e3d4e4a9efd903a9e2f682604f1c96f527644441e7e1d93deb95705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fc5a9e3e3d4e4a9efd903a9e2f682604f1c96f527644441e7e1d93deb95705", kill_on_drop: false }` [INFO] [stdout] 58fc5a9e3e3d4e4a9efd903a9e2f682604f1c96f527644441e7e1d93deb95705