[INFO] fetching crate empty_type_derive 0.2.3... [INFO] testing empty_type_derive-0.2.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate empty_type_derive 0.2.3 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate empty_type_derive 0.2.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f9824eab109be2f5cc0845a26a490293a3ede244ec7de3fa8580da084de1697 [INFO] running `Command { std: "docker" "start" "-a" "1f9824eab109be2f5cc0845a26a490293a3ede244ec7de3fa8580da084de1697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f9824eab109be2f5cc0845a26a490293a3ede244ec7de3fa8580da084de1697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9824eab109be2f5cc0845a26a490293a3ede244ec7de3fa8580da084de1697", kill_on_drop: false }` [INFO] [stdout] 1f9824eab109be2f5cc0845a26a490293a3ede244ec7de3fa8580da084de1697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c36fc157545e74fb3beffb9632f6ded6628df2fdfc75309f3027098b1bc70d92 [INFO] running `Command { std: "docker" "start" "-a" "c36fc157545e74fb3beffb9632f6ded6628df2fdfc75309f3027098b1bc70d92", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling empty_type_traits v0.2.2 [INFO] [stderr] Compiling empty_type_derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(docs_rs, doc(cfg(feature = "derive")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_attributes` is never read [INFO] [stdout] --> src/type_information.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeInformation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub container_attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.43s [INFO] running `Command { std: "docker" "inspect" "c36fc157545e74fb3beffb9632f6ded6628df2fdfc75309f3027098b1bc70d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36fc157545e74fb3beffb9632f6ded6628df2fdfc75309f3027098b1bc70d92", kill_on_drop: false }` [INFO] [stdout] c36fc157545e74fb3beffb9632f6ded6628df2fdfc75309f3027098b1bc70d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d78269c707bc3cb7522155f17cf4f15ef8ab553e9563e8a4e56135834582b5 [INFO] running `Command { std: "docker" "start" "-a" "94d78269c707bc3cb7522155f17cf4f15ef8ab553e9563e8a4e56135834582b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling empty_type_traits v0.2.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling empty_type_derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(docs_rs, doc(cfg(feature = "derive")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(docs_rs, doc(cfg(feature = "derive")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_attributes` is never read [INFO] [stdout] --> src/type_information.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeInformation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub container_attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_attributes` is never read [INFO] [stdout] --> src/type_information.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeInformation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub container_attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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[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-1949cf8c6b5b557f/empty_type_traits-0.2.2/src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "serde")] [INFO] [stdout] | ----------------- the item is gated behind the `serde` feature [INFO] [stdout] 106 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stdout] 107 | pub fn deserialize_empty<'de, T, D>(de: D) -> Result, D::Error> [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_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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: struct `TestStruct` is never constructed [INFO] [stdout] --> tests/vis.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: ::Container = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `___EmptyTestStruct` [INFO] [stdout] --> tests/serde.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(EmptyType, Deserialize)] [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-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the derive macro `EmptyType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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] warning: struct `Data` is never constructed [INFO] [stdout] --> tests/base_cases.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Data(String, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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-1949cf8c6b5b557f/empty_type_traits-0.2.2/src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "serde")] [INFO] [stdout] | ----------------- the item is gated behind the `serde` feature [INFO] [stdout] 106 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stdout] 107 | pub fn deserialize_empty<'de, T, D>(de: D) -> Result, D::Error> [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_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] [stderr] error: could not compile `empty_type_derive` (test "serde") due to 2 previous errors [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] 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 4 previous errors [INFO] running `Command { std: "docker" "inspect" "94d78269c707bc3cb7522155f17cf4f15ef8ab553e9563e8a4e56135834582b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d78269c707bc3cb7522155f17cf4f15ef8ab553e9563e8a4e56135834582b5", kill_on_drop: false }` [INFO] [stdout] 94d78269c707bc3cb7522155f17cf4f15ef8ab553e9563e8a4e56135834582b5