[INFO] cloning repository https://github.com/kebabtent/discord-types-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kebabtent/discord-types-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkebabtent%2Fdiscord-types-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkebabtent%2Fdiscord-types-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0453d41ad6e5a255801c3db6527afea3a710953d [INFO] checking kebabtent/discord-types-rs against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkebabtent%2Fdiscord-types-rs" "/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/kebabtent/discord-types-rs on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kebabtent/discord-types-rs [INFO] finished tweaking git repo https://github.com/kebabtent/discord-types-rs [INFO] tweaked toml for git repo https://github.com/kebabtent/discord-types-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kebabtent/discord-types-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.1.7 [INFO] [stderr] Downloaded minimal-lexical v0.1.2 [INFO] [stderr] Downloaded emoji v0.2.1 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a758c9cac3080bd103707713694e4bfd98307aaf22b9744c18b51536d402814e [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" "a758c9cac3080bd103707713694e4bfd98307aaf22b9744c18b51536d402814e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a758c9cac3080bd103707713694e4bfd98307aaf22b9744c18b51536d402814e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a758c9cac3080bd103707713694e4bfd98307aaf22b9744c18b51536d402814e", kill_on_drop: false }` [INFO] [stdout] a758c9cac3080bd103707713694e4bfd98307aaf22b9744c18b51536d402814e [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0e7eac9cc4495a3db19c837a2e75dc52db78a049262a22ec0e7279dcfe2bf65 [INFO] running `Command { std: "docker" "start" "-a" "b0e7eac9cc4495a3db19c837a2e75dc52db78a049262a22ec0e7279dcfe2bf65", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking emoji v0.2.1 [INFO] [stderr] Checking discord-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Deserialize<'_>` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:1705:12 [INFO] [stdout] | [INFO] [stdout] 1705 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Deserialize<'_>` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:1844:12 [INFO] [stdout] | [INFO] [stdout] 1844 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Serialize` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Serialize` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `command::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/ser/mod.rs:1899:12 [INFO] [stdout] | [INFO] [stdout] 1899 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `command::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Deserialize<'_>` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:1705:12 [INFO] [stdout] | [INFO] [stdout] 1705 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Deserialize<'_>` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:1844:12 [INFO] [stdout] | [INFO] [stdout] 1844 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::DateTime: Serialize` is not satisfied [INFO] [stdout] --> src/types.rs:674:2 [INFO] [stdout] | [INFO] [stdout] 674 | / #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] 675 | | pub timestamp: Option>, [INFO] [stdout] | |________________________________________________^ the trait `Serialize` is not implemented for `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `std::option::Option>` [INFO] [stdout] note: required by a bound in `command::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/ser/mod.rs:1899:12 [INFO] [stdout] | [INFO] [stdout] 1899 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `command::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-types` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:1304:3 [INFO] [stdout] | [INFO] [stdout] 1304 | assert_eq!(id.date_time(), time); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::DateTime`, found struct `chrono::DateTime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::DateTime` [INFO] [stdout] found struct `chrono::DateTime` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0e7eac9cc4495a3db19c837a2e75dc52db78a049262a22ec0e7279dcfe2bf65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e7eac9cc4495a3db19c837a2e75dc52db78a049262a22ec0e7279dcfe2bf65", kill_on_drop: false }` [INFO] [stdout] b0e7eac9cc4495a3db19c837a2e75dc52db78a049262a22ec0e7279dcfe2bf65