[INFO] fetching crate simple_serde 2.0.0... [INFO] checking simple_serde-2.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate simple_serde 2.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate simple_serde 2.0.0 [INFO] finished tweaking crates.io crate simple_serde 2.0.0 [INFO] tweaked toml for crates.io crate simple_serde 2.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_serde 2.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 199 packages to latest compatible versions [INFO] [stderr] Adding apache-avro v0.16.0 (available: v0.20.0) [INFO] [stderr] Adding bson v2.15.0 (available: v3.0.0) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding flexbuffers v2.0.0 (available: v25.2.10) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding ron v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding serde-xml-rs v0.6.0 (available: v0.8.1) [INFO] [stderr] Adding serde_qs v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5edb91669ab79be48c4f069ca65bea40c3539bda0ca98a4a96d6d1a3cfef0b6 [INFO] running `Command { std: "docker" "start" "-a" "b5edb91669ab79be48c4f069ca65bea40c3539bda0ca98a4a96d6d1a3cfef0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5edb91669ab79be48c4f069ca65bea40c3539bda0ca98a4a96d6d1a3cfef0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5edb91669ab79be48c4f069ca65bea40c3539bda0ca98a4a96d6d1a3cfef0b6", kill_on_drop: false }` [INFO] [stdout] b5edb91669ab79be48c4f069ca65bea40c3539bda0ca98a4a96d6d1a3cfef0b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ed9f6fa8d2d0241fc23ba6528315dbe3ff6dfb50212ed5435d540745076ee71 [INFO] running `Command { std: "docker" "start" "-a" "3ed9f6fa8d2d0241fc23ba6528315dbe3ff6dfb50212ed5435d540745076ee71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking ron v0.9.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking simple_serde v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:564:11 [INFO] [stdout] | [INFO] [stdout] 564 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:572:11 [INFO] [stdout] | [INFO] [stdout] 572 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::de::SpannedError` [INFO] [stdout] --> src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | use ron::de::SpannedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | _ => Err(Self::Error::NoSerializersDeserializersSet), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 341 | Self::Bson => Ok(Self::Bson), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 347 | Self::Json => Ok(Self::Json), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 348 | #[cfg(feature = "json5")] [INFO] [stdout] 349 | Self::Json5 => Ok(Self::Json5), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 359 | Self::Ron => Ok(Self::Ron), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 368 | _ => Err(Self::Error::NoSerializersDeserializersSet), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:564:11 [INFO] [stdout] | [INFO] [stdout] 564 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:572:11 [INFO] [stdout] | [INFO] [stdout] 572 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::de::SpannedError` [INFO] [stdout] --> src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | use ron::de::SpannedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/test/test_trait_impl.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/test/test_trait_impl.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CborFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | Error::CborFailure(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `CborFailure` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffersSerializationFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | Error::FlexBuffersSerializationFailure(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `FlexBuffersSerializationFailure` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - Error::FlexBuffersSerializationFailure(e) => match other { [INFO] [stdout] 34 + Error::BsonSerializationFailure(e) => match other { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffersDeserializationFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | Error::FlexBuffersDeserializationFailure(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `FlexBuffersDeserializationFailure` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - Error::FlexBuffersDeserializationFailure(e) => match other { [INFO] [stdout] 38 + Error::BsonDeserializationFailure(e) => match other { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `LexprError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | Error::LexprError(e) => match other { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `LexprError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePackEncodeError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | Error::MessagePackEncodeError(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `MessagePackEncodeError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePackDecodeError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | Error::MessagePackDecodeError(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `MessagePackDecodeError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PickleError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | Error::PickleError(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `PickleError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PostcardError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | Error::PostcardError(e) => match other { [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `PostcardError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CborFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | Error::CborFailure(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `CborFailure` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffersSerializationFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | Error::FlexBuffersSerializationFailure(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `FlexBuffersSerializationFailure` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 35 - Error::FlexBuffersSerializationFailure(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] 35 + Error::BsonSerializationFailure(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffersDeserializationFailure` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | Error::FlexBuffersDeserializationFailure(ee) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `FlexBuffersDeserializationFailure` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - Error::FlexBuffersDeserializationFailure(ee) => { [INFO] [stdout] 39 + Error::BsonDeserializationFailure(ee) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `LexprError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | Error::LexprError(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `LexprError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePackEncodeError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | Error::MessagePackEncodeError(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `MessagePackEncodeError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePackDecodeError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Error::MessagePackDecodeError(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `MessagePackDecodeError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PickleError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | Error::PickleError(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `PickleError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PostcardError` found for enum `Error` in the current scope [INFO] [stdout] --> src/test/test_trait_impl.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | Error::PostcardError(ee) => format!("{}", e) == format!("{}", ee), [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `Error` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `PostcardError` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Cbor` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1171:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Cbor` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1171 | ContentType::Cbor, [INFO] [stdout] | ^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Cbor` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1172:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Cbor` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1172 | ContentType::try_from(&ContentType::Cbor).unwrap() [INFO] [stdout] | ^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffers` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1175:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `FlexBuffers` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1175 | ContentType::FlexBuffers, [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FlexBuffers` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1176:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `FlexBuffers` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1176 | ContentType::try_from(&ContentType::FlexBuffers).unwrap() [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Lexpr` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1187:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Lexpr` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1187 | ContentType::Lexpr, [INFO] [stdout] | ^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Lexpr` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1188:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Lexpr` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1188 | ContentType::try_from(&ContentType::Lexpr).unwrap() [INFO] [stdout] | ^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePack` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1191:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `MessagePack` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1191 | ContentType::MessagePack, [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MessagePack` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1192:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `MessagePack` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1192 | ContentType::try_from(&ContentType::MessagePack).unwrap() [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Postcard` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1195:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Postcard` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1195 | ContentType::Postcard, [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Postcard` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1196:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Postcard` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1196 | ContentType::try_from(&ContentType::Postcard).unwrap() [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Pickle` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1215:26 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Pickle` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1215 | ContentType::Pickle, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Pickle` found for enum `ContentType` in the current scope [INFO] [stdout] --> src/lib.rs:1216:49 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `Pickle` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1216 | ContentType::try_from(&ContentType::Pickle).unwrap() [INFO] [stdout] | ^^^^^^ variant or associated item not found in `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | _ => Err(Self::Error::NoSerializersDeserializersSet), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 341 | Self::Bson => Ok(Self::Bson), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 347 | Self::Json => Ok(Self::Json), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 348 | #[cfg(feature = "json5")] [INFO] [stdout] 349 | Self::Json5 => Ok(Self::Json5), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 359 | Self::Ron => Ok(Self::Ron), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 368 | _ => Err(Self::Error::NoSerializersDeserializersSet), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_serde` (lib test) due to 28 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ed9f6fa8d2d0241fc23ba6528315dbe3ff6dfb50212ed5435d540745076ee71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed9f6fa8d2d0241fc23ba6528315dbe3ff6dfb50212ed5435d540745076ee71", kill_on_drop: false }` [INFO] [stdout] 3ed9f6fa8d2d0241fc23ba6528315dbe3ff6dfb50212ed5435d540745076ee71