[INFO] fetching crate empty_type_derive 0.2.3...
[INFO] checking empty_type_derive-0.2.3 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate empty_type_derive 0.2.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate empty_type_derive 0.2.3 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f77d16ab37cce4f1ad069cfcb5d6edd524809ecd6219c978ca40fe147fd9075c
[INFO] running `Command { std: "docker" "start" "-a" "f77d16ab37cce4f1ad069cfcb5d6edd524809ecd6219c978ca40fe147fd9075c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f77d16ab37cce4f1ad069cfcb5d6edd524809ecd6219c978ca40fe147fd9075c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f77d16ab37cce4f1ad069cfcb5d6edd524809ecd6219c978ca40fe147fd9075c", kill_on_drop: false }`
[INFO] [stdout] f77d16ab37cce4f1ad069cfcb5d6edd524809ecd6219c978ca40fe147fd9075c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01c1bee1a77533515985e544220b3dfa29b73dbe4c670b92ba1665d7a3eeac94
[INFO] running `Command { std: "docker" "start" "-a" "01c1bee1a77533515985e544220b3dfa29b73dbe4c670b92ba1665d7a3eeac94", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]     Checking empty_type_traits v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking quote v1.0.35
[INFO] [stderr]     Checking empty_type_derive v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tests/vis.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub struct TestStruct {
[INFO] [stdout]    |                ---------- field in this struct
[INFO] [stdout] 22 |         value: Option<&'static str>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[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<Empty<T>, D::Error>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `serde` feature
[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] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> tests/base_cases.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Data(String, usize);
[INFO] [stdout]    |        ---- ^^^^^^  ^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Data((), ());
[INFO] [stdout]    |             ~~  ~~
[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_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] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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<Empty<T>, D::Error>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `serde` feature
[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[E0277]: the trait bound `___EmptyTestStruct: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> tests/serde.rs:44:55
[INFO] [stdout]      |
[INFO] [stdout] 44   |     let value: <TestStruct as EmptyType>::Container = serde_json::from_str(json).unwrap();
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `___EmptyTestStruct`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                bool
[INFO] [stdout]                char
[INFO] [stdout]                isize
[INFO] [stdout]                i8
[INFO] [stdout]                i16
[INFO] [stdout]                i32
[INFO] [stdout]                i64
[INFO] [stdout]                i128
[INFO] [stdout]              and 130 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.114/src/de.rs:2676:8
[INFO] [stdout]      |
[INFO] [stdout] 2674 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2675 | where
[INFO] [stdout] 2676 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[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_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 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] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[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 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[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_default") due to 5 previous errors
[INFO] [stderr] error: could not compile `empty_type_derive` (test "serde_borrow") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "01c1bee1a77533515985e544220b3dfa29b73dbe4c670b92ba1665d7a3eeac94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01c1bee1a77533515985e544220b3dfa29b73dbe4c670b92ba1665d7a3eeac94", kill_on_drop: false }`
[INFO] [stdout] 01c1bee1a77533515985e544220b3dfa29b73dbe4c670b92ba1665d7a3eeac94
