serde-rs / serde-rs.github.io

https://serde.rs
Creative Commons Attribution Share Alike 4.0 International
22 stars 99 forks source link

Skeptic build fails on nightly-2020-05-10 #115

Closed dtolnay closed 3 years ago

dtolnay commented 4 years ago

It worked for a long time (>3 years) through nightly-2020-05-09, but 2020-05-10 has started failing with:

$ cargo +nightly-2020-05-10 test ```console running 55 tests error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.Zm3ogudVbLfG/test.rs:2:5 | 2 | use serde::{Serializer, Deserializer}; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test custom_serialization_sect_custom_serialization_line_13 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:2:5 | 2 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:4:10 | 4 | #[derive(Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:8:7 | 8 | #[serde(default = "default_resource")] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:13:7 | 13 | #[serde(default)] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:18:7 | 18 | #[serde(default = "Priority::lowest")] | ^^^^^ error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:27:10 | 27 | #[derive(Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:35:10 | 35 | #[derive(Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.4BObPrhVdFCI/test.rs:54:34 | 54 | let requests: Vec = serde_json::from_str(json).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 8 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test attr_default_sect_default_value_for_a_field_line_4 ... FAILED error[E0432]: unresolved import `serde_repr` --> /tmp/rust-skeptic.tstC3MmlZ4Th/test.rs:2:5 | 2 | use serde_repr::*; | ^^^^^^^^^^ use of undeclared type or module `serde_repr` error: cannot find derive macro `Serialize_repr` in this scope --> /tmp/rust-skeptic.tstC3MmlZ4Th/test.rs:4:10 | 4 | #[derive(Serialize_repr, Deserialize_repr, PartialEq, Debug)] | ^^^^^^^^^^^^^^ error: cannot find derive macro `Deserialize_repr` in this scope --> /tmp/rust-skeptic.tstC3MmlZ4Th/test.rs:4:26 | 4 | #[derive(Serialize_repr, Deserialize_repr, PartialEq, Debug)] | ^^^^^^^^^^^^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.tstC3MmlZ4Th/test.rs:18:20 | 18 | println!("{}", serde_json::to_string(&nums).unwrap()); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.tstC3MmlZ4Th/test.rs:20:21 | 20 | assert_eq!(Two, serde_json::from_str("2").unwrap()); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 5 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test enum_number_sect_serialize_enum_as_number_line_16 ... FAILED test conventions_sect_conventions_line_30 ... ok error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:5:5 | 5 | use serde::de::{Deserialize, Deserializer, Visitor, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:45:17 | 45 | impl<'de, K, V> Visitor<'de> for MyMapVisitor | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:47:8 | 47 | K: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:48:8 | 48 | V: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `MapAccess` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:63:12 | 63 | M: MapAccess<'de>, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:78:17 | 78 | impl<'de, K, V> Deserialize<'de> for MyMap | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:80:8 | 80 | K: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:81:8 | 81 | V: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.kQg6nrYwdirj/test.rs:85:12 | 85 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 9 previous errors Some errors have detailed explanations: E0405, E0433. For more information about an error, try `rustc --explain E0405`. test deserialize_map_sect_implement_deserialize_for_a_custom_map_type_line_4 ... FAILED test deserialize_struct_sect_manually_implementing_deserialize_for_a_struct_line_7 ... ok error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.sjI38KOxMsIT/test.rs:2:5 | 2 | use serde::Serialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.sjI38KOxMsIT/test.rs:4:10 | 4 | #[derive(Serialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.sjI38KOxMsIT/test.rs:5:3 | 5 | #[serde(rename_all = "camelCase")] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.sjI38KOxMsIT/test.rs:17:16 | 17 | let json = serde_json::to_string_pretty(&person).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 4 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test attr_rename_sect_serialize_fields_as_camelcase_line_4 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:23:9 | 23 | use serde::ser::{Serialize, Serializer}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:24:9 | 24 | use serde::de::{Deserialize, DeserializeOwned, Deserializer}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:33:13 | 33 | use serde::ser::Error; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:45:13 | 45 | use serde::de::Error; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde_json` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:22:9 | 22 | use serde_json; | ^^^^^^^^^^ no `serde_json` external crate error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:8:7 | 8 | #[serde(with = "as_json_string")] | ^^^^^ error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:12:10 | 12 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:12:21 | 12 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve: use of undeclared type or module `Error` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:34:54 | 34 | let j = serde_json::to_string(value).map_err(Error::custom)?; | ^^^^^ use of undeclared type or module `Error` error[E0433]: failed to resolve: use of undeclared type or module `Error` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:47:42 | 47 | serde_json::from_str(&j).map_err(Error::custom) | ^^^^^ use of undeclared type or module `Error` error[E0433]: failed to resolve: use of undeclared type or module `serde_yaml` --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:61:13 | 61 | let y = serde_yaml::to_string(&resource).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_yaml` error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:30:12 | 30 | T: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:31:12 | 31 | S: Serializer, | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeOwned` in this scope --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:42:12 | 42 | T: DeserializeOwned, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.8mQWvLMaOFaq/test.rs:43:12 | 43 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 18 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test convert_error_sect_converting_error_types_line_20 ... FAILED error[E0432]: unresolved import `chrono` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:2:5 | 2 | use chrono::{DateTime, Utc}; | ^^^^^^ use of undeclared type or module `chrono` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:3:5 | 3 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `chrono` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:17:9 | 17 | use chrono::{DateTime, Utc, TimeZone}; | ^^^^^^ use of undeclared type or module `chrono` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:18:17 | 18 | use serde::{self, Deserialize, Serializer, Deserializer}; | ^^^^ no `serde` external crate error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:5:10 | 5 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:5:21 | 5 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:9:7 | 9 | #[serde(with = "my_date_format")] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:66:38 | 66 | let data: StructWithCustomDate = serde_json::from_str(json_str).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:69:22 | 69 | let serialized = serde_json::to_string_pretty(&data).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:34:12 | 34 | S: Serializer, | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.HH3HRvXHqwqm/test.rs:51:12 | 51 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 11 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test custom_date_format_sect_date_in_a_custom_format_line_8 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:11:10 | 11 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:11:21 | 11 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:12:3 | 12 | #[serde(rename = "e")] // <-- this is also a container attribute | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:14:7 | 14 | #[serde(rename = "a")] // <-- this is a variant attribute | ^^^^^ error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:5:3 | 5 | #[serde(deny_unknown_fields)] // <-- this is a container attribute | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.jZza5qVqMOkX/test.rs:7:7 | 7 | #[serde(default)] // <-- this is a field attribute | ^^^^^ error: aborting due to 9 previous errors For more information about this error, try `rustc --explain E0432`. test attributes_sect_attributes_line_19 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.tcSUIfJcri9W/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.tcSUIfJcri9W/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.tcSUIfJcri9W/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.tcSUIfJcri9W/test.rs:13:22 | 13 | let serialized = serde_json::to_string(&point).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.tcSUIfJcri9W/test.rs:16:31 | 16 | let deserialized: Point = serde_json::from_str(&serialized).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 5 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test derive_sect_using_derive_line_50 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.3yFHQ6EkdD1i/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.3yFHQ6EkdD1i/test.rs:7:10 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.3yFHQ6EkdD1i/test.rs:7:21 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.3yFHQ6EkdD1i/test.rs:8:3 | 8 | #[serde(tag = "type")] | ^^^^^ error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0432`. test enum_representations_sect_internally_tagged_line_45 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:15:5 | 15 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:31:10 | 31 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:31:21 | 31 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:35:7 | 35 | #[serde(with = "DurationDef")] | ^^^^^ error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:20:10 | 20 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:20:21 | 20 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.UMsauBgy6raj/test.rs:21:3 | 21 | #[serde(remote = "Duration")] | ^^^^^ error: aborting due to 7 previous errors For more information about this error, try `rustc --explain E0432`. test remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_27 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.5kAvhxxeA4oq/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.5kAvhxxeA4oq/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.5kAvhxxeA4oq/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.5kAvhxxeA4oq/test.rs:14:22 | 14 | let serialized = serde_json::to_string(&point).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.5kAvhxxeA4oq/test.rs:20:31 | 20 | let deserialized: Point = serde_json::from_str(&serialized).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 5 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test readme_sect_serde_line_97 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:2:5 | 2 | use serde::{Deserialize, Deserializer}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:3:5 | 3 | use serde::de::{self, Visitor, SeqAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:3:5 | 3 | use serde::de::{self, Visitor, SeqAccess}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:8:10 | 8 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:15:7 | 15 | #[serde(deserialize_with = "deserialize_max")] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:18:7 | 18 | #[serde(rename(deserialize = "values"))] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:87:22 | 87 | let out: Outer = serde_json::from_str(j).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:35:18 | 35 | impl<'de, T> Visitor<'de> for MaxVisitor | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `SeqAccess` in this scope --> /tmp/rust-skeptic.QKNpAhGXjIBU/test.rs:49:16 | 49 | S: SeqAccess<'de>, | ^^^^^^^^^ not found in this scope error: aborting due to 9 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test stream_array_sect_process_an_array_of_values_without_buffering_into_a_vec_line_9 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.ZIelCXplbqne/test.rs:14:28 | 14 | let mut deserializer = serde_json::Deserializer::from_str(input); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.ZIelCXplbqne/test.rs:17:26 | 17 | let mut serializer = serde_json::Serializer::new(io::stdout()); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_transcode` --> /tmp/rust-skeptic.ZIelCXplbqne/test.rs:21:5 | 21 | serde_transcode::transcode(&mut deserializer, &mut serializer).unwrap(); | ^^^^^^^^^^^^^^^ use of undeclared type or module `serde_transcode` error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0433`. test transcode_sect_transcode_one_format_into_another_line_17 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.B1VP9mPk64tm/test.rs:4:5 | 4 | use serde::{Serialize, Serializer}; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test impl_serialize_sect_serializing_a_primitive_line_37 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.8EjwlbAi6saH/test.rs:3:5 | 3 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde_json` --> /tmp/rust-skeptic.8EjwlbAi6saH/test.rs:4:5 | 4 | use serde_json::Value; | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.8EjwlbAi6saH/test.rs:6:10 | 6 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.8EjwlbAi6saH/test.rs:6:21 | 6 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.8EjwlbAi6saH/test.rs:11:7 | 11 | #[serde(flatten)] | ^^^^^ error: aborting due to 5 previous errors For more information about this error, try `rustc --explain E0432`. test attr_flatten_sect_struct_flattening_line_66 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:8:10 | 8 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:9:3 | 9 | #[serde(remote = "Duration")] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:12:42 | 12 | fn try_main(j: &str) -> Result { | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:13:14 | 13 | let mut de = serde_json::Deserializer::from_str(j); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0599]: no function or associated item named `deserialize` found for struct `DurationDef` in the current scope --> /tmp/rust-skeptic.uKaxJjzizo1Z/test.rs:14:24 | 10 | struct DurationDef; | ------------------- function or associated item `deserialize` not found for this ... 14 | let dur = DurationDef::deserialize(&mut de)?; | ^^^^^^^^^^^ function or associated item not found in `DurationDef` error: aborting due to 6 previous errors Some errors have detailed explanations: E0432, E0433, E0599. For more information about an error, try `rustc --explain E0432`. test remote_derive_sect_invoking_the_remote_impl_directly_line_174 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:5:5 | 5 | use serde::de::{ | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:5:5 | 5 | use serde::de::{ | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde_json` --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:9:5 | 9 | use serde_json::json; | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: cannot determine resolution for the macro `json` --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:81:17 | 81 | let array = json!(["a", "b", "c", "d", "e"]); | ^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:31:14 | 31 | impl<'de, T> Visitor<'de> for NthElement | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:33:8 | 33 | T: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `SeqAccess` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:43:12 | 43 | V: SeqAccess<'de>, | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `IgnoredAny` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:48:35 | 31 | impl<'de, T> Visitor<'de> for NthElement | - help: you might be missing a type parameter: `, IgnoredAny` ... 48 | if seq.next_element::()?.is_none() { | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:66:14 | 66 | impl<'de, T> DeserializeSeed<'de> for NthElement | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:68:8 | 68 | T: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.PERN2FhqfVOq/test.rs:74:12 | 74 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 11 previous errors Some errors have detailed explanations: E0405, E0412, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test ignored_any_sect_discarding_data_line_12 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:19:10 | 19 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:19:21 | 19 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:11:10 | 11 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:11:21 | 11 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:15:7 | 15 | #[serde(flatten)] | ^^^^^ error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.j5etLPojhV5k/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: aborting due to 8 previous errors For more information about this error, try `rustc --explain E0432`. test attr_flatten_sect_struct_flattening_line_37 ... FAILED test lifetimes_sect_the_deserializer_de_lifetime_line_216 ... ok error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:29:5 | 29 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:49:10 | 49 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:49:21 | 49 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:53:7 | 53 | #[serde(with = "DurationDef")] | ^^^^^ error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:33:10 | 33 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:33:21 | 33 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:34:3 | 34 | #[serde(remote = "Duration")] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:36:7 | 36 | #[serde(getter = "Duration::seconds")] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.K60wWYnmnMFQ/test.rs:38:7 | 38 | #[serde(getter = "Duration::subsec_nanos")] | ^^^^^ error: aborting due to 9 previous errors For more information about this error, try `rustc --explain E0432`. test remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_74 ... FAILED test data_model_sect_mapping_into_the_data_model_line_128 ... ok error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:2:5 | 2 | use serde::{de, Deserialize, Deserializer}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:7:10 | 7 | #[derive(Deserialize, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:14:7 | 14 | #[serde(deserialize_with = "deserialize_from_str")] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:15:7 | 15 | #[serde(bound(deserialize = "S: FromStr, S::Err: Display"))] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:22:7 | 22 | #[serde(bound(deserialize = "Ptr<'a, T>: Deserialize<'de>"))] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.7wppUjfhmi6E/test.rs:68:35 | 68 | let result: Outer = serde_json::from_str(j).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 6 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test attr_bound_sect_handwritten_generic_type_bounds_line_14 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.hd96a5VKW5Fw/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.hd96a5VKW5Fw/test.rs:4:10 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.hd96a5VKW5Fw/test.rs:4:21 | 4 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.hd96a5VKW5Fw/test.rs:5:3 | 5 | #[serde(untagged)] | ^^^^^ error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0432`. test enum_representations_sect_untagged_line_136 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.qIMt4ScdUrMR/test.rs:4:5 | 4 | use serde::de::{self, Visitor}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.qIMt4ScdUrMR/test.rs:4:5 | 4 | use serde::de::{self, Visitor}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.qIMt4ScdUrMR/test.rs:9:11 | 9 | impl<'de> Visitor<'de> for I32Visitor { | ^^^^^^^ not found in this scope error: aborting due to 3 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test impl_deserialize_sect_the_visitor_trait_line_70 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:7:5 | 7 | use serde::{Deserialize, Deserializer}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:8:5 | 8 | use serde::de::{self, Visitor, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:8:5 | 8 | use serde::de::{self, Visitor, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `void` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:9:5 | 9 | use void::Void; | ^^^^ use of undeclared type or module `void` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:37:17 | 37 | #[derive(Debug, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:44:7 | 44 | #[serde(deserialize_with = "string_or_struct")] | ^^^^^ error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:48:17 | 48 | #[derive(Debug, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:58:7 | 58 | #[serde(default)] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_yaml` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:15:28 | 15 | let service: Service = serde_yaml::from_str(build_string).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_yaml` error[E0433]: failed to resolve: use of undeclared type or module `serde_yaml` --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:29:28 | 29 | let service: Service = serde_yaml::from_str(build_struct).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_yaml` error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:96:18 | 96 | impl<'de, T> Visitor<'de> for StringOrStruct | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `MapAccess` in this scope --> /tmp/rust-skeptic.6B3lDNDuVilD/test.rs:115:16 | 115 | M: MapAccess<'de>, | ^^^^^^^^^ not found in this scope error: aborting due to 12 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test string_or_struct_sect_deserialize_either_a_string_or_a_struct_line_26 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:38:5 | 38 | use serde::ser::{Serialize, Serializer, SerializeSeq, SerializeMap}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:40:9 | 40 | impl Serialize for Vec | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:42:8 | 42 | T: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:46:12 | 46 | S: Serializer, | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:56:12 | 56 | impl Serialize for MyMap | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:58:8 | 58 | K: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:59:8 | 59 | V: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.vejtFVH5t5ZG/test.rs:63:12 | 63 | S: Serializer, | ^^^^^^^^^^ not found in this scope error: aborting due to 8 previous errors Some errors have detailed explanations: E0405, E0433. For more information about an error, try `rustc --explain E0405`. test impl_serialize_sect_serializing_a_sequence_or_map_line_86 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.uWbATpJIpybH/test.rs:2:5 | 2 | use serde::Serializer; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test impl_serialize_sect_implementing_serialize_line_7 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.vVRBS4bHtRzO/test.rs:2:5 | 2 | use serde::Deserializer; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test lifetimes_sect_understanding_deserializer_lifetimes_line_9 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.XsDNgSyJQCh2/test.rs:2:5 | 2 | use serde::Serialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.XsDNgSyJQCh2/test.rs:6:10 | 6 | #[derive(Serialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.XsDNgSyJQCh2/test.rs:12:7 | 12 | #[serde(skip_serializing)] | ^^^^^ error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.XsDNgSyJQCh2/test.rs:17:7 | 17 | #[serde(skip_serializing_if = "Map::is_empty")] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.XsDNgSyJQCh2/test.rs:40:16 | 40 | let json = serde_json::to_string_pretty(&resources).unwrap(); | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 5 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test attr_skip_serializing_sect_skip_serializing_field_line_13 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:3:13 | 3 | pub use serde::de::value::Error; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:133:13 | 133 | use serde::ser::SerializeSeq; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:7:5 | 7 | use serde::{ser, Serialize}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `error::Error` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:9:13 | 9 | use error::{Error, Result}; | ^^^^^ no `Error` in `error` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:511:14 | 511 | #[derive(Serialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:527:14 | 527 | #[derive(Serialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0412]: cannot find type `Error` in this scope --> /tmp/rust-skeptic.fdRCFuE6YWYC/test.rs:4:51 | 4 | pub type Result = ::std::result::Result; | ^^^^^ not found in this scope | help: consider importing one of these items | 3 | use core::fmt::Error; | 3 | use std::error::Error; | 3 | use std::fmt::Error; | 3 | use std::io::Error; | error: aborting due to 7 previous errors Some errors have detailed explanations: E0412, E0432, E0433. For more information about an error, try `rustc --explain E0412`. test impl_serializer_sect_implementing_a_serializer_line_18 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.RdTEre55Z3eB/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.RdTEre55Z3eB/test.rs:7:10 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.RdTEre55Z3eB/test.rs:7:21 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0432`. test enum_representations_sect_enum_representations_line_5 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.QoVdnGTmO3z1/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.QoVdnGTmO3z1/test.rs:16:10 | 16 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.QoVdnGTmO3z1/test.rs:19:7 | 19 | #[serde(borrow = "'a + 'b")] | ^^^^^ error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.QoVdnGTmO3z1/test.rs:9:10 | 9 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0432`. test lifetimes_sect_borrowing_data_in_a_derived_impl_line_306 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.PxBnexjh3xib/test.rs:4:5 | 4 | use serde::ser::{Serialize, Serializer, SerializeStruct}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.PxBnexjh3xib/test.rs:12:6 | 12 | impl Serialize for Color { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.PxBnexjh3xib/test.rs:15:12 | 15 | S: Serializer, | ^^^^^^^^^^ not found in this scope error: aborting due to 3 previous errors Some errors have detailed explanations: E0405, E0433. For more information about an error, try `rustc --explain E0405`. test impl_serialize_sect_serializing_a_struct_line_226 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:13:10 | 13 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:14:17 | 14 | struct Helper(#[serde(with = "DurationDef")] Duration); | ^^^^^ error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:8:10 | 8 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:9:3 | 9 | #[serde(remote = "Duration")] | ^^^^^ error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:12:42 | 12 | fn try_main(j: &str) -> Result { | ^^^^^^^^^^ use of undeclared type or module `serde_json` error[E0433]: failed to resolve: use of undeclared type or module `serde_json` --> /tmp/rust-skeptic.R34FXB3w8yem/test.rs:16:11 | 16 | let dur = serde_json::from_str(j).map(|Helper(dur)| dur)?; | ^^^^^^^^^^ use of undeclared type or module `serde_json` error: aborting due to 7 previous errors Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. test remote_derive_sect_invoking_the_remote_impl_directly_line_200 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.QyyrNA189P9f/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.QyyrNA189P9f/test.rs:7:10 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.QyyrNA189P9f/test.rs:7:21 | 7 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.QyyrNA189P9f/test.rs:8:3 | 8 | #[serde(untagged)] | ^^^^^ error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0432`. test enum_representations_sect_untagged_line_105 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.IUYce4H04ZCh/test.rs:2:5 | 2 | use serde::Deserializer; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test impl_deserialize_sect_implementing_deserialize_line_7 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.1XJfCLyv25K2/test.rs:4:5 | 4 | use serde::de::{Deserialize, Deserializer, Visitor}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.1XJfCLyv25K2/test.rs:10:11 | 10 | impl<'de> Visitor<'de> for I32Visitor { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.1XJfCLyv25K2/test.rs:18:11 | 18 | impl<'de> Deserialize<'de> for i32 { | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.1XJfCLyv25K2/test.rs:21:12 | 21 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 4 previous errors Some errors have detailed explanations: E0405, E0433. For more information about an error, try `rustc --explain E0405`. test impl_deserialize_sect_driving_a_visitor_line_136 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.V0gP2yzV3oz8/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.V0gP2yzV3oz8/test.rs:17:10 | 17 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.V0gP2yzV3oz8/test.rs:18:3 | 18 | #[serde(remote = "Duration")] | ^^^^^ error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0432`. test remote_derive_sect_invoking_the_remote_impl_directly_line_144 ... FAILED error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:9:9 | 9 | use serde::ser::{Serialize, Serializer, SerializeMap}; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:10:9 | 10 | use serde::de::{Deserialize, Deserializer, Visitor, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `linked_hash_map` --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:3:5 | 3 | use linked_hash_map::LinkedHashMap; | ^^^^^^^^^^^^^^^ use of undeclared type or module `linked_hash_map` error[E0432]: unresolved import `serde_test` --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:12:5 | 12 | use serde_test::{Token, assert_tokens}; | ^^^^^^^^^^ use of undeclared type or module `serde_test` error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:30:16 | 30 | impl Serialize for LinkedHashMap | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:32:12 | 32 | K: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:33:12 | 33 | V: Serialize, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Serializer` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:37:16 | 37 | S: Serializer, | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:49:21 | 49 | impl<'de, K, V> Visitor<'de> for LinkedHashMapVisitor | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:51:12 | 51 | K: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:52:12 | 52 | V: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `MapAccess` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:62:16 | 62 | M: MapAccess<'de>, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:72:21 | 72 | impl<'de, K, V> Deserialize<'de> for LinkedHashMap | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:74:12 | 74 | K: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:75:12 | 75 | V: Deserialize<'de>, | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.R9agR2DnT4Go/test.rs:79:16 | 79 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error: aborting due to 16 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test unit_testing_sect_unit_testing_line_21 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs:18:10 | 18 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs:22:7 | 22 | #[serde(borrow)] | ^^^^^ error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs:8:10 | 8 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs:14:7 | 14 | #[serde(borrow)] | ^^^^^ error: aborting due to 5 previous errors For more information about this error, try `rustc --explain E0432`. test lifetimes_sect_borrowing_data_in_a_derived_impl_line_243 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.YYIOfgCarlU4/test.rs:4:5 | 4 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.YYIOfgCarlU4/test.rs:6:10 | 6 | #[derive(Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0432`. test lifetimes_sect_understanding_deserializer_lifetimes_line_25 ... FAILED test lifetimes_sect_the_deserializer_de_lifetime_line_192 ... ok error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:4:5 | 4 | use serde::de::{self, Deserialize, Deserializer, Visitor, SeqAccess, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:4:5 | 4 | use serde::de::{self, Deserialize, Deserializer, Visitor, SeqAccess, MapAccess}; | ^^^^^ use of undeclared type or module `serde` error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:18:11 | 18 | impl<'de> Deserialize<'de> for Duration { | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:21:12 | 21 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserialize` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:30:19 | 30 | impl<'de> Deserialize<'de> for Field { | ^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Deserializer` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:33:20 | 33 | D: Deserializer<'de>, | ^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:37:27 | 37 | impl<'de> Visitor<'de> for FieldVisitor { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:62:19 | 62 | impl<'de> Visitor<'de> for DurationVisitor { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `SeqAccess` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:71:20 | 71 | V: SeqAccess<'de>, | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `MapAccess` in this scope --> /tmp/rust-skeptic.iVEMArGAGhOI/test.rs:82:20 | 82 | V: MapAccess<'de>, | ^^^^^^^^^ not found in this scope error: aborting due to 10 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.LXdjDr3N2CIF/test.rs:11:5 | 11 | use serde::{de, ser}; | ^^^^^ use of undeclared type or module `serde` error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. test error_handling_sect_error_handling_line_38 ... FAILED test deserialize_struct_sect_manually_implementing_deserialize_for_a_struct_line_25 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.0GFF2swmOpYV/test.rs:2:5 | 2 | use serde::{Serialize, Deserialize}; | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Serialize` --> /tmp/rust-skeptic.0GFF2swmOpYV/test.rs:6:10 | 6 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.0GFF2swmOpYV/test.rs:6:21 | 6 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot find attribute `serde` in this scope --> /tmp/rust-skeptic.0GFF2swmOpYV/test.rs:7:3 | 7 | #[serde(tag = "t", content = "c")] | ^^^^^ error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0432`. test enum_representations_sect_adjacently_tagged_line_78 ... FAILED error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:6:9 | 6 | use serde::{ser, de}; | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:58:5 | 58 | use serde::Deserialize; | ^^^^^ use of undeclared type or module `serde` error[E0433]: failed to resolve: use of undeclared type or module `serde` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:59:5 | 59 | use serde::de::{ | ^^^^^ use of undeclared type or module `serde` error[E0432]: unresolved import `serde` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:59:5 | 59 | use serde::de::{ | ^^^^^ use of undeclared type or module `serde` error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:716:14 | 716 | #[derive(Deserialize, PartialEq, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error: cannot determine resolution for the derive macro `Deserialize` --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:732:14 | 732 | #[derive(Deserialize, PartialEq, Debug)] | ^^^^^^^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:195:12 | 195 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:225:12 | 225 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:234:12 | 234 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:241:12 | 241 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:248:12 | 248 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:255:12 | 255 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:262:12 | 262 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:269:12 | 269 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:276:12 | 276 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:283:12 | 283 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:291:12 | 291 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:299:12 | 299 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:308:12 | 308 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:318:12 | 318 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:325:12 | 325 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:334:12 | 334 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:341:12 | 341 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:356:12 | 356 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:369:12 | 369 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:386:12 | 386 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:400:12 | 400 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:410:12 | 410 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:435:12 | 435 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:448:12 | 448 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:458:12 | 458 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:488:12 | 488 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:500:12 | 500 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:525:12 | 525 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:543:12 | 543 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `SeqAccess` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:568:15 | 568 | impl<'de, 'a> SeqAccess<'de> for CommaSeparated<'a, 'de> { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:573:12 | 573 | T: DeserializeSeed<'de>, | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `MapAccess` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:591:15 | 591 | impl<'de, 'a> MapAccess<'de> for CommaSeparated<'a, 'de> { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:596:12 | 596 | K: DeserializeSeed<'de>, | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:613:12 | 613 | V: DeserializeSeed<'de>, | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `EnumAccess` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:641:15 | 641 | impl<'de, 'a> EnumAccess<'de> for Enum<'a, 'de> { | ^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:647:12 | 647 | V: DeserializeSeed<'de>, | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `VariantAccess` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:664:15 | 664 | impl<'de, 'a> VariantAccess<'de> for Enum<'a, 'de> { | ^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `DeserializeSeed` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:677:12 | 677 | T: DeserializeSeed<'de>, | ^^^^^^^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:686:12 | 686 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> /tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs:699:12 | 699 | V: Visitor<'de>, | ^^^^^^^ not found in this scope error: aborting due to 46 previous errors Some errors have detailed explanations: E0405, E0432, E0433. For more information about an error, try `rustc --explain E0405`. test impl_deserializer_sect_implementing_a_deserializer_line_34 ... FAILED test lifetimes_sect_the_deserialize_de_lifetime_line_133 ... ok test impl_serialize_sect_serializing_a_struct_line_186 ... ok test lifetimes_sect_borrowing_data_in_a_derived_impl_line_278 ... ok test impl_serialize_sect_serializing_an_enum_line_258 ... ok test json_sect_structs_and_enums_in_json_line_9 ... ok test lifetimes_sect_the_deserialize_de_lifetime_line_161 ... ok failures: ---- custom_serialization_sect_custom_serialization_line_13 stdout ---- thread 'custom_serialization_sect_custom_serialization_line_13' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.Zm3ogudVbLfG/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.Zm3ogudVbLfG/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- attr_default_sect_default_value_for_a_field_line_4 stdout ---- thread 'attr_default_sect_default_value_for_a_field_line_4' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.4BObPrhVdFCI/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.4BObPrhVdFCI/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_number_sect_serialize_enum_as_number_line_16 stdout ---- thread 'enum_number_sect_serialize_enum_as_number_line_16' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.tstC3MmlZ4Th/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.tstC3MmlZ4Th/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- deserialize_map_sect_implement_deserialize_for_a_custom_map_type_line_4 stdout ---- thread 'deserialize_map_sect_implement_deserialize_for_a_custom_map_type_line_4' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.kQg6nrYwdirj/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.kQg6nrYwdirj/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attr_rename_sect_serialize_fields_as_camelcase_line_4 stdout ---- thread 'attr_rename_sect_serialize_fields_as_camelcase_line_4' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.sjI38KOxMsIT/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.sjI38KOxMsIT/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- convert_error_sect_converting_error_types_line_20 stdout ---- thread 'convert_error_sect_converting_error_types_line_20' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.8mQWvLMaOFaq/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.8mQWvLMaOFaq/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- custom_date_format_sect_date_in_a_custom_format_line_8 stdout ---- thread 'custom_date_format_sect_date_in_a_custom_format_line_8' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.HH3HRvXHqwqm/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.HH3HRvXHqwqm/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attributes_sect_attributes_line_19 stdout ---- thread 'attributes_sect_attributes_line_19' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.jZza5qVqMOkX/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.jZza5qVqMOkX/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- derive_sect_using_derive_line_50 stdout ---- thread 'derive_sect_using_derive_line_50' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.tcSUIfJcri9W/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.tcSUIfJcri9W/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_representations_sect_internally_tagged_line_45 stdout ---- thread 'enum_representations_sect_internally_tagged_line_45' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.3yFHQ6EkdD1i/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.3yFHQ6EkdD1i/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_27 stdout ---- thread 'remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_27' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.UMsauBgy6raj/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.UMsauBgy6raj/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- readme_sect_serde_line_97 stdout ---- thread 'readme_sect_serde_line_97' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.5kAvhxxeA4oq/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.5kAvhxxeA4oq/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- stream_array_sect_process_an_array_of_values_without_buffering_into_a_vec_line_9 stdout ---- thread 'stream_array_sect_process_an_array_of_values_without_buffering_into_a_vec_line_9' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.QKNpAhGXjIBU/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.QKNpAhGXjIBU/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- transcode_sect_transcode_one_format_into_another_line_17 stdout ---- thread 'transcode_sect_transcode_one_format_into_another_line_17' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.ZIelCXplbqne/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.ZIelCXplbqne/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_serialize_sect_serializing_a_primitive_line_37 stdout ---- thread 'impl_serialize_sect_serializing_a_primitive_line_37' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.B1VP9mPk64tm/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.B1VP9mPk64tm/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attr_flatten_sect_struct_flattening_line_66 stdout ---- thread 'attr_flatten_sect_struct_flattening_line_66' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.8EjwlbAi6saH/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.8EjwlbAi6saH/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- remote_derive_sect_invoking_the_remote_impl_directly_line_174 stdout ---- thread 'remote_derive_sect_invoking_the_remote_impl_directly_line_174' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.uKaxJjzizo1Z/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.uKaxJjzizo1Z/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- ignored_any_sect_discarding_data_line_12 stdout ---- thread 'ignored_any_sect_discarding_data_line_12' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.PERN2FhqfVOq/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.PERN2FhqfVOq/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attr_flatten_sect_struct_flattening_line_37 stdout ---- thread 'attr_flatten_sect_struct_flattening_line_37' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.j5etLPojhV5k/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.j5etLPojhV5k/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_74 stdout ---- thread 'remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_74' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.K60wWYnmnMFQ/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.K60wWYnmnMFQ/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attr_bound_sect_handwritten_generic_type_bounds_line_14 stdout ---- thread 'attr_bound_sect_handwritten_generic_type_bounds_line_14' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.7wppUjfhmi6E/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.7wppUjfhmi6E/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_representations_sect_untagged_line_136 stdout ---- thread 'enum_representations_sect_untagged_line_136' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.hd96a5VKW5Fw/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.hd96a5VKW5Fw/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_deserialize_sect_the_visitor_trait_line_70 stdout ---- thread 'impl_deserialize_sect_the_visitor_trait_line_70' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.qIMt4ScdUrMR/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.qIMt4ScdUrMR/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- string_or_struct_sect_deserialize_either_a_string_or_a_struct_line_26 stdout ---- thread 'string_or_struct_sect_deserialize_either_a_string_or_a_struct_line_26' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.6B3lDNDuVilD/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.6B3lDNDuVilD/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_serialize_sect_serializing_a_sequence_or_map_line_86 stdout ---- thread 'impl_serialize_sect_serializing_a_sequence_or_map_line_86' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.vejtFVH5t5ZG/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.vejtFVH5t5ZG/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_serialize_sect_implementing_serialize_line_7 stdout ---- thread 'impl_serialize_sect_implementing_serialize_line_7' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.uWbATpJIpybH/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.uWbATpJIpybH/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- lifetimes_sect_understanding_deserializer_lifetimes_line_9 stdout ---- thread 'lifetimes_sect_understanding_deserializer_lifetimes_line_9' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.vVRBS4bHtRzO/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.vVRBS4bHtRzO/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- attr_skip_serializing_sect_skip_serializing_field_line_13 stdout ---- thread 'attr_skip_serializing_sect_skip_serializing_field_line_13' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.XsDNgSyJQCh2/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.XsDNgSyJQCh2/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_serializer_sect_implementing_a_serializer_line_18 stdout ---- thread 'impl_serializer_sect_implementing_a_serializer_line_18' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.fdRCFuE6YWYC/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.fdRCFuE6YWYC/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_representations_sect_enum_representations_line_5 stdout ---- thread 'enum_representations_sect_enum_representations_line_5' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.RdTEre55Z3eB/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.RdTEre55Z3eB/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- lifetimes_sect_borrowing_data_in_a_derived_impl_line_306 stdout ---- thread 'lifetimes_sect_borrowing_data_in_a_derived_impl_line_306' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.QoVdnGTmO3z1/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.QoVdnGTmO3z1/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_serialize_sect_serializing_a_struct_line_226 stdout ---- thread 'impl_serialize_sect_serializing_a_struct_line_226' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.PxBnexjh3xib/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.PxBnexjh3xib/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- remote_derive_sect_invoking_the_remote_impl_directly_line_200 stdout ---- thread 'remote_derive_sect_invoking_the_remote_impl_directly_line_200' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.R34FXB3w8yem/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.R34FXB3w8yem/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_representations_sect_untagged_line_105 stdout ---- thread 'enum_representations_sect_untagged_line_105' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.QyyrNA189P9f/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.QyyrNA189P9f/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_deserialize_sect_implementing_deserialize_line_7 stdout ---- thread 'impl_deserialize_sect_implementing_deserialize_line_7' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.IUYce4H04ZCh/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.IUYce4H04ZCh/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_deserialize_sect_driving_a_visitor_line_136 stdout ---- thread 'impl_deserialize_sect_driving_a_visitor_line_136' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.1XJfCLyv25K2/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.1XJfCLyv25K2/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- remote_derive_sect_invoking_the_remote_impl_directly_line_144 stdout ---- thread 'remote_derive_sect_invoking_the_remote_impl_directly_line_144' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.V0gP2yzV3oz8/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.V0gP2yzV3oz8/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- unit_testing_sect_unit_testing_line_21 stdout ---- thread 'unit_testing_sect_unit_testing_line_21' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.R9agR2DnT4Go/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.R9agR2DnT4Go/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- lifetimes_sect_borrowing_data_in_a_derived_impl_line_243 stdout ---- thread 'lifetimes_sect_borrowing_data_in_a_derived_impl_line_243' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.Wc2B0gJUvRKK/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.Wc2B0gJUvRKK/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- lifetimes_sect_understanding_deserializer_lifetimes_line_25 stdout ---- thread 'lifetimes_sect_understanding_deserializer_lifetimes_line_25' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.YYIOfgCarlU4/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.YYIOfgCarlU4/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- error_handling_sect_error_handling_line_38 stdout ---- thread 'error_handling_sect_error_handling_line_38' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.LXdjDr3N2CIF/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.LXdjDr3N2CIF/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- deserialize_struct_sect_manually_implementing_deserialize_for_a_struct_line_25 stdout ---- thread 'deserialize_struct_sect_manually_implementing_deserialize_for_a_struct_line_25' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.iVEMArGAGhOI/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.iVEMArGAGhOI/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- enum_representations_sect_adjacently_tagged_line_78 stdout ---- thread 'enum_representations_sect_adjacently_tagged_line_78' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.0GFF2swmOpYV/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.0GFF2swmOpYV/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 ---- impl_deserializer_sect_implementing_a_deserializer_line_34 stdout ---- thread 'impl_deserializer_sect_implementing_a_deserializer_line_34' panicked at 'Command failed: "rustc" "/tmp/rust-skeptic.ok17G1Q0Eo3M/test.rs" "--verbose" "--crate-type=bin" "--edition=2018" "-L" "/git/book/_skeptic/target/debug" "-L" "/git/book/_skeptic/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic.ok17G1Q0Eo3M/out.exe"', .cargo/registry/src/github.com-1ecc6299db9ec823/skeptic-0.13.4/lib.rs:855:13 failures: attr_bound_sect_handwritten_generic_type_bounds_line_14 attr_default_sect_default_value_for_a_field_line_4 attr_flatten_sect_struct_flattening_line_37 attr_flatten_sect_struct_flattening_line_66 attr_rename_sect_serialize_fields_as_camelcase_line_4 attr_skip_serializing_sect_skip_serializing_field_line_13 attributes_sect_attributes_line_19 convert_error_sect_converting_error_types_line_20 custom_date_format_sect_date_in_a_custom_format_line_8 custom_serialization_sect_custom_serialization_line_13 derive_sect_using_derive_line_50 deserialize_map_sect_implement_deserialize_for_a_custom_map_type_line_4 deserialize_struct_sect_manually_implementing_deserialize_for_a_struct_line_25 enum_number_sect_serialize_enum_as_number_line_16 enum_representations_sect_adjacently_tagged_line_78 enum_representations_sect_enum_representations_line_5 enum_representations_sect_internally_tagged_line_45 enum_representations_sect_untagged_line_105 enum_representations_sect_untagged_line_136 error_handling_sect_error_handling_line_38 ignored_any_sect_discarding_data_line_12 impl_deserialize_sect_driving_a_visitor_line_136 impl_deserialize_sect_implementing_deserialize_line_7 impl_deserialize_sect_the_visitor_trait_line_70 impl_deserializer_sect_implementing_a_deserializer_line_34 impl_serialize_sect_implementing_serialize_line_7 impl_serialize_sect_serializing_a_primitive_line_37 impl_serialize_sect_serializing_a_sequence_or_map_line_86 impl_serialize_sect_serializing_a_struct_line_226 impl_serializer_sect_implementing_a_serializer_line_18 lifetimes_sect_borrowing_data_in_a_derived_impl_line_243 lifetimes_sect_borrowing_data_in_a_derived_impl_line_306 lifetimes_sect_understanding_deserializer_lifetimes_line_25 lifetimes_sect_understanding_deserializer_lifetimes_line_9 readme_sect_serde_line_97 remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_27 remote_derive_sect_deriving_de_serialize_for_type_in_a_different_crate_line_74 remote_derive_sect_invoking_the_remote_impl_directly_line_144 remote_derive_sect_invoking_the_remote_impl_directly_line_174 remote_derive_sect_invoking_the_remote_impl_directly_line_200 stream_array_sect_process_an_array_of_values_without_buffering_into_a_vec_line_9 string_or_struct_sect_deserialize_either_a_string_or_a_struct_line_26 transcode_sect_transcode_one_format_into_another_line_17 unit_testing_sect_unit_testing_line_21 test result: FAILED. 11 passed; 44 failed; 0 ignored; 0 measured; 0 filtered out error: test failed, to rerun pass '--test skeptic' ```
dtolnay commented 3 years ago

This got fixed in skeptic 0.13.5.