[INFO] updating cached repository https://github.com/moshg/bench-primitives-rs [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] a23df6d26978f9d36109b123687f7aa5ad44a73b [INFO] checking moshg/bench-primitives-rs against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoshg%2Fbench-primitives-rs" "/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/moshg/bench-primitives-rs on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/moshg/bench-primitives-rs [INFO] finished tweaking git repo https://github.com/moshg/bench-primitives-rs [INFO] tweaked toml for git repo https://github.com/moshg/bench-primitives-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/moshg/bench-primitives-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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=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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] 027136093abc6b9459e4b60f8b288b3d681eb78d2c9c3f6c410092ef7c6a18cd [INFO] running `"docker" "start" "-a" "027136093abc6b9459e4b60f8b288b3d681eb78d2c9c3f6c410092ef7c6a18cd"` [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.1 [INFO] [stderr] Checking bench_primitives v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use rand::{random, Rng, distributions::{Distribution, Standard}}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `bench_primitives` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![feature(test)] [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | extern crate test; [INFO] [stderr] 4 | | extern crate rand; [INFO] [stderr] ... | [INFO] [stderr] 110 | | }) [INFO] [stderr] 111 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/main.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 `bench_primitives`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "027136093abc6b9459e4b60f8b288b3d681eb78d2c9c3f6c410092ef7c6a18cd"` [INFO] running `"docker" "rm" "-f" "027136093abc6b9459e4b60f8b288b3d681eb78d2c9c3f6c410092ef7c6a18cd"` [INFO] [stdout] 027136093abc6b9459e4b60f8b288b3d681eb78d2c9c3f6c410092ef7c6a18cd