[INFO] updating cached repository https://github.com/archer884/reldate [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] 88f62c63326c4f0a60773eb39e6e76a11ea4d5b9 [INFO] checking archer884/reldate against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Freldate" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archer884/reldate on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/archer884/reldate [INFO] finished tweaking git repo https://github.com/archer884/reldate [INFO] tweaked toml for git repo https://github.com/archer884/reldate written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/archer884/reldate already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] 25f3c2d1607d92444746890a7a914010f316bc51757e13ae0b13b559a2595b60 [INFO] running `"docker" "start" "-a" "25f3c2d1607d92444746890a7a914010f316bc51757e13ae0b13b559a2595b60"` [INFO] [stderr] Checking reldate v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/datestream.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/datestream.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `checked_add` found for type `chrono::NaiveDate` in the current scope [INFO] [stderr] --> src/datestream.rs:72:27 [INFO] [stderr] | [INFO] [stderr] 72 | date = match date.checked_add(Duration::days(1)) { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `chrono::NaiveDate` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Datelike` [INFO] [stderr] --> src/datestream.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use chrono::{ Datelike, Duration, Local, NaiveDate, Weekday }; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `reldate`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `checked_add` found for type `chrono::NaiveDate` in the current scope [INFO] [stderr] --> src/datestream.rs:72:27 [INFO] [stderr] | [INFO] [stderr] 72 | date = match date.checked_add(Duration::days(1)) { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `chrono::NaiveDate` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `checked_add` found for type `chrono::NaiveDate` in the current scope [INFO] [stderr] --> src/datestream.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | |&d| d.checked_add(Duration::days(1))) [INFO] [stderr] | ^^^^^^^^^^^ method not found in `chrono::NaiveDate` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Datelike` [INFO] [stderr] --> src/datestream.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use chrono::{ Datelike, Duration, Local, NaiveDate, Weekday }; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `reldate`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "25f3c2d1607d92444746890a7a914010f316bc51757e13ae0b13b559a2595b60"` [INFO] running `"docker" "rm" "-f" "25f3c2d1607d92444746890a7a914010f316bc51757e13ae0b13b559a2595b60"` [INFO] [stdout] 25f3c2d1607d92444746890a7a914010f316bc51757e13ae0b13b559a2595b60