[INFO] updating cached repository https://github.com/jimmyngo/rust-parsetime [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] c6c6b6838456f3e77b30d017eb072fd067e4dc51 [INFO] checking jimmyngo/rust-parsetime against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmyngo/rust-parsetime on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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 /workspace/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/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 /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/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" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 82a4bf829b8f2744700b96445fd0f0307372b8a7806226075a6b00f4d410bc44 [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" "82a4bf829b8f2744700b96445fd0f0307372b8a7806226075a6b00f4d410bc44"` [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] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling time v0.2.13 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking parsetime v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:21:59 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:21:72 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/parsetime.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut new_time = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:251:51 [INFO] [stderr] | [INFO] [stderr] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/parsetime.rs:253:21 [INFO] [stderr] | [INFO] [stderr] 253 | let now = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [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[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:21:59 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:21:72 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/parsetime.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut new_time = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stderr] --> src/parsetime.rs:251:51 [INFO] [stderr] | [INFO] [stderr] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm { [INFO] [stderr] | ^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/parsetime.rs:253:21 [INFO] [stderr] | [INFO] [stderr] 253 | let now = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `parsetime`. [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: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `parsetime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "82a4bf829b8f2744700b96445fd0f0307372b8a7806226075a6b00f4d410bc44"` [INFO] running `"docker" "rm" "-f" "82a4bf829b8f2744700b96445fd0f0307372b8a7806226075a6b00f4d410bc44"` [INFO] [stdout] 82a4bf829b8f2744700b96445fd0f0307372b8a7806226075a6b00f4d410bc44