[INFO] updating cached repository https://github.com/shingtaklam1324/rust-game [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing shingtaklam1324/rust-game against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshingtaklam1324%2Frust-game" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shingtaklam1324/rust-game on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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 work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/shingtaklam1324/rust-game already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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-09-28" "build" "--frozen"` [INFO] [stdout] 4b5ec6e37d4d624e38d89287bfafa45db7a4f59447c9a9b0933c1cefbc23389f [INFO] running `"docker" "start" "-a" "4b5ec6e37d4d624e38d89287bfafa45db7a4f59447c9a9b0933c1cefbc23389f"` [INFO] [stderr] Compiling xml-rs v0.6.2 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.2 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling png v0.10.0 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling pistoncore-input v0.19.0 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.2.3 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling pistoncore-window v0.29.0 [INFO] [stderr] Compiling piston2d-graphics v0.23.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling gl v0.6.3 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling pistoncore-event_loop v0.34.0 [INFO] [stderr] Compiling piston v0.34.0 [INFO] [stderr] Compiling image v0.16.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling pistoncore-glutin_window v0.40.1 [INFO] [stderr] Compiling gfx v0.16.1 [INFO] [stderr] Compiling gfx_device_gl v0.14.4 [INFO] [stderr] Compiling piston-gfx_texture v0.28.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.45.0 [INFO] [stderr] Compiling piston_window v0.72.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `piston_window::*` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use piston_window::*; [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 `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" "4b5ec6e37d4d624e38d89287bfafa45db7a4f59447c9a9b0933c1cefbc23389f"` [INFO] running `"docker" "rm" "-f" "4b5ec6e37d4d624e38d89287bfafa45db7a4f59447c9a9b0933c1cefbc23389f"` [INFO] [stdout] 4b5ec6e37d4d624e38d89287bfafa45db7a4f59447c9a9b0933c1cefbc23389f