[INFO] updating cached repository https://github.com/shingtaklam1324/rust-game [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] 20cf6c57012350d2e1325809b21a4e0b528d3948 [INFO] checking shingtaklam1324/rust-game against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshingtaklam1324%2Frust-game" "/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/shingtaklam1324/rust-game on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/shingtaklam1324/rust-game [INFO] finished tweaking git repo https://github.com/shingtaklam1324/rust-game [INFO] tweaked toml for git repo https://github.com/shingtaklam1324/rust-game written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/shingtaklam1324/rust-game already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "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=allow" "-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" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 82868d0ce227519148c252ced8dc6c4e1d36501fbe705a68d5014921c2452108 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "82868d0ce227519148c252ced8dc6c4e1d36501fbe705a68d5014921c2452108"` [INFO] [stderr] Compiling bitflags v1.0.0 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Checking rayon-core v1.2.1 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking arrayvec v0.4.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking x11-dl v2.15.0 [INFO] [stderr] Checking pistoncore-input v0.19.0 [INFO] [stderr] Compiling xml-rs v0.6.2 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.2.3 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking piston2d-graphics v0.23.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking pistoncore-window v0.29.0 [INFO] [stderr] Checking pistoncore-event_loop v0.34.0 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling gl v0.6.3 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking piston v0.34.0 [INFO] [stderr] Checking image v0.16.0 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking pistoncore-glutin_window v0.40.1 [INFO] [stderr] Checking gfx v0.16.1 [INFO] [stderr] Checking gfx_device_gl v0.14.4 [INFO] [stderr] Checking piston-gfx_texture v0.28.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.45.0 [INFO] [stderr] Checking piston_window v0.72.0 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `game` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate find_folder; [INFO] [stderr] 2 | | extern crate piston_window; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use piston_window::*; [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 `game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "82868d0ce227519148c252ced8dc6c4e1d36501fbe705a68d5014921c2452108"` [INFO] running `"docker" "rm" "-f" "82868d0ce227519148c252ced8dc6c4e1d36501fbe705a68d5014921c2452108"` [INFO] [stdout] 82868d0ce227519148c252ced8dc6c4e1d36501fbe705a68d5014921c2452108