[INFO] crate schemars 0.5.1 is already in cache [INFO] checking schemars-0.5.1 against master#fdc0011561c6365c596dfd8fa1ef388162bc89c7 for pr-66504-1 [INFO] extracting crate schemars 0.5.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate schemars 0.5.1 on toolchain fdc0011561c6365c596dfd8fa1ef388162bc89c7 [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate schemars 0.5.1 [INFO] removed 2 missing tests [INFO] finished tweaking crates.io crate schemars 0.5.1 [INFO] tweaked toml for crates.io crate schemars 0.5.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] fbae253eec6c928635f12c460c1881181c2e4eb84ecfd912412e201992d2bc34 [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" "fbae253eec6c928635f12c460c1881181c2e4eb84ecfd912412e201992d2bc34"` [INFO] [stderr] Compiling schemars v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.5.0 [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `chrono` [INFO] [stderr] --> tests/chrono.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::prelude::*; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `chrono` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Weekday` in this scope [INFO] [stderr] --> tests/chrono.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | weekday: Weekday, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stderr] --> tests/chrono.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | date_time: DateTime, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Utc` in this scope [INFO] [stderr] --> tests/chrono.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | date_time: DateTime, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NaiveDate` in this scope [INFO] [stderr] --> tests/chrono.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | naive_date: NaiveDate, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NaiveDateTime` in this scope [INFO] [stderr] --> tests/chrono.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | naive_date_time: NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NaiveTime` in this scope [INFO] [stderr] --> tests/chrono.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | naive_time: NaiveTime, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `schemars`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `schemars::schema::RootSchema: schemars::JsonSchema` is not satisfied [INFO] [stderr] --> tests/schema_for_schema.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | test_default_generated_schema::("schema") [INFO] [stderr] | ^^^^^^^^^^ the trait `schemars::JsonSchema` is not implemented for `schemars::schema::RootSchema` [INFO] [stderr] | [INFO] [stderr] ::: tests/util/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn test_default_generated_schema(file: &str) -> TestResult { [INFO] [stderr] | ----------------------------- ---------- required by this bound in `util::test_default_generated_schema` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `schemars::schema::RootSchema: schemars::JsonSchema` is not satisfied [INFO] [stderr] --> tests/schema_for_schema.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | test_generated_schema::("schema-openapi3", SchemaSettings::openapi3()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `schemars::JsonSchema` is not implemented for `schemars::schema::RootSchema` [INFO] [stderr] | [INFO] [stderr] ::: tests/util/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stderr] | --------------------- ---------- required by this bound in `util::test_generated_schema` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `schemars`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fbae253eec6c928635f12c460c1881181c2e4eb84ecfd912412e201992d2bc34"` [INFO] running `"docker" "rm" "-f" "fbae253eec6c928635f12c460c1881181c2e4eb84ecfd912412e201992d2bc34"` [INFO] [stdout] fbae253eec6c928635f12c460c1881181c2e4eb84ecfd912412e201992d2bc34