[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#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmyngo%2Frust-parsetime" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmyngo/rust-parsetime on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/jimmyngo/rust-parsetime already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-2/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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-2/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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94650a06e41136b4e79598d4dbebfcd7a644caff62dd4a021ccf61c78c18506b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94650a06e41136b4e79598d4dbebfcd7a644caff62dd4a021ccf61c78c18506b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94650a06e41136b4e79598d4dbebfcd7a644caff62dd4a021ccf61c78c18506b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94650a06e41136b4e79598d4dbebfcd7a644caff62dd4a021ccf61c78c18506b", kill_on_drop: false }` [INFO] [stdout] 94650a06e41136b4e79598d4dbebfcd7a644caff62dd4a021ccf61c78c18506b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8609921d9e9528d62132f2a6ce7017c783d7d26846be412995915a276b84756a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8609921d9e9528d62132f2a6ce7017c783d7d26846be412995915a276b84756a", kill_on_drop: false }` [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 proc-macro-hack v0.5.18 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling syn v1.0.39 [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] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/parsetime.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut new_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/parsetime.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_timespec(tokens: Vec, current_time: time::Tm) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/parsetime.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut new_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/parsetime.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | pub extern fn parsetime (timespec: &str) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/parsetime.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `parsetime` [INFO] [stdout] --> src/parsetime.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern crate time; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[derive(Clone, Debug)] [INFO] [stdout] 4 | | enum Token { [INFO] [stdout] ... | [INFO] [stdout] 258 | | return time; [INFO] [stdout] 259 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/parsetime.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8609921d9e9528d62132f2a6ce7017c783d7d26846be412995915a276b84756a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8609921d9e9528d62132f2a6ce7017c783d7d26846be412995915a276b84756a", kill_on_drop: false }` [INFO] [stdout] 8609921d9e9528d62132f2a6ce7017c783d7d26846be412995915a276b84756a