[INFO] updating cached repository https://github.com/Brumo21/text-editor-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] 96e6f97e375f55d234fb5758b4cf576e44bf01cb [INFO] checking Brumo21/text-editor-rs against master#914adf04af1c1a984707f778da3d04590c03d144 for pr-72331 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrumo21%2Ftext-editor-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/Brumo21/text-editor-rs on toolchain 914adf04af1c1a984707f778da3d04590c03d144 [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Brumo21/text-editor-rs [INFO] finished tweaking git repo https://github.com/Brumo21/text-editor-rs [INFO] tweaked toml for git repo https://github.com/Brumo21/text-editor-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Brumo21/text-editor-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "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" "+914adf04af1c1a984707f778da3d04590c03d144" "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] 69a20c44cd131f9bf1ad3b749342d8ff1cc040e03d829b395c715eaf00770105 [INFO] running `"docker" "start" "-a" "69a20c44cd131f9bf1ad3b749342d8ff1cc040e03d829b395c715eaf00770105"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling tinyfiledialogs v3.3.9 [INFO] [stderr] Checking text_editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `text_editor` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![cfg(windows)] [INFO] [stderr] 2 | | // Uncomment this if you dont want a console [INFO] [stderr] 3 | | //#![windows_subsystem = "windows"] [INFO] [stderr] 4 | | [INFO] [stderr] ... | [INFO] [stderr] 145 | | } [INFO] [stderr] 146 | | } [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 `text_editor`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "69a20c44cd131f9bf1ad3b749342d8ff1cc040e03d829b395c715eaf00770105"` [INFO] running `"docker" "rm" "-f" "69a20c44cd131f9bf1ad3b749342d8ff1cc040e03d829b395c715eaf00770105"` [INFO] [stdout] 69a20c44cd131f9bf1ad3b749342d8ff1cc040e03d829b395c715eaf00770105