[INFO] fetching crate facet-postcard-legacy 0.36.0... [INFO] testing facet-postcard-legacy-0.36.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate facet-postcard-legacy 0.36.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate facet-postcard-legacy 0.36.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-postcard-legacy 0.36.0 [INFO] tweaked toml for crates.io crate facet-postcard-legacy 0.36.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-postcard-legacy 0.36.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate facet-postcard-legacy 0.36.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded facet-path v0.36.0 [INFO] [stderr] Downloaded tree-sitter-language v0.1.6 [INFO] [stderr] Downloaded arborium-sysroot v2.4.6 [INFO] [stderr] Downloaded arborium-json v2.4.6 [INFO] [stderr] Downloaded facet-pretty v0.36.0 [INFO] [stderr] Downloaded arborium v2.4.6 [INFO] [stderr] Downloaded jiff-static v0.2.17 [INFO] [stderr] Downloaded dlmalloc v0.2.12 [INFO] [stderr] Downloaded portable-atomic v1.13.0 [INFO] [stderr] Downloaded facet-core v0.36.0 [INFO] [stderr] Downloaded facet-reflect v0.36.0 [INFO] [stderr] Downloaded arborium-theme v2.4.6 [INFO] [stderr] Downloaded miette-arborium v2.4.6 [INFO] [stderr] Downloaded jiff-tzdb v0.1.5 [INFO] [stderr] Downloaded arborium-highlight v2.4.6 [INFO] [stderr] Downloaded camino v1.2.2 [INFO] [stderr] Downloaded arborium-tree-sitter v2.4.6 [INFO] [stderr] Downloaded arborium-rust v2.4.6 [INFO] [stderr] Downloaded jiff v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fed2f753e7e59934c034e72b3de685927bf7a8c938d1354f26d445c7527d18a [INFO] running `Command { std: "docker" "start" "-a" "1fed2f753e7e59934c034e72b3de685927bf7a8c938d1354f26d445c7527d18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fed2f753e7e59934c034e72b3de685927bf7a8c938d1354f26d445c7527d18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fed2f753e7e59934c034e72b3de685927bf7a8c938d1354f26d445c7527d18a", kill_on_drop: false }` [INFO] [stdout] 1fed2f753e7e59934c034e72b3de685927bf7a8c938d1354f26d445c7527d18a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5f03f4d0711709ecc71b042b07eefd93fada617d44bb3d324a9970e885224d9 [INFO] running `Command { std: "docker" "start" "-a" "f5f03f4d0711709ecc71b042b07eefd93fada617d44bb3d324a9970e885224d9", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling tree-sitter-language v0.1.6 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling supports-hyperlinks v3.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling facet-core v0.36.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling arborium-theme v2.4.6 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling arborium v2.4.6 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling arborium-tree-sitter v2.4.6 [INFO] [stderr] Compiling arborium-json v2.4.6 [INFO] [stderr] Compiling arborium-rust v2.4.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling facet-reflect v0.36.0 [INFO] [stderr] Compiling facet-pretty v0.36.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling arborium-highlight v2.4.6 [INFO] [stderr] Compiling miette-arborium v2.4.6 [INFO] [stderr] Compiling facet-path v0.36.0 [INFO] [stderr] Compiling facet-postcard-legacy v0.36.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.57s [INFO] running `Command { std: "docker" "inspect" "f5f03f4d0711709ecc71b042b07eefd93fada617d44bb3d324a9970e885224d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f03f4d0711709ecc71b042b07eefd93fada617d44bb3d324a9970e885224d9", kill_on_drop: false }` [INFO] [stdout] f5f03f4d0711709ecc71b042b07eefd93fada617d44bb3d324a9970e885224d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 125415acbb96fdcab125c1168a25470270d9cf5ecd8d1586f414dc933d53e6d9 [INFO] running `Command { std: "docker" "start" "-a" "125415acbb96fdcab125c1168a25470270d9cf5ecd8d1586f414dc933d53e6d9", kill_on_drop: false }` [INFO] [stderr] Compiling facet-postcard-legacy v0.36.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/arrays_tuples.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/arrays_tuples.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/arrays_tuples.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/arrays_tuples.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/pretty_error_messages.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/option_result.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/option_result.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/option_result.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/option_result.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/collections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/collections.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/collections.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/collections.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/serialize.rs:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> src/serialize.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/serialize.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/deserialize.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> src/deserialize.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | use postcard::from_bytes as postcard_from_slice; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/deserialize.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/error_messages.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/error_messages.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/error_messages.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/error_messages.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `insta` in this scope [INFO] [stdout] --> tests/error_messages.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | insta::assert_snapshot!(err_msg); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/edge_cases.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/edge_cases.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/edge_cases.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/edge_cases.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> examples/postcard_showcase.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_showcase` [INFO] [stdout] --> examples/postcard_showcase.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use facet_showcase::ShowcaseRunner; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_showcase` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_showcase`, use `cargo add facet_showcase` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/smart_pointers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/smart_pointers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/smart_pointers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/smart_pointers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/smart_pointers.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/edge_cases.rs:523:11 [INFO] [stdout] | [INFO] [stdout] 523 | #[serde(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/edge_cases.rs:524:11 [INFO] [stdout] | [INFO] [stdout] 524 | #[facet(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/pretty_error_messages.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Outer` [INFO] [stdout] --> tests/pretty_error_messages.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/pretty_error_messages.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/pretty_error_messages.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | #[serde(with = "arc_serde")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/pretty_error_messages.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Config` [INFO] [stdout] --> tests/pretty_error_messages.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/pretty_error_messages.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypedValue: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/pretty_error_messages.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TypedValue` [INFO] [stdout] --> tests/pretty_error_messages.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | enum TypedValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> examples/postcard_showcase.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | let result: Result, _> = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Outer` [INFO] [stdout] --> examples/postcard_showcase.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eyre` [INFO] [stdout] --> tests/primitives.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use eyre::Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `eyre` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `eyre`, use `cargo add eyre` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/primitives.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/primitives.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use postcard::from_bytes as postcard_from_slice; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `postcard` [INFO] [stdout] --> tests/primitives.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use postcard::to_allocvec as postcard_to_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/primitives.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: Facet<'static>` is not satisfied [INFO] [stdout] --> examples/postcard_showcase.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | let result: Result, _> = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> examples/postcard_showcase.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Facet<'static>` is not satisfied [INFO] [stdout] --> examples/postcard_showcase.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 168 | let result: Result, _> = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Config` [INFO] [stdout] --> examples/postcard_showcase.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypedValue: Facet<'static>` is not satisfied [INFO] [stdout] --> examples/postcard_showcase.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | let result: Result, _> = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TypedValue` [INFO] [stdout] --> examples/postcard_showcase.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | enum TypedValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "pretty_error_messages") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Root: Facet<'static>` is not satisfied [INFO] [stdout] --> examples/postcard_showcase.rs:219:45 [INFO] [stdout] | [INFO] [stdout] 219 | let result: Result, _> = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Root` [INFO] [stdout] --> examples/postcard_showcase.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | struct Root { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_4: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_4` [INFO] [stdout] --> tests/arrays_tuples.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ArrayU8_4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_4: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let decoded: ArrayU8_4 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_4` [INFO] [stdout] --> tests/arrays_tuples.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ArrayU8_4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU32_3: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU32_3` [INFO] [stdout] --> tests/arrays_tuples.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct ArrayU32_3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU32_3: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let decoded: ArrayU32_3 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU32_3` [INFO] [stdout] --> tests/arrays_tuples.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct ArrayU32_3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_0: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_0` [INFO] [stdout] --> tests/arrays_tuples.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct ArrayU8_0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_0: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | let decoded: ArrayU8_0 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_0` [INFO] [stdout] --> tests/arrays_tuples.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct ArrayU8_0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_1: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_1` [INFO] [stdout] --> tests/arrays_tuples.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct ArrayU8_1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_1: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | let decoded: ArrayU8_1 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_1` [INFO] [stdout] --> tests/arrays_tuples.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct ArrayU8_1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_32` [INFO] [stdout] --> tests/arrays_tuples.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct ArrayU8_32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayU8_32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let decoded: ArrayU8_32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayU8_32` [INFO] [stdout] --> tests/arrays_tuples.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct ArrayU8_32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayString_2: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayString_2` [INFO] [stdout] --> tests/arrays_tuples.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct ArrayString_2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayString_2: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let decoded: ArrayString_2 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `ArrayString_2` [INFO] [stdout] --> tests/arrays_tuples.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct ArrayString_2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/error_messages.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedArray: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedArray` [INFO] [stdout] --> tests/arrays_tuples.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct NestedArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedArray: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | let decoded: NestedArray = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedArray` [INFO] [stdout] --> tests/arrays_tuples.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct NestedArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple2: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple2` [INFO] [stdout] --> tests/arrays_tuples.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct Tuple2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (example "postcard_showcase") due to 7 previous errors [INFO] [stdout] error[E0277]: the trait bound `Tuple2: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let decoded: Tuple2 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple2` [INFO] [stdout] --> tests/arrays_tuples.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct Tuple2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/error_messages.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Outer` [INFO] [stdout] --> tests/error_messages.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/error_messages.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/error_messages.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/error_messages.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/error_messages.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple3: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple3` [INFO] [stdout] --> tests/arrays_tuples.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | struct Tuple3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/error_messages.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Config` [INFO] [stdout] --> tests/error_messages.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple3: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | let decoded: Tuple3 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple3` [INFO] [stdout] --> tests/arrays_tuples.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | struct Tuple3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/error_messages.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple1: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple1` [INFO] [stdout] --> tests/arrays_tuples.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | struct Tuple1 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypedValue: Facet<'static>` is not satisfied [INFO] [stdout] --> tests/error_messages.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | let result = to_vec(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TypedValue` [INFO] [stdout] --> tests/error_messages.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | enum TypedValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple1: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | let decoded: Tuple1 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple1` [INFO] [stdout] --> tests/arrays_tuples.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | struct Tuple1 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "error_messages") due to 13 previous errors [INFO] [stdout] error[E0277]: the trait bound `Tuple4: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple4` [INFO] [stdout] --> tests/arrays_tuples.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | struct Tuple4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tuple4: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | let decoded: Tuple4 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Tuple4` [INFO] [stdout] --> tests/arrays_tuples.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | struct Tuple4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedTuple: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedTuple` [INFO] [stdout] --> tests/arrays_tuples.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct NestedTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedTuple: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | let decoded: NestedTuple = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedTuple` [INFO] [stdout] --> tests/arrays_tuples.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct NestedTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TupleWithOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `TupleWithOption` [INFO] [stdout] --> tests/arrays_tuples.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | struct TupleWithOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let decoded: VecU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TupleWithOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:278:40 [INFO] [stdout] | [INFO] [stdout] 278 | let decoded: TupleWithOption = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `TupleWithOption` [INFO] [stdout] --> tests/arrays_tuples.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | struct TupleWithOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TupleWithVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:294:34 [INFO] [stdout] | [INFO] [stdout] 294 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `TupleWithVec` [INFO] [stdout] --> tests/arrays_tuples.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | struct TupleWithVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: VecU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TupleWithVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | let decoded: TupleWithVec = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `TupleWithVec` [INFO] [stdout] --> tests/arrays_tuples.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | struct TupleWithVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/arrays_tuples.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let decoded: VecU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnitTuple: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:320:34 [INFO] [stdout] | [INFO] [stdout] 320 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `UnitTuple` [INFO] [stdout] --> tests/arrays_tuples.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | struct UnitTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnitTuple: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/arrays_tuples.rs:324:34 [INFO] [stdout] | [INFO] [stdout] 324 | let decoded: UnitTuple = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `UnitTuple` [INFO] [stdout] --> tests/arrays_tuples.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | struct UnitTuple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let decoded: VecU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU32` [INFO] [stdout] --> tests/collections.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct VecU32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "arrays_tuples") due to 49 previous errors [INFO] [stdout] error[E0277]: the trait bound `VecString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecString` [INFO] [stdout] --> tests/collections.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct VecString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | let decoded: VecString = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecString` [INFO] [stdout] --> tests/collections.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct VecString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU8: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU8` [INFO] [stdout] --> tests/collections.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct VecU8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU8: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | let decoded: VecU8 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU8` [INFO] [stdout] --> tests/collections.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct VecU8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU8: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU8` [INFO] [stdout] --> tests/collections.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct VecU8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VecU8: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let decoded: VecU8 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VecU8` [INFO] [stdout] --> tests/collections.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct VecU8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedVec` [INFO] [stdout] --> tests/collections.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct NestedVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | let decoded: NestedVec = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedVec` [INFO] [stdout] --> tests/collections.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct NestedVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | let decoded: HashMapWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | let decoded: HashMapWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | let decoded: HashMapWrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashMapWrapper` [INFO] [stdout] --> tests/collections.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct HashMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntKeyMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `IntKeyMap` [INFO] [stdout] --> tests/collections.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct IntKeyMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntKeyMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | let decoded: IntKeyMap = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `IntKeyMap` [INFO] [stdout] --> tests/collections.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct IntKeyMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeMapWrapper` [INFO] [stdout] --> tests/collections.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct BTreeMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | let decoded: BTreeMapWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeMapWrapper` [INFO] [stdout] --> tests/collections.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct BTreeMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeMapWrapper` [INFO] [stdout] --> tests/collections.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct BTreeMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeMapWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | let decoded: BTreeMapWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeMapWrapper` [INFO] [stdout] --> tests/collections.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct BTreeMapWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedBTreeMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedBTreeMap` [INFO] [stdout] --> tests/collections.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | struct NestedBTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedBTreeMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 300 | let decoded: NestedBTreeMap = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedBTreeMap` [INFO] [stdout] --> tests/collections.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | struct NestedBTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:324:34 [INFO] [stdout] | [INFO] [stdout] 324 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashSetWrapper` [INFO] [stdout] --> tests/collections.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct HashSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | let decoded: HashSetWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashSetWrapper` [INFO] [stdout] --> tests/collections.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct HashSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashSetWrapper` [INFO] [stdout] --> tests/collections.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct HashSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:343:39 [INFO] [stdout] | [INFO] [stdout] 343 | let decoded: HashSetWrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `HashSetWrapper` [INFO] [stdout] --> tests/collections.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct HashSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:367:34 [INFO] [stdout] | [INFO] [stdout] 367 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeSetWrapper` [INFO] [stdout] --> tests/collections.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | struct BTreeSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:371:40 [INFO] [stdout] | [INFO] [stdout] 371 | let decoded: BTreeSetWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeSetWrapper` [INFO] [stdout] --> tests/collections.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | struct BTreeSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeSetWrapper` [INFO] [stdout] --> tests/collections.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | struct BTreeSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BTreeSetWrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:389:40 [INFO] [stdout] | [INFO] [stdout] 389 | let decoded: BTreeSetWrapper = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `BTreeSetWrapper` [INFO] [stdout] --> tests/collections.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | struct BTreeSetWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StringBTreeSet: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:408:34 [INFO] [stdout] | [INFO] [stdout] 408 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `StringBTreeSet` [INFO] [stdout] --> tests/collections.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct StringBTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StringBTreeSet: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 412 | let decoded: StringBTreeSet = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `StringBTreeSet` [INFO] [stdout] --> tests/collections.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct StringBTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:434:34 [INFO] [stdout] | [INFO] [stdout] 434 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionU32` [INFO] [stdout] --> tests/collections.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | struct OptionU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:438:34 [INFO] [stdout] | [INFO] [stdout] 438 | let decoded: OptionU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionU32` [INFO] [stdout] --> tests/collections.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | struct OptionU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionU32` [INFO] [stdout] --> tests/collections.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | struct OptionU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionU32: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:451:34 [INFO] [stdout] | [INFO] [stdout] 451 | let decoded: OptionU32 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionU32` [INFO] [stdout] --> tests/collections.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | struct OptionU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:465:34 [INFO] [stdout] | [INFO] [stdout] 465 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionString` [INFO] [stdout] --> tests/collections.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | struct OptionString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:469:37 [INFO] [stdout] | [INFO] [stdout] 469 | let decoded: OptionString = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionString` [INFO] [stdout] --> tests/collections.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | struct OptionString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:480:34 [INFO] [stdout] | [INFO] [stdout] 480 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionString` [INFO] [stdout] --> tests/collections.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | struct OptionString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionString: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:484:37 [INFO] [stdout] | [INFO] [stdout] 484 | let decoded: OptionString = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `OptionString` [INFO] [stdout] --> tests/collections.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | struct OptionString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "smart_pointers") due to 20 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/smart_pointers.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | let decoded: NestedOption = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:511:34 [INFO] [stdout] | [INFO] [stdout] 511 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:515:37 [INFO] [stdout] | [INFO] [stdout] 515 | let decoded: NestedOption = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NestedOption: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:530:37 [INFO] [stdout] | [INFO] [stdout] 530 | let decoded: NestedOption = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `NestedOption` [INFO] [stdout] --> tests/collections.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | struct NestedOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 550 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:554:40 [INFO] [stdout] | [INFO] [stdout] 554 | let decoded: MultipleOptions = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:567:34 [INFO] [stdout] | [INFO] [stdout] 567 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:571:40 [INFO] [stdout] | [INFO] [stdout] 571 | let decoded: MultipleOptions = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/collections.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:584:34 [INFO] [stdout] | [INFO] [stdout] 584 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/collections.rs:588:40 [INFO] [stdout] | [INFO] [stdout] 588 | let decoded: MultipleOptions = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MultipleOptions` [INFO] [stdout] --> tests/collections.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | struct MultipleOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Point: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Point` [INFO] [stdout] --> tests/option_result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `Option` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "collections") due to 94 previous errors [INFO] [stdout] error[E0277]: the trait bound `Point: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | let decoded: Option = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Point` [INFO] [stdout] --> tests/option_result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `Option` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Point: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Point` [INFO] [stdout] --> tests/option_result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `Option` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Point: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let decoded: Option = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Point` [INFO] [stdout] --> tests/option_result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `Option` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SuccessData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `SuccessData` [INFO] [stdout] --> tests/option_result.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | struct SuccessData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ErrorData` [INFO] [stdout] --> tests/option_result.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct ErrorData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SuccessData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:248:69 [INFO] [stdout] | [INFO] [stdout] 248 | let decoded: core::result::Result = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `SuccessData` [INFO] [stdout] --> tests/option_result.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | struct SuccessData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:248:69 [INFO] [stdout] | [INFO] [stdout] 248 | let decoded: core::result::Result = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ErrorData` [INFO] [stdout] --> tests/option_result.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct ErrorData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SuccessData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `SuccessData` [INFO] [stdout] --> tests/option_result.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | struct SuccessData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ErrorData` [INFO] [stdout] --> tests/option_result.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct ErrorData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:970:34 [INFO] [stdout] | [INFO] [stdout] 970 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SuccessData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:264:69 [INFO] [stdout] | [INFO] [stdout] 264 | let decoded: core::result::Result = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `SuccessData` [INFO] [stdout] --> tests/option_result.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | struct SuccessData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:978:9 [INFO] [stdout] | [INFO] [stdout] 978 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorData: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:264:69 [INFO] [stdout] | [INFO] [stdout] 264 | let decoded: core::result::Result = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ErrorData` [INFO] [stdout] --> tests/option_result.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct ErrorData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] = note: required for `std::result::Result` to implement `facet_core::Facet<'static>` [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `U8Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:986:34 [INFO] [stdout] | [INFO] [stdout] 986 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `U8Struct` [INFO] [stdout] --> src/serialize.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 981 | struct U8Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:993:9 [INFO] [stdout] | [INFO] [stdout] 993 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `U16Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1001:34 [INFO] [stdout] | [INFO] [stdout] 1001 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `U16Struct` [INFO] [stdout] --> src/serialize.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | struct U16Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `U32Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1016:34 [INFO] [stdout] | [INFO] [stdout] 1016 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `U32Struct` [INFO] [stdout] --> src/serialize.rs:1011:9 [INFO] [stdout] | [INFO] [stdout] 1011 | struct U32Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-postcard-legacy` (test "option_result") due to 56 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/option_result.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `U64Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1031:34 [INFO] [stdout] | [INFO] [stdout] 1031 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `U64Struct` [INFO] [stdout] --> src/serialize.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | struct U64Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:443:34 [INFO] [stdout] | [INFO] [stdout] 443 | let decoded: Container = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/option_result.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:455:34 [INFO] [stdout] | [INFO] [stdout] 455 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/option_result.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I8Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1046:34 [INFO] [stdout] | [INFO] [stdout] 1046 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `I8Struct` [INFO] [stdout] --> src/serialize.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | struct I8Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1053:9 [INFO] [stdout] | [INFO] [stdout] 1053 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Container: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/option_result.rs:459:34 [INFO] [stdout] | [INFO] [stdout] 459 | let decoded: Container = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Container` [INFO] [stdout] --> tests/option_result.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I16Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1061:34 [INFO] [stdout] | [INFO] [stdout] 1061 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `I16Struct` [INFO] [stdout] --> src/serialize.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | struct I16Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/option_result.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I32Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1076:34 [INFO] [stdout] | [INFO] [stdout] 1076 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `I32Struct` [INFO] [stdout] --> src/serialize.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | struct I32Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I64Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1093:34 [INFO] [stdout] | [INFO] [stdout] 1093 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `I64Struct` [INFO] [stdout] --> src/serialize.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | struct I64Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BoolStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1108:34 [INFO] [stdout] | [INFO] [stdout] 1108 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `BoolStruct` [INFO] [stdout] --> src/serialize.rs:1103:9 [INFO] [stdout] | [INFO] [stdout] 1103 | struct BoolStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BoolStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1113:34 [INFO] [stdout] | [INFO] [stdout] 1113 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `BoolStruct` [INFO] [stdout] --> src/serialize.rs:1103:9 [INFO] [stdout] | [INFO] [stdout] 1103 | struct BoolStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1120:9 [INFO] [stdout] | [INFO] [stdout] 1120 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `F32Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1128:34 [INFO] [stdout] | [INFO] [stdout] 1128 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `F32Struct` [INFO] [stdout] --> src/serialize.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | struct F32Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `F64Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1143:34 [INFO] [stdout] | [INFO] [stdout] 1143 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `F64Struct` [INFO] [stdout] --> src/serialize.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | struct F64Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StringStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1160:34 [INFO] [stdout] | [INFO] [stdout] 1160 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `StringStruct` [INFO] [stdout] --> src/serialize.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | struct StringStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1167:9 [INFO] [stdout] | [INFO] [stdout] 1167 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_vec::VecStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1177:34 [INFO] [stdout] | [INFO] [stdout] 1177 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_vec::VecStruct` [INFO] [stdout] --> src/serialize.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1170 | struct VecStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ByteVecStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1194:34 [INFO] [stdout] | [INFO] [stdout] 1194 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `ByteVecStruct` [INFO] [stdout] --> src/serialize.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1187 | struct ByteVecStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1201:9 [INFO] [stdout] | [INFO] [stdout] 1201 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_option_some::OptionStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1209:34 [INFO] [stdout] | [INFO] [stdout] 1209 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_option_some::OptionStruct` [INFO] [stdout] --> src/serialize.rs:1204:9 [INFO] [stdout] | [INFO] [stdout] 1204 | struct OptionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1216:9 [INFO] [stdout] | [INFO] [stdout] 1216 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_option_none::OptionStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1224:34 [INFO] [stdout] | [INFO] [stdout] 1224 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_option_none::OptionStruct` [INFO] [stdout] --> src/serialize.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | struct OptionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1231:9 [INFO] [stdout] | [INFO] [stdout] 1231 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_nested_struct::Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1249:34 [INFO] [stdout] | [INFO] [stdout] 1249 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_nested_struct::Outer` [INFO] [stdout] --> src/serialize.rs:1240:9 [INFO] [stdout] | [INFO] [stdout] 1240 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1266:34 [INFO] [stdout] | [INFO] [stdout] 1266 | let facet_bytes = to_vec(&Color::Red).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Color` [INFO] [stdout] --> src/serialize.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | enum Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1270:34 [INFO] [stdout] | [INFO] [stdout] 1270 | let facet_bytes = to_vec(&Color::Green).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Color` [INFO] [stdout] --> src/serialize.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | enum Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1274:34 [INFO] [stdout] | [INFO] [stdout] 1274 | let facet_bytes = to_vec(&Color::Blue).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Color` [INFO] [stdout] --> src/serialize.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | enum Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1281:9 [INFO] [stdout] | [INFO] [stdout] 1281 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1291:34 [INFO] [stdout] | [INFO] [stdout] 1291 | let facet_bytes = to_vec(&Value::Int(42)).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Value` [INFO] [stdout] --> src/serialize.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1295:34 [INFO] [stdout] | [INFO] [stdout] 1295 | let facet_bytes = to_vec(&Value::Text("hello".to_string())).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Value` [INFO] [stdout] --> src/serialize.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1299:34 [INFO] [stdout] | [INFO] [stdout] 1299 | let facet_bytes = to_vec(&Value::Pair(10, 20)).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Value` [INFO] [stdout] --> src/serialize.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1316:34 [INFO] [stdout] | [INFO] [stdout] 1316 | let facet_bytes = to_vec(&Message::Quit).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Message` [INFO] [stdout] --> src/serialize.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | enum Message { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1320:34 [INFO] [stdout] | [INFO] [stdout] 1320 | let facet_bytes = to_vec(&Message::Move { x: 10, y: 20 }).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Message` [INFO] [stdout] --> src/serialize.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | enum Message { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1324:34 [INFO] [stdout] | [INFO] [stdout] 1324 | let facet_bytes = to_vec(&Message::Write { [INFO] [stdout] | ___________________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 1325 | | text: "hello".to_string(), [INFO] [stdout] 1326 | | }) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `Message` [INFO] [stdout] --> src/serialize.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | enum Message { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1337:9 [INFO] [stdout] | [INFO] [stdout] 1337 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_tuple_struct::Point: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1343:34 [INFO] [stdout] | [INFO] [stdout] 1343 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_tuple_struct::Point` [INFO] [stdout] --> src/serialize.rs:1340:9 [INFO] [stdout] | [INFO] [stdout] 1340 | struct Point(i32, i32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::test_unit_struct::Unit: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1356:34 [INFO] [stdout] | [INFO] [stdout] 1356 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::test_unit_struct::Unit` [INFO] [stdout] --> src/serialize.rs:1353:9 [INFO] [stdout] | [INFO] [stdout] 1353 | struct Unit; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1363:9 [INFO] [stdout] | [INFO] [stdout] 1363 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1373:34 [INFO] [stdout] | [INFO] [stdout] 1373 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `ArrayStruct` [INFO] [stdout] --> src/serialize.rs:1366:9 [INFO] [stdout] | [INFO] [stdout] 1366 | struct ArrayStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | test_primitive!(u8_tests, u8, [0u8, 1, 127, 128, 255, u8::MIN, u8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1380:9 [INFO] [stdout] | [INFO] [stdout] 1380 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1389:28 [INFO] [stdout] | [INFO] [stdout] 1389 | let len = to_slice(&value, &mut buffer).unwrap(); [INFO] [stdout] | -------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_slice` [INFO] [stdout] --> src/serialize.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn to_slice>(value: &T, buffer: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1407:31 [INFO] [stdout] | [INFO] [stdout] 1407 | let result = to_slice(&value, &mut buffer); [INFO] [stdout] | -------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_slice` [INFO] [stdout] --> src/serialize.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn to_slice>(value: &T, buffer: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1413:9 [INFO] [stdout] | [INFO] [stdout] 1413 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1421:34 [INFO] [stdout] | [INFO] [stdout] 1421 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `CharStruct` [INFO] [stdout] --> src/serialize.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | struct CharStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1427:34 [INFO] [stdout] | [INFO] [stdout] 1427 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `CharStruct` [INFO] [stdout] --> src/serialize.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | struct CharStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1434:9 [INFO] [stdout] | [INFO] [stdout] 1434 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `U128Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1444:34 [INFO] [stdout] | [INFO] [stdout] 1444 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `U128Struct` [INFO] [stdout] --> src/serialize.rs:1437:9 [INFO] [stdout] | [INFO] [stdout] 1437 | struct U128Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1451:9 [INFO] [stdout] | [INFO] [stdout] 1451 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I128Struct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1461:34 [INFO] [stdout] | [INFO] [stdout] 1461 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `I128Struct` [INFO] [stdout] --> src/serialize.rs:1454:9 [INFO] [stdout] | [INFO] [stdout] 1454 | struct I128Struct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1468:9 [INFO] [stdout] | [INFO] [stdout] 1468 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CowStruct<'_>: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1478:34 [INFO] [stdout] | [INFO] [stdout] 1478 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `CowStruct<'_>` [INFO] [stdout] --> src/serialize.rs:1471:9 [INFO] [stdout] | [INFO] [stdout] 1471 | struct CowStruct<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CowStruct<'_>: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1485:34 [INFO] [stdout] | [INFO] [stdout] 1485 | let facet_bytes = to_vec(&value).unwrap(); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `CowStruct<'_>` [INFO] [stdout] --> src/serialize.rs:1471:9 [INFO] [stdout] | [INFO] [stdout] 1471 | struct CowStruct<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / test_primitive!( [INFO] [stdout] 76 | | u16_tests, [INFO] [stdout] 77 | | u16, [INFO] [stdout] 78 | | [0u16, 1, 127, 128, 255, 256, 1000, 65535, u16::MIN, u16::MAX] [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1492:9 [INFO] [stdout] | [INFO] [stdout] 1492 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1501:19 [INFO] [stdout] | [INFO] [stdout] 1501 | to_writer(&value, &mut buffer).unwrap(); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_writer` [INFO] [stdout] --> src/serialize.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_writer, W: facet_core::Write>( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1509:9 [INFO] [stdout] | [INFO] [stdout] 1509 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1534:28 [INFO] [stdout] | [INFO] [stdout] 1534 | to_writer_fallible(&value, &mut writer).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_writer_fallible` [INFO] [stdout] --> src/serialize.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_writer_fallible, W: Writer>( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer_fallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/serialize.rs:1542:9 [INFO] [stdout] | [INFO] [stdout] 1542 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1612:28 [INFO] [stdout] | [INFO] [stdout] 1612 | to_writer_fallible(&small_value, &mut writer).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_writer_fallible` [INFO] [stdout] --> src/serialize.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_writer_fallible, W: Writer>( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer_fallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/serialize.rs:1626:28 [INFO] [stdout] | [INFO] [stdout] 1626 | to_writer_fallible(&large_value, &mut writer).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `serialize::tests::SimpleStruct` [INFO] [stdout] --> src/serialize.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 954 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_writer_fallible` [INFO] [stdout] --> src/serialize.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_writer_fallible, W: Writer>( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer_fallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AllEmpty: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `AllEmpty` [INFO] [stdout] --> tests/edge_cases.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct AllEmpty { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / test_primitive!( [INFO] [stdout] 83 | | u32_tests, [INFO] [stdout] 84 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AllEmpty: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let decoded: AllEmpty = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `AllEmpty` [INFO] [stdout] --> tests/edge_cases.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct AllEmpty { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u64_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyNested: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `EmptyNested` [INFO] [stdout] --> tests/edge_cases.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct EmptyNested { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u64_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyNested: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | let decoded: EmptyNested = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `EmptyNested` [INFO] [stdout] --> tests/edge_cases.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct EmptyNested { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:784:28 [INFO] [stdout] | [INFO] [stdout] 784 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::SimpleStruct` [INFO] [stdout] --> src/deserialize.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u64_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:785:37 [INFO] [stdout] | [INFO] [stdout] 785 | let decoded: SimpleStruct = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::SimpleStruct` [INFO] [stdout] --> src/deserialize.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MaxIntegers: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MaxIntegers` [INFO] [stdout] --> tests/edge_cases.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct MaxIntegers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:801:34 [INFO] [stdout] | [INFO] [stdout] 801 | let facet_bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::SimpleStruct` [INFO] [stdout] --> src/deserialize.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `postcard` in this scope [INFO] [stdout] --> src/deserialize.rs:806:30 [INFO] [stdout] | [INFO] [stdout] 806 | let postcard_bytes = postcard::to_allocvec(&original).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `postcard` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `postcard`, use `cargo add postcard` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MaxIntegers: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let decoded: MaxIntegers = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `MaxIntegers` [INFO] [stdout] --> tests/edge_cases.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct MaxIntegers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u64_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::SimpleStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | let decoded: SimpleStruct = from_slice(&postcard_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::SimpleStruct` [INFO] [stdout] --> src/deserialize.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | struct SimpleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:813:9 [INFO] [stdout] | [INFO] [stdout] 813 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_option::OptionStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:826:28 [INFO] [stdout] | [INFO] [stdout] 826 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_option::OptionStruct` [INFO] [stdout] --> src/deserialize.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | struct OptionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Max128: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Max128` [INFO] [stdout] --> tests/edge_cases.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Max128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_option::OptionStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:827:37 [INFO] [stdout] | [INFO] [stdout] 827 | let decoded: OptionStruct = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_option::OptionStruct` [INFO] [stdout] --> src/deserialize.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | struct OptionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u64_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / test_primitive!( [INFO] [stdout] 102 | | u64_tests, [INFO] [stdout] 103 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_vec::VecStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:845:28 [INFO] [stdout] | [INFO] [stdout] 845 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_vec::VecStruct` [INFO] [stdout] --> src/deserialize.rs:837:9 [INFO] [stdout] | [INFO] [stdout] 837 | struct VecStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Max128: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | let decoded: Max128 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Max128` [INFO] [stdout] --> tests/edge_cases.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Max128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_vec::VecStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:846:34 [INFO] [stdout] | [INFO] [stdout] 846 | let decoded: VecStruct = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_vec::VecStruct` [INFO] [stdout] --> src/deserialize.rs:837:9 [INFO] [stdout] | [INFO] [stdout] 837 | struct VecStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:853:9 [INFO] [stdout] | [INFO] [stdout] 853 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u128_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u128_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:866:28 [INFO] [stdout] | [INFO] [stdout] 866 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:867:33 [INFO] [stdout] | [INFO] [stdout] 867 | let decoded: TestEnum = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Level5: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Level5` [INFO] [stdout] --> tests/edge_cases.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct Level5 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u128_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u128_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:872:28 [INFO] [stdout] | [INFO] [stdout] 872 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Level5: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | let decoded: Level5 = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `Level5` [INFO] [stdout] --> tests/edge_cases.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct Level5 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:873:33 [INFO] [stdout] | [INFO] [stdout] 873 | let decoded: TestEnum = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u128_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u128_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:878:28 [INFO] [stdout] | [INFO] [stdout] 878 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedOptions` [INFO] [stdout] --> tests/edge_cases.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct DeeplyNestedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:879:33 [INFO] [stdout] | [INFO] [stdout] 879 | let decoded: TestEnum = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `TestEnum` [INFO] [stdout] --> src/deserialize.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | let decoded: DeeplyNestedOptions = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedOptions` [INFO] [stdout] --> tests/edge_cases.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct DeeplyNestedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_nested::Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:903:28 [INFO] [stdout] | [INFO] [stdout] 903 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_nested::Outer` [INFO] [stdout] --> src/deserialize.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_roundtrip_nested::Outer: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:904:30 [INFO] [stdout] | [INFO] [stdout] 904 | let decoded: Outer = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_roundtrip_nested::Outer` [INFO] [stdout] --> src/deserialize.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | struct Outer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u128_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u128_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:911:9 [INFO] [stdout] | [INFO] [stdout] 911 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedOptions` [INFO] [stdout] --> tests/edge_cases.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct DeeplyNestedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FloatStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:924:28 [INFO] [stdout] | [INFO] [stdout] 924 | let bytes = to_vec(&original).unwrap(); [INFO] [stdout] | ------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `FloatStruct` [INFO] [stdout] --> src/deserialize.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | struct FloatStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedOptions: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:219:44 [INFO] [stdout] | [INFO] [stdout] 219 | let decoded: DeeplyNestedOptions = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedOptions` [INFO] [stdout] --> tests/edge_cases.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct DeeplyNestedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u128_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `u128_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test_primitive!( [INFO] [stdout] 121 | | u128_tests, [INFO] [stdout] 122 | | u128, [INFO] [stdout] ... | [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FloatStruct: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:925:36 [INFO] [stdout] | [INFO] [stdout] 925 | let decoded: FloatStruct = from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `FloatStruct` [INFO] [stdout] --> src/deserialize.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | struct FloatStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> src/deserialize.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedVecs: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedVecs` [INFO] [stdout] --> tests/edge_cases.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct DeeplyNestedVecs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_take_from_slice::Point: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:943:32 [INFO] [stdout] | [INFO] [stdout] 943 | let mut bytes = to_vec(&point1).unwrap(); [INFO] [stdout] | ------ ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_take_from_slice::Point` [INFO] [stdout] --> src/deserialize.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_take_from_slice::Point: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:944:29 [INFO] [stdout] | [INFO] [stdout] 944 | bytes.extend(to_vec(&point2).unwrap()); [INFO] [stdout] | ------ ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_take_from_slice::Point` [INFO] [stdout] --> src/deserialize.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `serialize::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeeplyNestedVecs: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | let decoded: DeeplyNestedVecs = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `DeeplyNestedVecs` [INFO] [stdout] --> tests/edge_cases.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct DeeplyNestedVecs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_take_from_slice::Point: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:946:49 [INFO] [stdout] | [INFO] [stdout] 946 | let (decoded1, remaining): (Point, _) = take_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_take_from_slice::Point` [INFO] [stdout] --> src/deserialize.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::take_from_slice` [INFO] [stdout] --> src/deserialize.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn take_from_slice>(data: &[u8]) -> Result<(T, &[u8]), DeserializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `take_from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::tests::test_take_from_slice::Point: Facet<'static>` is not satisfied [INFO] [stdout] --> src/deserialize.rs:947:49 [INFO] [stdout] | [INFO] [stdout] 947 | let (decoded2, remaining): (Point, _) = take_from_slice(remaining).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'static>` is not implemented for `deserialize::tests::test_take_from_slice::Point` [INFO] [stdout] --> src/deserialize.rs:935:9 [INFO] [stdout] | [INFO] [stdout] 935 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `deserialize::take_from_slice` [INFO] [stdout] --> src/deserialize.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn take_from_slice>(data: &[u8]) -> Result<(T, &[u8]), DeserializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `take_from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeVec` [INFO] [stdout] --> tests/edge_cases.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct LargeVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | let decoded: LargeVec = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeVec` [INFO] [stdout] --> tests/edge_cases.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct LargeVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:281:34 [INFO] [stdout] | [INFO] [stdout] 281 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeVec` [INFO] [stdout] --> tests/edge_cases.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct LargeVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i8_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i8_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | test_primitive!(i8_tests, i8, [0i8, 1, -1, 127, -128, i8::MIN, i8::MAX]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeVec: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | let decoded: LargeVec = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeVec` [INFO] [stdout] --> tests/edge_cases.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct LargeVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeMap` [INFO] [stdout] --> tests/edge_cases.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct LargeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LargeMap: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | let decoded: LargeMap = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `LargeMap` [INFO] [stdout] --> tests/edge_cases.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct LargeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let decoded: Wrapper = from_slice(&bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarintBoundary: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:347:38 [INFO] [stdout] | [INFO] [stdout] 347 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VarintBoundary` [INFO] [stdout] --> tests/edge_cases.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | struct VarintBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarintBoundary: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | let decoded: VarintBoundary = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `VarintBoundary` [INFO] [stdout] --> tests/edge_cases.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | struct VarintBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i16_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | let decoded: Wrapper = from_slice(&postcard_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i16_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | / test_primitive!( [INFO] [stdout] 139 | | i16_tests, [INFO] [stdout] 140 | | i16, [INFO] [stdout] 141 | | [0i16, 1, -1, 127, -128, 1000, -1000, i16::MIN, i16::MAX] [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 145 | / test_primitive!( [INFO] [stdout] 146 | | i32_tests, [INFO] [stdout] 147 | | i32, [INFO] [stdout] ... | [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignedVarintBoundary: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:390:38 [INFO] [stdout] | [INFO] [stdout] 390 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `SignedVarintBoundary` [INFO] [stdout] --> tests/edge_cases.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | struct SignedVarintBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignedVarintBoundary: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:397:49 [INFO] [stdout] | [INFO] [stdout] 397 | let decoded: SignedVarintBoundary = from_slice(&facet_bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `SignedVarintBoundary` [INFO] [stdout] --> tests/edge_cases.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | struct SignedVarintBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::from_slice` [INFO] [stdout] --> src/deserialize.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_slice>(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i32_tests::Wrapper: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/primitives.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let facet_bytes = to_vec(&wrapper)?; [INFO] [stdout] | ------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 145 | / test_primitive!( [INFO] [stdout] 146 | | i32_tests, [INFO] [stdout] 147 | | i32, [INFO] [stdout] ... | [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'static>` is not implemented for `i32_tests::Wrapper` [INFO] [stdout] --> tests/primitives.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / test_primitive!( [INFO] [stdout] 146 | | i32_tests, [INFO] [stdout] 147 | | i32, [INFO] [stdout] ... | [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 88 others [INFO] [stdout] note: required by a bound in `facet_postcard_legacy::to_vec` [INFO] [stdout] --> src/serialize.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_vec>(value: &T) -> Result, SerializeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/edge_cases.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet_testhelpers` in this scope [INFO] [stdout] --> tests/primitives.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | facet_testhelpers::setup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] ... [INFO] [stdout] 145 | / test_primitive!( [INFO] [stdout] 146 | | i32_tests, [INFO] [stdout] 147 | | i32, [INFO] [stdout] ... | [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpecialStrings: facet_core::Facet<'static>` is not satisfied [INFO] [stdout] --> tests/edge_cases.rs:422:34 [INFO] [stdout] | [INFO] [stdout] 422 | let facet_bytes = to_vec(&value)?; [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [WARN] too many lines in the log, truncating it