[INFO] cloning repository https://github.com/jimmyngo/rust-parsetime
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimmyngo/rust-parsetime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6c6b6838456f3e77b30d017eb072fd067e4dc51
[INFO] checking jimmyngo/rust-parsetime against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[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 /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jimmyngo/rust-parsetime on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jimmyngo/rust-parsetime already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `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: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.1.8
[INFO] [stderr]   Downloaded time v0.1.25
[INFO] [stderr]   Downloaded gcc v0.3.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7dfac4368f99f1ecdee7a18818145a039951d3cbc43f16fbb926118821664d0f
[INFO] running `Command { std: "docker" "start" "-a" "7dfac4368f99f1ecdee7a18818145a039951d3cbc43f16fbb926118821664d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7dfac4368f99f1ecdee7a18818145a039951d3cbc43f16fbb926118821664d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dfac4368f99f1ecdee7a18818145a039951d3cbc43f16fbb926118821664d0f", kill_on_drop: false }`
[INFO] [stdout] 7dfac4368f99f1ecdee7a18818145a039951d3cbc43f16fbb926118821664d0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5eb3e3b89c06d520e543f8fdbfcff76c6e800e55544ce48170348a348e48edb3
[INFO] running `Command { std: "docker" "start" "-a" "5eb3e3b89c06d520e543f8fdbfcff76c6e800e55544ce48170348a348e48edb3", kill_on_drop: false }`
[INFO] [stderr] warning: path `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: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling gcc v0.3.5
[INFO] [stderr]     Checking libc v0.1.8
[INFO] [stderr]    Compiling time v0.1.25
[INFO] [stderr]     Checking parsetime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot mix `bin` crate type with others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/parsetime.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub extern fn parsetime_int (timespec: &str) -> u32 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/parsetime.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/parsetime.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub extern fn parsetime_int (timespec: &str) -> u32 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/parsetime.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `parsetime`
[INFO] [stdout]    --> src/parsetime.rs:259:2
[INFO] [stdout]     |
[INFO] [stdout] 259 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/parsetime.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/parsetime.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | enum Token {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout]  5 |     DOTTEDDATE, HYPHENDATE,
[INFO] [stdout]    |     ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]  6 |     HOURMIN,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  7 |     INT1DIGIT, INT2DIGIT, INT4DIGIT, INT58DIGIT,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]  8 |     INT, FLOAT,
[INFO] [stdout]    |     ^^^  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     SUN, MON, TUE, WED, THU, FRI, SAT,
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 13 |     TODAY, TOMORROW,
[INFO] [stdout]    |     ^^^^^  ^^^^^^^^
[INFO] [stdout] 14 |     NEXT,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR,
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 16 |     JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC,
[INFO] [stdout] 17 |     UTC,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]    --> src/parsetime.rs:244:40
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub extern fn parsetime_int (timespec: &str) -> u32 {
[INFO] [stdout]     |                                        ^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `*const u8` and a length instead
[INFO] [stdout]     = note: string slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]    --> src/parsetime.rs:251:36
[INFO] [stdout]     |
[INFO] [stdout] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm {
[INFO] [stdout]     |                                    ^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `*const u8` and a length instead
[INFO] [stdout]     = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parsetime` (lib) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5eb3e3b89c06d520e543f8fdbfcff76c6e800e55544ce48170348a348e48edb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5eb3e3b89c06d520e543f8fdbfcff76c6e800e55544ce48170348a348e48edb3", kill_on_drop: false }`
[INFO] [stdout] 5eb3e3b89c06d520e543f8fdbfcff76c6e800e55544ce48170348a348e48edb3
