[INFO] fetching crate empty_type_derive 0.2.3... [INFO] checking empty_type_derive-0.2.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate empty_type_derive 0.2.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate empty_type_derive 0.2.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate empty_type_derive 0.2.3 [INFO] finished tweaking crates.io crate empty_type_derive 0.2.3 [INFO] tweaked toml for crates.io crate empty_type_derive 0.2.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.89) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded empty_type_traits v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8939e2869dd5fdfe749bfea3ac51fc78876d808d8772cfc0b4e91d9f18f4186 [INFO] running `Command { std: "docker" "start" "-a" "e8939e2869dd5fdfe749bfea3ac51fc78876d808d8772cfc0b4e91d9f18f4186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8939e2869dd5fdfe749bfea3ac51fc78876d808d8772cfc0b4e91d9f18f4186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8939e2869dd5fdfe749bfea3ac51fc78876d808d8772cfc0b4e91d9f18f4186", kill_on_drop: false }` [INFO] [stdout] e8939e2869dd5fdfe749bfea3ac51fc78876d808d8772cfc0b4e91d9f18f4186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d86f71d6def4ddf23f4d3ed3a49d3f53aaf0940f2a5ed03fdccb3a584341cd [INFO] running `Command { std: "docker" "start" "-a" "e2d86f71d6def4ddf23f4d3ed3a49d3f53aaf0940f2a5ed03fdccb3a584341cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking empty_type_traits v0.2.2 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking empty_type_derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `empty_type::deserialize_empty` [INFO] [stdout] --> tests/serde_borrow.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use empty_type::{deserialize_empty, EmptyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `deserialize_empty` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn deserialize_empty<'de, T, D>(de: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `serde` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `empty_type::deserialize_empty` [INFO] [stdout] --> tests/serde_default.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use empty_type::{deserialize_empty, EmptyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `deserialize_empty` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn deserialize_empty<'de, T, D>(de: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `serde` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(EmptyType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde_default.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(EmptyType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde_default.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde_borrow.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(EmptyType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde_borrow.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/serde_borrow.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[serde(borrow)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde_default.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(EmptyType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde_default.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde_borrow.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde_borrow.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/serde_default.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/serde_default.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/serde_borrow.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | struct Inner<'a>(#[serde(borrow)] Cow<'a, str>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `___EmptyTestStruct: Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/serde.rs:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | let value: ::Container = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `___EmptyTestStruct` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `___EmptyTestStruct` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `empty_type_derive` (test "serde_borrow") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `empty_type_derive` (test "serde") due to 2 previous errors [INFO] [stderr] error: could not compile `empty_type_derive` (test "serde_default") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e2d86f71d6def4ddf23f4d3ed3a49d3f53aaf0940f2a5ed03fdccb3a584341cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d86f71d6def4ddf23f4d3ed3a49d3f53aaf0940f2a5ed03fdccb3a584341cd", kill_on_drop: false }` [INFO] [stdout] e2d86f71d6def4ddf23f4d3ed3a49d3f53aaf0940f2a5ed03fdccb3a584341cd