[INFO] fetching crate empty_type 0.2.2...
[INFO] testing empty_type-0.2.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate empty_type 0.2.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate empty_type 0.2.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate empty_type 0.2.2
[INFO] finished tweaking crates.io crate empty_type 0.2.2
[INFO] tweaked toml for crates.io crate empty_type 0.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded empty_type_derive v0.2.3
[INFO] [stderr]   Downloaded empty_type_traits v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78404344ef89bd95cd8604f4bd6f21a4462c78c83bcf40b966eaf07ac52ce978
[INFO] running `Command { std: "docker" "start" "-a" "78404344ef89bd95cd8604f4bd6f21a4462c78c83bcf40b966eaf07ac52ce978", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78404344ef89bd95cd8604f4bd6f21a4462c78c83bcf40b966eaf07ac52ce978", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78404344ef89bd95cd8604f4bd6f21a4462c78c83bcf40b966eaf07ac52ce978", kill_on_drop: false }`
[INFO] [stdout] 78404344ef89bd95cd8604f4bd6f21a4462c78c83bcf40b966eaf07ac52ce978
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 426d4415edd46f299876557000fa6628bf9945a69bdf3eb8aca46739ffd1f622
[INFO] running `Command { std: "docker" "start" "-a" "426d4415edd46f299876557000fa6628bf9945a69bdf3eb8aca46739ffd1f622", kill_on_drop: false }`
[INFO] [stderr]    Compiling empty_type_traits v0.2.2
[INFO] [stderr]    Compiling empty_type v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "426d4415edd46f299876557000fa6628bf9945a69bdf3eb8aca46739ffd1f622", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "426d4415edd46f299876557000fa6628bf9945a69bdf3eb8aca46739ffd1f622", kill_on_drop: false }`
[INFO] [stdout] 426d4415edd46f299876557000fa6628bf9945a69bdf3eb8aca46739ffd1f622
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb199714c381d78939edd28c9190e3ff9f5cc1f0295ed6c6cafcd96032ab58c3
[INFO] running `Command { std: "docker" "start" "-a" "eb199714c381d78939edd28c9190e3ff9f5cc1f0295ed6c6cafcd96032ab58c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling empty_type v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.59s
[INFO] running `Command { std: "docker" "inspect" "eb199714c381d78939edd28c9190e3ff9f5cc1f0295ed6c6cafcd96032ab58c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb199714c381d78939edd28c9190e3ff9f5cc1f0295ed6c6cafcd96032ab58c3", kill_on_drop: false }`
[INFO] [stdout] eb199714c381d78939edd28c9190e3ff9f5cc1f0295ed6c6cafcd96032ab58c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0e94ddf6223597a4b9ebc94e201fd6b912e278ec2dfb58ab014b2d58b46a2abd
[INFO] running `Command { std: "docker" "start" "-a" "0e94ddf6223597a4b9ebc94e201fd6b912e278ec2dfb58ab014b2d58b46a2abd", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stderr]  --> src/lib.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stderr]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `empty_type` (lib) generated 1 warning
[INFO] [stderr] warning: `empty_type` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/empty_type-15036ffc5d38eb8b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests empty_type
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 128) ... ok
[INFO] [stdout] test src/lib.rs - (line 34) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error: cannot find derive macro `EmptyType` in this scope
[INFO] [stdout]  --> src/lib.rs:12:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(EmptyType)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EmptyType` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/lib.rs:10:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use empty_type::{EmptyType, Empty};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `empty` in this scope
[INFO] [stdout]  --> src/lib.rs:13:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[empty(deserialize, default)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `key` on type `empty_type::Empty<Data>`
[INFO] [stdout]   --> src/lib.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert!(empty.key.is_some());
[INFO] [stdout]    |                   ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `0`, `1`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `empty_type::Empty<Data>: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:23:30
[INFO] [stdout]      |
[INFO] [stdout] 17   |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `empty_type::Empty<Data>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[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.117/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] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `mismatch` on type `empty_type::Empty<Data>`
[INFO] [stdout]   --> src/lib.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert!(empty.mismatch.is_none());
[INFO] [stdout]    |                   ^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `0`, `1`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resolve` exists for struct `Empty<Data>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Data {
[INFO] [stdout]    | ----------- doesn't satisfy `Data: EmptyType`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let resolved = empty.resolve();
[INFO] [stdout]    |                          ^^^^^^^ method cannot be called on `Empty<Data>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Data: EmptyType`
[INFO] [stdout] note: the trait `EmptyType` must be implemented
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub trait EmptyType
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 79) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `empty_type::deserialize_empty`
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 4  | use empty_type::{EmptyType, deserialize_empty};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ no `deserialize_empty` in the root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use empty_type_traits::deserialize_empty;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `serde` feature
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `EmptyType` in this scope
[INFO] [stdout]  --> src/lib.rs:84:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(EmptyType)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EmptyType` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/lib.rs:81:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use empty_type::{EmptyType, deserialize_empty};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `empty` in this scope
[INFO] [stdout]  --> src/lib.rs:85:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[empty(deserialize)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resolve` exists for struct `Empty<Data>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:103:28
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct Data {
[INFO] [stdout]    | ----------- doesn't satisfy `Data: EmptyType`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     let full_value = value.resolve();
[INFO] [stdout]    |                            ^^^^^^^ method cannot be called on `Empty<Data>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Data: EmptyType`
[INFO] [stdout] note: the trait `EmptyType` must be implemented
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub trait EmptyType
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `empty_type::Empty<Data>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:102:42
[INFO] [stdout]      |
[INFO] [stdout] 25   |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]      |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `empty_type::Empty<Data>`
[INFO] [stdout]      |
[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]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[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.117/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] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 79)
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0e94ddf6223597a4b9ebc94e201fd6b912e278ec2dfb58ab014b2d58b46a2abd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e94ddf6223597a4b9ebc94e201fd6b912e278ec2dfb58ab014b2d58b46a2abd", kill_on_drop: false }`
[INFO] [stdout] 0e94ddf6223597a4b9ebc94e201fd6b912e278ec2dfb58ab014b2d58b46a2abd
[INFO] testing empty_type-0.2.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate empty_type 0.2.2 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate empty_type 0.2.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate empty_type 0.2.2
[INFO] finished tweaking crates.io crate empty_type 0.2.2
[INFO] tweaked toml for crates.io crate empty_type 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d0fae0bafdb23c0761b07b2f53665c804b40a4eadc29cfc823a870596a8cfae
[INFO] running `Command { std: "docker" "start" "-a" "4d0fae0bafdb23c0761b07b2f53665c804b40a4eadc29cfc823a870596a8cfae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d0fae0bafdb23c0761b07b2f53665c804b40a4eadc29cfc823a870596a8cfae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d0fae0bafdb23c0761b07b2f53665c804b40a4eadc29cfc823a870596a8cfae", kill_on_drop: false }`
[INFO] [stdout] 4d0fae0bafdb23c0761b07b2f53665c804b40a4eadc29cfc823a870596a8cfae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6063cf7528591bbabaeb08e1cb1ab8352e5d863d8a9b2ed1c68f88855b2b8915
[INFO] running `Command { std: "docker" "start" "-a" "6063cf7528591bbabaeb08e1cb1ab8352e5d863d8a9b2ed1c68f88855b2b8915", kill_on_drop: false }`
[INFO] [stderr]    Compiling empty_type_traits v0.2.2
[INFO] [stderr]    Compiling empty_type v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "6063cf7528591bbabaeb08e1cb1ab8352e5d863d8a9b2ed1c68f88855b2b8915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6063cf7528591bbabaeb08e1cb1ab8352e5d863d8a9b2ed1c68f88855b2b8915", kill_on_drop: false }`
[INFO] [stdout] 6063cf7528591bbabaeb08e1cb1ab8352e5d863d8a9b2ed1c68f88855b2b8915
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35695d1eb1c54faf732be4a02a48363dda35746f40fdfc6584b57364684926e3
[INFO] running `Command { std: "docker" "start" "-a" "35695d1eb1c54faf732be4a02a48363dda35746f40fdfc6584b57364684926e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling empty_type v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.67s
[INFO] running `Command { std: "docker" "inspect" "35695d1eb1c54faf732be4a02a48363dda35746f40fdfc6584b57364684926e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35695d1eb1c54faf732be4a02a48363dda35746f40fdfc6584b57364684926e3", kill_on_drop: false }`
[INFO] [stdout] 35695d1eb1c54faf732be4a02a48363dda35746f40fdfc6584b57364684926e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 84d5046f7c4257db87bc5a251b92e196eea24f2a7f6751548a77dabd54c509d4
[INFO] running `Command { std: "docker" "start" "-a" "84d5046f7c4257db87bc5a251b92e196eea24f2a7f6751548a77dabd54c509d4", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stderr]  --> src/lib.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stderr]   |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `empty_type` (lib) generated 1 warning
[INFO] [stderr] warning: `empty_type` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/empty_type-15036ffc5d38eb8b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests empty_type
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 128) ... ok
[INFO] [stdout] test src/lib.rs - (line 34) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error: cannot find derive macro `EmptyType` in this scope
[INFO] [stdout]  --> src/lib.rs:12:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(EmptyType)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EmptyType` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/lib.rs:10:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use empty_type::{EmptyType, Empty};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `empty` in this scope
[INFO] [stdout]  --> src/lib.rs:13:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[empty(deserialize, default)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `key` on type `empty_type::Empty<Data>`
[INFO] [stdout]   --> src/lib.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert!(empty.key.is_some());
[INFO] [stdout]    |                   ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `0`, `1`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `empty_type::Empty<Data>: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:23:30
[INFO] [stdout]      |
[INFO] [stdout] 17   |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `empty_type::Empty<Data>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[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.117/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] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let empty: Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `mismatch` on type `empty_type::Empty<Data>`
[INFO] [stdout]   --> src/lib.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert!(empty.mismatch.is_none());
[INFO] [stdout]    |                   ^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `0`, `1`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resolve` exists for struct `Empty<Data>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Data {
[INFO] [stdout]    | ----------- doesn't satisfy `Data: EmptyType`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let resolved = empty.resolve();
[INFO] [stdout]    |                          ^^^^^^^ method cannot be called on `Empty<Data>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Data: EmptyType`
[INFO] [stdout] note: the trait `EmptyType` must be implemented
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub trait EmptyType
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 79) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `empty_type::deserialize_empty`
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 4  | use empty_type::{EmptyType, deserialize_empty};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ no `deserialize_empty` in the root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use empty_type_traits::deserialize_empty;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `serde` feature
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `EmptyType` in this scope
[INFO] [stdout]  --> src/lib.rs:84:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(EmptyType)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `EmptyType` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/lib.rs:81:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use empty_type::{EmptyType, deserialize_empty};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `empty` in this scope
[INFO] [stdout]  --> src/lib.rs:85:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[empty(deserialize)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resolve` exists for struct `Empty<Data>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:103:28
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct Data {
[INFO] [stdout]    | ----------- doesn't satisfy `Data: EmptyType`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     let full_value = value.resolve();
[INFO] [stdout]    |                            ^^^^^^^ method cannot be called on `Empty<Data>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Data: EmptyType`
[INFO] [stdout] note: the trait `EmptyType` must be implemented
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub trait EmptyType
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `empty_type::Empty<Data>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:102:42
[INFO] [stdout]      |
[INFO] [stdout] 25   |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]      |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `empty_type::Empty<Data>`
[INFO] [stdout]      |
[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]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[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.117/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] error[E0277]: the trait bound `Data: EmptyType` is not satisfied
[INFO] [stdout]   --> src/lib.rs:102:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value: empty_type::Empty<Data> = serde_json::from_str(JSON).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^ the trait `EmptyType` is not implemented for `Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `empty_type::Empty`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/empty_type_traits-0.2.2/src/empty.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Empty<F>(pub F::Container, pub std::marker::PhantomData<F>)
[INFO] [stdout]    |            ----- required by a bound in this struct
[INFO] [stdout] 22 | where
[INFO] [stdout] 23 |     F: EmptyType;
[INFO] [stdout]    |        ^^^^^^^^^ required by this bound in `Empty`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 79)
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "84d5046f7c4257db87bc5a251b92e196eea24f2a7f6751548a77dabd54c509d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84d5046f7c4257db87bc5a251b92e196eea24f2a7f6751548a77dabd54c509d4", kill_on_drop: false }`
[INFO] [stdout] 84d5046f7c4257db87bc5a251b92e196eea24f2a7f6751548a77dabd54c509d4
