[INFO] updating cached repository https://github.com/jimmyngo/rust-parsetime [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] c6c6b6838456f3e77b30d017eb072fd067e4dc51 [INFO] testing jimmyngo/rust-parsetime against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmyngo/rust-parsetime 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/jimmyngo/rust-parsetime [INFO] finished tweaking git repo https://github.com/jimmyngo/rust-parsetime [INFO] tweaked toml for git repo https://github.com/jimmyngo/rust-parsetime written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jimmyngo/rust-parsetime 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] [stderr] warning: path `/big/crater/work/builds/worker-7/source/src/parsetime.rs` was erroneously implicitly accepted for library `parsetime`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/big/crater/work/builds/worker-7/source/src/parsetime.rs` was erroneously implicitly accepted for library `parsetime`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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] b23f5399e382f95255aa0bd865c11c79d465f68fc35a0552575cea8fa6f171f0 [INFO] running `"docker" "start" "-a" "b23f5399e382f95255aa0bd865c11c79d465f68fc35a0552575cea8fa6f171f0"` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/parsetime.rs` was erroneously implicitly accepted for library `parsetime`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `parsetime` in package `parsetime v0.1.0 (/opt/rustwide/workdir)` has the same output filename as the lib target `parsetime` in package `parsetime v0.1.0 (/opt/rustwide/workdir)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/parsetime [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling parsetime v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `parsetime` [INFO] [stderr] --> src/parsetime.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate time; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | #[derive(Clone, Debug)] [INFO] [stderr] 4 | | enum Token { [INFO] [stderr] ... | [INFO] [stderr] 258 | | return time; [INFO] [stderr] 259 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/parsetime.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 `parsetime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b23f5399e382f95255aa0bd865c11c79d465f68fc35a0552575cea8fa6f171f0"` [INFO] running `"docker" "rm" "-f" "b23f5399e382f95255aa0bd865c11c79d465f68fc35a0552575cea8fa6f171f0"` [INFO] [stdout] b23f5399e382f95255aa0bd865c11c79d465f68fc35a0552575cea8fa6f171f0