[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] 65212e366a0a7b6eb0b6db85a9366ec9d5ade3e4 [INFO] testing moshg/bench-primitives-rs against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoshg%2Fbench-primitives-rs" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moshg/bench-primitives-rs on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-10/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dc50745b98eef0cb71f1333ef1ba98e8eb4ec1c4b1b3250d9fc977397f1561c [INFO] running `"docker" "start" "-a" "3dc50745b98eef0cb71f1333ef1ba98e8eb4ec1c4b1b3250d9fc977397f1561c"` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.1 [INFO] [stderr] Compiling 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; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `bench_primitives`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3dc50745b98eef0cb71f1333ef1ba98e8eb4ec1c4b1b3250d9fc977397f1561c"` [INFO] running `"docker" "rm" "-f" "3dc50745b98eef0cb71f1333ef1ba98e8eb4ec1c4b1b3250d9fc977397f1561c"` [INFO] [stdout] 3dc50745b98eef0cb71f1333ef1ba98e8eb4ec1c4b1b3250d9fc977397f1561c