[INFO] fetching crate facet-toml 0.25.16... [INFO] testing facet-toml-0.25.16 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate facet-toml 0.25.16 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate facet-toml 0.25.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-toml 0.25.16 [INFO] tweaked toml for crates.io crate facet-toml 0.25.16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-toml 0.25.16 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate facet-toml 0.25.16 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded divan-macros v0.1.17 [INFO] [stderr] Downloaded codspeed-divan-compat-macros v2.10.1 [INFO] [stderr] Downloaded codspeed v2.10.1 [INFO] [stderr] Downloaded codspeed-divan-compat v2.10.1 [INFO] [stderr] Downloaded codspeed-divan-compat-walltime v2.10.1 [INFO] [stderr] Downloaded facet-serialize v0.24.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b3ee4d725c03df4249e9f80afb8f1e57a7d5954a3edf9ce7ee141212220cc6 [INFO] running `Command { std: "docker" "start" "-a" "93b3ee4d725c03df4249e9f80afb8f1e57a7d5954a3edf9ce7ee141212220cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b3ee4d725c03df4249e9f80afb8f1e57a7d5954a3edf9ce7ee141212220cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b3ee4d725c03df4249e9f80afb8f1e57a7d5954a3edf9ce7ee141212220cc6", kill_on_drop: false }` [INFO] [stdout] 93b3ee4d725c03df4249e9f80afb8f1e57a7d5954a3edf9ce7ee141212220cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 561b50d7a24ae3125a3c7ae35ea6b4c7cd45baac8504c410d61f9a335cd8887b [INFO] running `Command { std: "docker" "start" "-a" "561b50d7a24ae3125a3c7ae35ea6b4c7cd45baac8504c410d61f9a335cd8887b", kill_on_drop: false }` [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ariadne v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling facet-reflect v0.27.15 [INFO] [stderr] Compiling facet-serialize v0.24.16 [INFO] [stderr] Compiling facet-toml v0.25.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.24s [INFO] running `Command { std: "docker" "inspect" "561b50d7a24ae3125a3c7ae35ea6b4c7cd45baac8504c410d61f9a335cd8887b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "561b50d7a24ae3125a3c7ae35ea6b4c7cd45baac8504c410d61f9a335cd8887b", kill_on_drop: false }` [INFO] [stdout] 561b50d7a24ae3125a3c7ae35ea6b4c7cd45baac8504c410d61f9a335cd8887b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7893f824b96b4f4a8400d38b2a223221f287a5f20bc4b58dd9d17a14b4fe81dc [INFO] running `Command { std: "docker" "start" "-a" "7893f824b96b4f4a8400d38b2a223221f287a5f20bc4b58dd9d17a14b4fe81dc", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling codspeed-divan-compat v2.10.1 [INFO] [stderr] Compiling condtype v1.3.0 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling facet-reflect v0.27.15 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling facet-serialize v0.24.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling divan-macros v0.1.17 [INFO] [stderr] Compiling codspeed-divan-compat-macros v2.10.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling codspeed v2.10.1 [INFO] [stderr] Compiling codspeed-divan-compat-walltime v2.10.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling facet-toml v0.25.16 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/benchmark_repro.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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` [INFO] [stdout] --> tests/vec_array_of_tables.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 `facet` [INFO] [stdout] --> tests/option_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0277]: the trait bound `Wide: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/benchmark_repro.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | let result: Result = facet_toml::from_str(toml_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Wide` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/deserialize/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use facet_testhelpers::test; [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 `facet_testhelpers` [INFO] [stdout] --> tests/deserialize/document.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/enum_.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/enum_.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/list.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/option.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/option.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet_testhelpers` [INFO] [stdout] --> tests/deserialize/scalar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/scalar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use facet::{ConstTypeId, 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` [INFO] [stdout] --> tests/deserialize/struct_.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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_testhelpers` [INFO] [stdout] --> tests/deserialize/struct_.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/deserialize/vec_struct.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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[E0277]: the trait bound `Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/vec_array_of_tables.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | let serialized = facet_toml::to_string(&root).unwrap(); [INFO] [stdout] | --------------------- ^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_testhelpers` [INFO] [stdout] --> tests/deserialize/vec_struct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/enum_.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/enum_.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/list.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/option.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/option.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/scalar.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 `facet_testhelpers` [INFO] [stdout] --> tests/serialize/scalar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/struct_.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/struct_.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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 `facet` [INFO] [stdout] --> tests/serialize/vec_struct.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_testhelpers` [INFO] [stdout] --> tests/serialize/vec_struct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [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. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/vec_array_of_tables.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | let _deserialized: Root = facet_toml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleOption: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_test.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | let result: Result = facet_toml::from_str(toml_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleOption` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-toml` (test "benchmark_repro") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `RootWithNested: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/vec_array_of_tables.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let serialized = facet_toml::to_string(&root).unwrap(); [INFO] [stdout] | --------------------- ^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `RootWithNested` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleOption: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_test.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | let result: Result = facet_toml::from_str(toml_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleOption` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RootWithNested: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/vec_array_of_tables.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | let deserialized: RootWithNested = facet_toml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `RootWithNested` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleOptions: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/option_test.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | let result: Result = facet_toml::from_str(toml_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `MultipleOptions` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RootWithNested: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/vec_array_of_tables.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | let deserialized: RootWithNested = facet_toml::from_str(toml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `RootWithNested` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [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] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-toml` (test "option_test") due to 4 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-toml` (test "vec_array_of_tables") due to 6 previous errors [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[facet(default = Some("hi".to_owned()))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | #[facet(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[facet(rename = "Overwrite")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[facet(rename = "1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[facet(rename = "with spaces")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[facet(rename = "'quoted'")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/serialize/struct_.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[facet(rename = "")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | #[facet(default = 42)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | #[facet(default = Some(true))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | #[facet(default = default_string())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[facet(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | #[facet(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[facet(rename = "Overwrite")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | #[facet(rename = "1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | #[facet(rename = "with spaces")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | #[facet(rename = "'quoted'")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/deserialize/struct_.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[facet(rename = "")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/basic.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 11 | fn test_deserialize_person() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 17 | let person: Person = facet_toml::from_str(toml)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 11 ~ fn test_deserialize_person() -> Result<(), Box> { [INFO] [stdout] 12 | let toml = r#" [INFO] [stdout] ... [INFO] [stdout] 24 | ); [INFO] [stdout] 25 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::basic::Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/basic.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let person: Person = facet_toml::from_str(toml)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::basic::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_unit_only_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 22 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_unit_only_enum() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | facet_toml::from_str::("value = 'VariantB'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_unit_only_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | facet_toml::from_str::("value = 'VariantB'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_unit_only_enum() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_single_value_on_non_unit_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_single_value_on_non_unit_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_single_value_on_non_unit_enum() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 58 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_single_value_on_non_unit_enum() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(facet_toml::from_str::("value = 'VariantB'").is_err()); [INFO] [stdout] 64 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_single_value_on_non_unit_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(facet_toml::from_str::("value = 'VariantB'").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_single_value_on_non_unit_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_tuple_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | facet_toml::from_str::("value = { OneField = 0.5 }")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_tuple_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 67 | fn test_tuple_enum() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 81 | facet_toml::from_str::("value = { OneField = 0.5 }")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn test_tuple_enum() -> Result<(), Box> { [INFO] [stdout] 68 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | ); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_tuple_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_tuple_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 67 | fn test_tuple_enum() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn test_tuple_enum() -> Result<(), Box> { [INFO] [stdout] 68 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | ); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | facet_toml::from_str::("value.OneField.one = 0.5")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_struct_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 115 | facet_toml::from_str::("value.OneField.one = 0.5")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_struct_enum() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_struct_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 127 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_struct_enum() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_nested_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | facet_toml::from_str::("value.OneField.one.NestedOneField.nested_one = 0.5")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_nested_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:164:91 [INFO] [stdout] | [INFO] [stdout] 138 | fn test_nested_struct_enum() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 164 | facet_toml::from_str::("value.OneField.one.NestedOneField.nested_one = 0.5")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 138 ~ fn test_nested_struct_enum() -> Result<(), Box> { [INFO] [stdout] 139 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 188 | ); [INFO] [stdout] 189 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_nested_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_nested_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 138 | fn test_nested_struct_enum() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 178 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 138 ~ fn test_nested_struct_enum() -> Result<(), Box> { [INFO] [stdout] 139 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 188 | ); [INFO] [stdout] 189 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | facet_toml::from_str::("A.value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 202 | facet_toml::from_str::("A.value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(facet_toml::from_str::("B = 2")?, Root::B(2)); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:205:53 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 205 | assert_eq!(facet_toml::from_str::("B = 2")?, Root::B(2)); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/enum_.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/enum_.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 20 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 53 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 58 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | facet_toml::from_str::("values = [true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | facet_toml::from_str::("values = [1, true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 108 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | facet_toml::from_str::("values = [[], []]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 112 | facet_toml::from_str::("values = [[], []]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | facet_toml::from_str::("values = [[2]]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 119 | facet_toml::from_str::("values = [[2]]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | facet_toml::from_str::("values = [[1, -1], [0], [100], []]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/list.rs:126:75 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 126 | facet_toml::from_str::("values = [[1, -1], [0], [100], []]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | facet_toml::from_str::("values = [true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/list.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | facet_toml::from_str::("values = [[1], true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | facet_toml::from_str::("[values]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 17 | facet_toml::from_str::("[values]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 10 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 11 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 60 | )); [INFO] [stdout] 61 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 30 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 10 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 11 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 60 | )); [INFO] [stdout] 61 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | facet_toml::from_str::("values.a = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | facet_toml::from_str::("[values.a]").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 64 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 77 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 64 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 65 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 123| )); [INFO] [stdout] 124+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 64 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 64 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 65 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 123| )); [INFO] [stdout] 124+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | facet_toml::from_str::("values.a = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | facet_toml::from_str::("[values.a]").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | facet_toml::from_str::("[values]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:137:49 [INFO] [stdout] | [INFO] [stdout] 127 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 137 | facet_toml::from_str::("[values]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 127 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 128 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 176 | )); [INFO] [stdout] 177 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 127 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 149 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 127 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 128 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 176 | )); [INFO] [stdout] 177 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | facet_toml::from_str::("values.a = 10") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | facet_toml::from_str::("[dependencies]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 180 | fn test_struct_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 193 | facet_toml::from_str::("[dependencies]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 180 ~ fn test_struct_map() -> Result<(), Box> { [INFO] [stdout] 181 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 226 | ); [INFO] [stdout] 227 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::map::test_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/map.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::map::test_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/map.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 180 | fn test_struct_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 206 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 180 ~ fn test_struct_map() -> Result<(), Box> { [INFO] [stdout] 181 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 226 | ); [INFO] [stdout] 227 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_option_scalar() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_option_scalar() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 28 | )); [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_option_scalar() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_option_scalar() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 28 | )); [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | facet_toml::from_str::("value = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_nested_option() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 32 ~ fn test_nested_option() -> Result<(), Box> { [INFO] [stdout] 33 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | )); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_nested_option() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 32 ~ fn test_nested_option() -> Result<(), Box> { [INFO] [stdout] 33 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | )); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | facet_toml::from_str::("value = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_option_struct() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_option_struct() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 82 | )); [INFO] [stdout] 83 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | facet_toml::from_str::("value.value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_option_struct() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 71 | facet_toml::from_str::("value.value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_option_struct() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 82 | )); [INFO] [stdout] 83 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | facet_toml::from_str::("value.wrong-key = 2") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_option_struct_with_option() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 86 ~ fn test_option_struct_with_option() -> Result<(), Box> { [INFO] [stdout] 87 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 113| )); [INFO] [stdout] 114+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | facet_toml::from_str::("value.sub = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_option_struct_with_option() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 99 | facet_toml::from_str::("value.sub = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 86 ~ fn test_option_struct_with_option() -> Result<(), Box> { [INFO] [stdout] 87 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 113| )); [INFO] [stdout] 114+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | facet_toml::from_str::("value.sub = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:130:48 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 130 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:132:52 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 132 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 138 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | facet_toml::from_str::("value.non-existing = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | facet_toml::from_str::("A = 'hi'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 162 | facet_toml::from_str::("A = 'hi'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | facet_toml::from_str::("B.b1 = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 166 | facet_toml::from_str::("B.b1 = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | facet_toml::from_str::("B.b2 = true")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 173 | facet_toml::from_str::("B.b2 = true")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | facet_toml::from_str::("B = { b1 = 1, b2 = true }")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:180:66 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 180 | facet_toml::from_str::("B = { b1 = 1, b2 = true }")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(facet_toml::from_str::("[A]")?, Root::A(None),); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 186 | assert_eq!(facet_toml::from_str::("[A]")?, Root::A(None),); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | facet_toml::from_str::("[B]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 188 | facet_toml::from_str::("[B]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | facet_toml::from_str::("A = false").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | facet_toml::from_str::("B.b1 = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:224:48 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 224 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 226 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/option.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/option.rs:232:52 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 232 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | facet_toml::from_str::("value = 'string'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_string::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 11 | fn test_string() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 18 | facet_toml::from_str::("value = 'string'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 11 ~ fn test_string() -> Result<(), Box> { [INFO] [stdout] 12 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 29 | )); [INFO] [stdout] 30 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | facet_toml::from_str::("value = 1").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_string::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_cow_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | facet_toml::from_str::("value = 'string'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_cow_string::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_cow_string() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 41 | facet_toml::from_str::("value = 'string'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_cow_string() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 52 | )); [INFO] [stdout] 53 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_cow_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | facet_toml::from_str::("value = 1").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_cow_string::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | facet_toml::from_str::("value = true")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 63 | facet_toml::from_str::("value = true")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 56 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 57 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 92 | )); [INFO] [stdout] 93 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | facet_toml::from_str::("value = false")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 67 | facet_toml::from_str::("value = false")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 56 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 57 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 92 | )); [INFO] [stdout] 93 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | facet_toml::from_str::("value = 1").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | facet_toml::from_str::("value = {a = 1}") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | facet_toml::from_str::("[value]").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_char::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | facet_toml::from_str::("value = 'c'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_char::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 96 | fn test_char() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 103 | facet_toml::from_str::("value = 'c'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 96 ~ fn test_char() -> Result<(), Box> { [INFO] [stdout] 97 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 114 | )); [INFO] [stdout] 115 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_char::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | facet_toml::from_str::("value = 'long'") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_char::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_socket_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | facet_toml::from_str::("value = '127.0.0.1:8000'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_socket_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:126:65 [INFO] [stdout] | [INFO] [stdout] 119 | fn test_socket_addr() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 126 | facet_toml::from_str::("value = '127.0.0.1:8000'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 119 ~ fn test_socket_addr() -> Result<(), Box> { [INFO] [stdout] 120 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 130 | ); [INFO] [stdout] 131 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ip_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | facet_toml::from_str::("value = '127.0.0.1'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ip_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:141:60 [INFO] [stdout] | [INFO] [stdout] 134 | fn test_ip_addr() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 141 | facet_toml::from_str::("value = '127.0.0.1'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 134 ~ fn test_ip_addr() -> Result<(), Box> { [INFO] [stdout] 135 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 169 | )); [INFO] [stdout] 170 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ip_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | facet_toml::from_str::("value = '::1'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ip_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 134 | fn test_ip_addr() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 147 | facet_toml::from_str::("value = '::1'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 134 ~ fn test_ip_addr() -> Result<(), Box> { [INFO] [stdout] 135 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 169 | )); [INFO] [stdout] 170 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ip_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | let err = dbg!(facet_toml::from_str::("value = '127.0.0.1:8000'").unwrap_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ip_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SHAPE` found for enum `IpAddr` in the current scope [INFO] [stdout] --> tests/deserialize/scalar.rs:159:47 [INFO] [stdout] | [INFO] [stdout] 159 | } if *rust_type == core::net::IpAddr::SHAPE [INFO] [stdout] | ^^^^^ variant or associated item not found in `IpAddr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Facet` which provides `SHAPE` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use facet_core::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ip_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ip_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ipv4_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | facet_toml::from_str::("value = '127.0.0.1'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ipv4_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:180:60 [INFO] [stdout] | [INFO] [stdout] 173 | fn test_ipv4_addr() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 180 | facet_toml::from_str::("value = '127.0.0.1'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 173 ~ fn test_ipv4_addr() -> Result<(), Box> { [INFO] [stdout] 174 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 184 | ); [INFO] [stdout] 185 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_ipv6_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | facet_toml::from_str::("value = '::1'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_ipv6_addr::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:195:54 [INFO] [stdout] | [INFO] [stdout] 188 | fn test_ipv6_addr() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 195 | facet_toml::from_str::("value = '::1'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 188 ~ fn test_ipv6_addr() -> Result<(), Box> { [INFO] [stdout] 189 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 199 | ); [INFO] [stdout] 200 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_f64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_f64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:210:50 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_f64() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 210 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 203 ~ fn test_f64() -> Result<(), Box> { [INFO] [stdout] 204 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 221 | )); [INFO] [stdout] 222 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_f64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_f64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_f32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_f32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:232:50 [INFO] [stdout] | [INFO] [stdout] 225 | fn test_f32() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 232 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 225 ~ fn test_f32() -> Result<(), Box> { [INFO] [stdout] 226 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 243 | )); [INFO] [stdout] 244 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_f32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_f32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_usize::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:254:32 [INFO] [stdout] | [INFO] [stdout] 254 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_usize::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:254:50 [INFO] [stdout] | [INFO] [stdout] 247 | fn test_usize() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 254 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 247 ~ fn test_usize() -> Result<(), Box> { [INFO] [stdout] 248 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 266 | )); [INFO] [stdout] 267 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_usize::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_usize::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_usize::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_usize::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_u128::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_u128::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 270 | fn test_u128() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 277 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 270 ~ fn test_u128() -> Result<(), Box> { [INFO] [stdout] 271 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 289 | )); [INFO] [stdout] 290 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_u128::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_u128::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_u128::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:282:32 [INFO] [stdout] | [INFO] [stdout] 282 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_u128::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:300:50 [INFO] [stdout] | [INFO] [stdout] 293 | fn test_u64() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 300 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 293 ~ fn test_u64() -> Result<(), Box> { [INFO] [stdout] 294 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 312 | )); [INFO] [stdout] 313 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 305 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:323:32 [INFO] [stdout] | [INFO] [stdout] 323 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:323:50 [INFO] [stdout] | [INFO] [stdout] 316 | fn test_u32() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 323 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 316 ~ fn test_u32() -> Result<(), Box> { [INFO] [stdout] 317 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 335 | )); [INFO] [stdout] 336 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 328 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u16::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 346 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u16::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:346:50 [INFO] [stdout] | [INFO] [stdout] 339 | fn test_u16() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 346 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 339 ~ fn test_u16() -> Result<(), Box> { [INFO] [stdout] 340 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 358 | )); [INFO] [stdout] 359 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u16::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:349:36 [INFO] [stdout] | [INFO] [stdout] 349 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u16::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u16::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:351:32 [INFO] [stdout] | [INFO] [stdout] 351 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u16::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:369:50 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_u8() { [INFO] [stdout] | ------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 369 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 362 ~ fn test_u8() -> Result<(), Box> { [INFO] [stdout] 363 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 381 | )); [INFO] [stdout] 382 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:372:36 [INFO] [stdout] | [INFO] [stdout] 372 | assert!(facet_toml::from_str::("value = -1").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_u8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:374:32 [INFO] [stdout] | [INFO] [stdout] 374 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_u8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_isize::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_isize::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:392:50 [INFO] [stdout] | [INFO] [stdout] 385 | fn test_isize() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 392 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 385 ~ fn test_isize() -> Result<(), Box> { [INFO] [stdout] 386 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 403 | )); [INFO] [stdout] 404 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_isize::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_isize::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_i128::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:414:32 [INFO] [stdout] | [INFO] [stdout] 414 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_i128::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:414:50 [INFO] [stdout] | [INFO] [stdout] 407 | fn test_i128() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 414 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 407 ~ fn test_i128() -> Result<(), Box> { [INFO] [stdout] 408 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 425 | )); [INFO] [stdout] 426 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_i128::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_i128::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:436:32 [INFO] [stdout] | [INFO] [stdout] 436 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:436:50 [INFO] [stdout] | [INFO] [stdout] 429 | fn test_i64() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 436 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 429 ~ fn test_i64() -> Result<(), Box> { [INFO] [stdout] 430 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 447 | )); [INFO] [stdout] 448 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i64::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:440:32 [INFO] [stdout] | [INFO] [stdout] 440 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i64::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:458:32 [INFO] [stdout] | [INFO] [stdout] 458 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_i32() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 458 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 451 ~ fn test_i32() -> Result<(), Box> { [INFO] [stdout] 452 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 469 | )); [INFO] [stdout] 470 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i32::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:462:32 [INFO] [stdout] | [INFO] [stdout] 462 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i32::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i16::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:480:32 [INFO] [stdout] | [INFO] [stdout] 480 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i16::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:480:50 [INFO] [stdout] | [INFO] [stdout] 473 | fn test_i16() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 480 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 473 ~ fn test_i16() -> Result<(), Box> { [INFO] [stdout] 474 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 491 | )); [INFO] [stdout] 492 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i16::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:484:32 [INFO] [stdout] | [INFO] [stdout] 484 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i16::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:502:32 [INFO] [stdout] | [INFO] [stdout] 502 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:502:50 [INFO] [stdout] | [INFO] [stdout] 495 | fn test_i8() { [INFO] [stdout] | ------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 502 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 495 ~ fn test_i8() -> Result<(), Box> { [INFO] [stdout] 496 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 522 | )); [INFO] [stdout] 523 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 505 | let err = facet_toml::from_str::("value = 300.0").unwrap_err(); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for type `i8` in the current scope [INFO] [stdout] --> tests/deserialize/scalar.rs:512:32 [INFO] [stdout] | [INFO] [stdout] 512 | } if *rust_type == i8::SHAPE [INFO] [stdout] | ^^^^^ associated item not found in `i8` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Facet` which provides `SHAPE` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use facet_core::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_i8::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | facet_toml::from_str::("value = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_i8::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::scalar::test_unit::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/scalar.rs:532:39 [INFO] [stdout] | [INFO] [stdout] 532 | assert_eq!(facet_toml::from_str::("")?, Root { value: () }); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::scalar::test_unit::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/scalar.rs:532:48 [INFO] [stdout] | [INFO] [stdout] 526 | fn test_unit() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 532 | assert_eq!(facet_toml::from_str::("")?, Root { value: () }); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 526 ~ fn test_unit() -> Result<(), Box> { [INFO] [stdout] 527 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 532 | assert_eq!(facet_toml::from_str::("")?, Root { value: () }); [INFO] [stdout] 533 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_table_to_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_table_to_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_table_to_struct() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 10 ~ fn test_table_to_struct() -> Result<(), Box> { [INFO] [stdout] 11 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 48 | )); [INFO] [stdout] 49 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_table_to_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_table_to_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_unit_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_unit_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 52 | fn test_unit_struct() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 68 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 52 ~ fn test_unit_struct() -> Result<(), Box> { [INFO] [stdout] 53 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 88 | )); [INFO] [stdout] 89 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_unit_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_unit_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_nested_unit_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_nested_unit_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 92 | fn test_nested_unit_struct() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 111 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 92 ~ fn test_nested_unit_struct() -> Result<(), Box> { [INFO] [stdout] 93 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 116 | ); [INFO] [stdout] 117 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_root_struct_multiple_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_root_struct_multiple_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_root_struct_multiple_fields() { [INFO] [stdout] | ------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 135 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 120 ~ fn test_root_struct_multiple_fields() -> Result<(), Box> { [INFO] [stdout] 121 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 153 | )); [INFO] [stdout] 154 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_root_struct_multiple_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_root_struct_multiple_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_nested_struct_multiple_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_nested_struct_multiple_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 157 | fn test_nested_struct_multiple_fields() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 178 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 157 ~ fn test_nested_struct_multiple_fields() -> Result<(), Box> { [INFO] [stdout] 158 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 197 | )); [INFO] [stdout] 198 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_nested_struct_multiple_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | facet_toml::from_str::("a = 1").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_nested_struct_multiple_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_nested_struct_multiple_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | facet_toml::from_str::("nested = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_nested_struct_multiple_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_rename_single_struct_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_rename_single_struct_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn test_rename_single_struct_fields() { [INFO] [stdout] | ------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 222 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 201 ~ fn test_rename_single_struct_fields() -> Result<(), Box> { [INFO] [stdout] 202 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 229 | ); [INFO] [stdout] 230 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_rename_all_struct_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_rename_all_struct_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 233 | fn test_rename_all_struct_fields() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 250 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 233 ~ fn test_rename_all_struct_fields() -> Result<(), Box> { [INFO] [stdout] 234 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 256 | ); [INFO] [stdout] 257 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::struct_::test_default_struct_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::struct_::test_default_struct_fields::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 260 | fn test_default_struct_fields() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 276 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 260 ~ fn test_default_struct_fields() -> Result<(), Box> { [INFO] [stdout] 261 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 282 | ); [INFO] [stdout] 283 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_root_struct_deserialize_defaults::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/struct_.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | facet_toml::from_str::("")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_root_struct_deserialize_defaults::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/struct_.rs:302:41 [INFO] [stdout] | [INFO] [stdout] 286 | fn test_root_struct_deserialize_defaults() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 302 | facet_toml::from_str::("")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 286 ~ fn test_root_struct_deserialize_defaults() -> Result<(), Box> { [INFO] [stdout] 287 | fn default_string() -> String { [INFO] [stdout] ... [INFO] [stdout] 308 | ); [INFO] [stdout] 309 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `deserialize::vec_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/deserialize/vec_struct.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `deserialize::vec_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/deserialize/vec_struct.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 18 | fn test_deserialize_vec_struct() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 30 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 18 ~ fn test_deserialize_vec_struct() -> Result<(), Box> { [INFO] [stdout] 19 | assert_eq!( [INFO] [stdout] ... [INFO] [stdout] 43 | ); [INFO] [stdout] 44 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::basic::Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/basic.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | let toml = facet_toml::to_string(&person)?; [INFO] [stdout] | --------------------- ^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::basic::Person` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/basic.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_serialize_person() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 18 | let toml = facet_toml::to_string(&person)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 12 ~ fn test_serialize_person() -> Result<(), Box> { [INFO] [stdout] 13 | let person = Person { [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(toml, "name = \"Alice\"\nage = 30\n"); [INFO] [stdout] 21 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_unit_only_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 22 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_unit_only_enum() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | facet_toml::from_str::("value = 'VariantB'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_unit_only_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | facet_toml::from_str::("value = 'VariantB'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_unit_only_enum() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_unit_only_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_unit_only_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_single_value_on_non_unit_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_single_value_on_non_unit_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_single_value_on_non_unit_enum() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 58 | facet_toml::from_str::("value = 'VariantA'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_single_value_on_non_unit_enum() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(facet_toml::from_str::("value = 'VariantB'").is_err()); [INFO] [stdout] 64 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_single_value_on_non_unit_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(facet_toml::from_str::("value = 'VariantB'").is_err()); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_single_value_on_non_unit_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_tuple_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | facet_toml::from_str::("value = { OneField = 0.5 }")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_tuple_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 67 | fn test_tuple_enum() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 81 | facet_toml::from_str::("value = { OneField = 0.5 }")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn test_tuple_enum() -> Result<(), Box> { [INFO] [stdout] 68 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | ); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_tuple_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_tuple_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 67 | fn test_tuple_enum() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn test_tuple_enum() -> Result<(), Box> { [INFO] [stdout] 68 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | ); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | facet_toml::from_str::("value.OneField.one = 0.5")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_struct_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 115 | facet_toml::from_str::("value.OneField.one = 0.5")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_struct_enum() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_struct_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 127 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_struct_enum() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_nested_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | facet_toml::from_str::("value.OneField.one.NestedOneField.nested_one = 0.5")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_nested_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:164:91 [INFO] [stdout] | [INFO] [stdout] 138 | fn test_nested_struct_enum() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 164 | facet_toml::from_str::("value.OneField.one.NestedOneField.nested_one = 0.5")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 138 ~ fn test_nested_struct_enum() -> Result<(), Box> { [INFO] [stdout] 139 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 188 | ); [INFO] [stdout] 189 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_nested_struct_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | facet_toml::from_str::( [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_nested_struct_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 138 | fn test_nested_struct_enum() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 178 | )?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 138 ~ fn test_nested_struct_enum() -> Result<(), Box> { [INFO] [stdout] 139 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 188 | ); [INFO] [stdout] 189 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | facet_toml::from_str::("A.value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 202 | facet_toml::from_str::("A.value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(facet_toml::from_str::("B = 2")?, Root::B(2)); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:205:53 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 205 | assert_eq!(facet_toml::from_str::("B = 2")?, Root::B(2)); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::enum_::test_enum_root::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/enum_.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::enum_::test_enum_root::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/enum_.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 192 | fn test_enum_root() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn test_enum_root() -> Result<(), Box> { [INFO] [stdout] 193 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(facet_toml::from_str::("[C]")?, Root::C); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 20 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_scalar_list() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_scalar_list() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 39 | )); [INFO] [stdout] 40 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_scalar_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_scalar_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 53 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 58 | facet_toml::from_str::("values = [2]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_unit_struct_list() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | facet_toml::from_str::("values = [1, -1, 0, 100]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_unit_struct_list() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 97 | )); [INFO] [stdout] 98 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | facet_toml::from_str::("values = [true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_unit_struct_list::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | facet_toml::from_str::("values = [1, true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_unit_struct_list::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 108 | facet_toml::from_str::("values = []")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | facet_toml::from_str::("values = [[], []]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 112 | facet_toml::from_str::("values = [[], []]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | facet_toml::from_str::("values = [[2]]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 119 | facet_toml::from_str::("values = [[2]]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | facet_toml::from_str::("values = [[1, -1], [0], [100], []]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/list.rs:126:75 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_nested_lists() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 126 | facet_toml::from_str::("values = [[1, -1], [0], [100], []]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 101 ~ fn test_nested_lists() -> Result<(), Box> { [INFO] [stdout] 102 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 158 | )); [INFO] [stdout] 159 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | facet_toml::from_str::("values = true") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | facet_toml::from_str::("values = [true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::list::test_nested_lists::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/list.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | facet_toml::from_str::("values = [[1], true]") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::list::test_nested_lists::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / assert_serialize!( [INFO] [stdout] 19 | | Root, [INFO] [stdout] 20 | | Root { [INFO] [stdout] 21 | | values: HashMap::new() [INFO] [stdout] 22 | | }, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 18 | / assert_serialize!( [INFO] [stdout] 19 | | Root, [INFO] [stdout] 20 | | Root { [INFO] [stdout] 21 | | values: HashMap::new() [INFO] [stdout] 22 | | }, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 13 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 30 | ); [INFO] [stdout] 31 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 18 | / assert_serialize!( [INFO] [stdout] 19 | | Root, [INFO] [stdout] 20 | | Root { [INFO] [stdout] 21 | | values: HashMap::new() [INFO] [stdout] 22 | | }, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 13 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 30 | ); [INFO] [stdout] 31 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / assert_serialize!( [INFO] [stdout] 19 | | Root, [INFO] [stdout] 20 | | Root { [INFO] [stdout] 21 | | values: HashMap::new() [INFO] [stdout] 22 | | }, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / assert_serialize!( [INFO] [stdout] 26 | | Root, [INFO] [stdout] 27 | | Root { [INFO] [stdout] 28 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into() [INFO] [stdout] 29 | | }, [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | / assert_serialize!( [INFO] [stdout] 26 | | Root, [INFO] [stdout] 27 | | Root { [INFO] [stdout] 28 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into() [INFO] [stdout] 29 | | }, [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 13 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 30 | ); [INFO] [stdout] 31 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_scalar_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | / assert_serialize!( [INFO] [stdout] 26 | | Root, [INFO] [stdout] 27 | | Root { [INFO] [stdout] 28 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into() [INFO] [stdout] 29 | | }, [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 ~ fn test_scalar_map() -> Result<(), Box> { [INFO] [stdout] 13 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 30 | ); [INFO] [stdout] 31 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / assert_serialize!( [INFO] [stdout] 26 | | Root, [INFO] [stdout] 27 | | Root { [INFO] [stdout] 28 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into() [INFO] [stdout] 29 | | }, [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | assert_serialize!(Root, Root { values: None },); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | assert_serialize!(Root, Root { values: None },); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | assert_serialize!(Root, Root { values: None },); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | assert_serialize!(Root, Root { values: None },); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / assert_serialize!( [INFO] [stdout] 43 | | Root, [INFO] [stdout] 44 | | Root { [INFO] [stdout] 45 | | values: Some(HashMap::new()) [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 42 | / assert_serialize!( [INFO] [stdout] 43 | | Root, [INFO] [stdout] 44 | | Root { [INFO] [stdout] 45 | | values: Some(HashMap::new()) [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 42 | / assert_serialize!( [INFO] [stdout] 43 | | Root, [INFO] [stdout] 44 | | Root { [INFO] [stdout] 45 | | values: Some(HashMap::new()) [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / assert_serialize!( [INFO] [stdout] 43 | | Root, [INFO] [stdout] 44 | | Root { [INFO] [stdout] 45 | | values: Some(HashMap::new()) [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / assert_serialize!( [INFO] [stdout] 50 | | Root, [INFO] [stdout] 51 | | Root { [INFO] [stdout] 52 | | values: Some([("a".to_string(), 0), ("b".to_string(), -1)].into()) [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 49 | / assert_serialize!( [INFO] [stdout] 50 | | Root, [INFO] [stdout] 51 | | Root { [INFO] [stdout] 52 | | values: Some([("a".to_string(), 0), ("b".to_string(), -1)].into()) [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_optional_scalar_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 49 | / assert_serialize!( [INFO] [stdout] 50 | | Root, [INFO] [stdout] 51 | | Root { [INFO] [stdout] 52 | | values: Some([("a".to_string(), 0), ("b".to_string(), -1)].into()) [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 ~ fn test_optional_scalar_map() -> Result<(), Box> { [INFO] [stdout] 35 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | ); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_scalar_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_scalar_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / assert_serialize!( [INFO] [stdout] 50 | | Root, [INFO] [stdout] 51 | | Root { [INFO] [stdout] 52 | | values: Some([("a".to_string(), 0), ("b".to_string(), -1)].into()) [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / assert_serialize!( [INFO] [stdout] 66 | | Root, [INFO] [stdout] 67 | | Root { [INFO] [stdout] 68 | | values: HashMap::new(), [INFO] [stdout] 69 | | other: 1, [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | / assert_serialize!( [INFO] [stdout] 66 | | Root, [INFO] [stdout] 67 | | Root { [INFO] [stdout] 68 | | values: HashMap::new(), [INFO] [stdout] 69 | | other: 1, [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | / assert_serialize!( [INFO] [stdout] 66 | | Root, [INFO] [stdout] 67 | | Root { [INFO] [stdout] 68 | | values: HashMap::new(), [INFO] [stdout] 69 | | other: 1, [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / assert_serialize!( [INFO] [stdout] 66 | | Root, [INFO] [stdout] 67 | | Root { [INFO] [stdout] 68 | | values: HashMap::new(), [INFO] [stdout] 69 | | other: 1, [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / assert_serialize!( [INFO] [stdout] 74 | | Root, [INFO] [stdout] 75 | | Root { [INFO] [stdout] 76 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into(), [INFO] [stdout] 77 | | other: 2, [INFO] [stdout] 78 | | }, [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 73 | / assert_serialize!( [INFO] [stdout] 74 | | Root, [INFO] [stdout] 75 | | Root { [INFO] [stdout] 76 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into(), [INFO] [stdout] 77 | | other: 2, [INFO] [stdout] 78 | | }, [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_scalar_map_with_other_fields() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 73 | / assert_serialize!( [INFO] [stdout] 74 | | Root, [INFO] [stdout] 75 | | Root { [INFO] [stdout] 76 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into(), [INFO] [stdout] 77 | | other: 2, [INFO] [stdout] 78 | | }, [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_scalar_map_with_other_fields() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_scalar_map_with_other_fields::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_scalar_map_with_other_fields::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / assert_serialize!( [INFO] [stdout] 74 | | Root, [INFO] [stdout] 75 | | Root { [INFO] [stdout] 76 | | values: [("a".to_string(), 0), ("b".to_string(), -1)].into(), [INFO] [stdout] 77 | | other: 2, [INFO] [stdout] 78 | | }, [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_unit_struct_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / assert_serialize!( [INFO] [stdout] 93 | | Root, [INFO] [stdout] 94 | | Root { [INFO] [stdout] 95 | | values: HashMap::new() [INFO] [stdout] 96 | | }, [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | / assert_serialize!( [INFO] [stdout] 93 | | Root, [INFO] [stdout] 94 | | Root { [INFO] [stdout] 95 | | values: HashMap::new() [INFO] [stdout] 96 | | }, [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 84 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 108| ); [INFO] [stdout] 109+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | / assert_serialize!( [INFO] [stdout] 93 | | Root, [INFO] [stdout] 94 | | Root { [INFO] [stdout] 95 | | values: HashMap::new() [INFO] [stdout] 96 | | }, [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 84 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 108| ); [INFO] [stdout] 109+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / assert_serialize!( [INFO] [stdout] 93 | | Root, [INFO] [stdout] 94 | | Root { [INFO] [stdout] 95 | | values: HashMap::new() [INFO] [stdout] 96 | | }, [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_unit_struct_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / assert_serialize!( [INFO] [stdout] 100 | | Root, [INFO] [stdout] 101 | | Root { [INFO] [stdout] 102 | | values: [ [INFO] [stdout] ... | [INFO] [stdout] 107 | | }, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 99 | / assert_serialize!( [INFO] [stdout] 100 | | Root, [INFO] [stdout] 101 | | Root { [INFO] [stdout] 102 | | values: [ [INFO] [stdout] ... | [INFO] [stdout] 107 | | }, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 84 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 108 | ); [INFO] [stdout] 109 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_unit_struct_map() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 99 | / assert_serialize!( [INFO] [stdout] 100 | | Root, [INFO] [stdout] 101 | | Root { [INFO] [stdout] 102 | | values: [ [INFO] [stdout] ... | [INFO] [stdout] 107 | | }, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 ~ fn test_unit_struct_map() -> Result<(), Box> { [INFO] [stdout] 84 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 108 | ); [INFO] [stdout] 109 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_unit_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_unit_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / assert_serialize!( [INFO] [stdout] 100 | | Root, [INFO] [stdout] 101 | | Root { [INFO] [stdout] 102 | | values: [ [INFO] [stdout] ... | [INFO] [stdout] 107 | | }, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_struct_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / assert_serialize!( [INFO] [stdout] 125 | | Root, [INFO] [stdout] 126 | | Root { [INFO] [stdout] 127 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 144 | | }, [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | fn test_struct_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 124 | / assert_serialize!( [INFO] [stdout] 125 | | Root, [INFO] [stdout] 126 | | Root { [INFO] [stdout] 127 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 144 | | }, [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 ~ fn test_struct_map() -> Result<(), Box> { [INFO] [stdout] 113 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 145 | ); [INFO] [stdout] 146 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | fn test_struct_map() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 124 | / assert_serialize!( [INFO] [stdout] 125 | | Root, [INFO] [stdout] 126 | | Root { [INFO] [stdout] 127 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 144 | | }, [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 ~ fn test_struct_map() -> Result<(), Box> { [INFO] [stdout] 113 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 145 | ); [INFO] [stdout] 146 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::map::test_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::map::test_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / assert_serialize!( [INFO] [stdout] 125 | | Root, [INFO] [stdout] 126 | | Root { [INFO] [stdout] 127 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 144 | | }, [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_struct_map::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / assert_serialize!( [INFO] [stdout] 162 | | Root, [INFO] [stdout] 163 | | Root { [INFO] [stdout] 164 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 188 | | }, [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | fn test_optional_struct_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 161 | / assert_serialize!( [INFO] [stdout] 162 | | Root, [INFO] [stdout] 163 | | Root { [INFO] [stdout] 164 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 188 | | }, [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 ~ fn test_optional_struct_map() -> Result<(), Box> { [INFO] [stdout] 150 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 189 | ); [INFO] [stdout] 190 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | fn test_optional_struct_map() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 161 | / assert_serialize!( [INFO] [stdout] 162 | | Root, [INFO] [stdout] 163 | | Root { [INFO] [stdout] 164 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 188 | | }, [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/map.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 ~ fn test_optional_struct_map() -> Result<(), Box> { [INFO] [stdout] 150 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 189 | ); [INFO] [stdout] 190 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_optional_struct_map::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_optional_struct_map::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/map.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / assert_serialize!( [INFO] [stdout] 162 | | Root, [INFO] [stdout] 163 | | Root { [INFO] [stdout] 164 | | dependencies: [ [INFO] [stdout] ... | [INFO] [stdout] 188 | | }, [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_invalid_map_key::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/map.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | facet_toml::to_string(&Root { [INFO] [stdout] | _________---------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 201 | | value: [(true, 0)].into() [INFO] [stdout] 202 | | }) [INFO] [stdout] | |_________^ the trait `facet_core::Facet<'_>` is not implemented for `test_invalid_map_key::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_option_scalar() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_option_scalar() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 28 | )); [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_option_scalar() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn test_option_scalar() -> Result<(), Box> { [INFO] [stdout] 9 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 28 | )); [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | facet_toml::from_str::("value = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_nested_option() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 32 ~ fn test_nested_option() -> Result<(), Box> { [INFO] [stdout] 33 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | )); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_nested_option() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | facet_toml::from_str::("value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 32 ~ fn test_nested_option() -> Result<(), Box> { [INFO] [stdout] 33 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 54 | )); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_nested_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | facet_toml::from_str::("value = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_nested_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_option_struct() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_option_struct() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 82 | )); [INFO] [stdout] 83 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | facet_toml::from_str::("value.value = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_option_struct() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 71 | facet_toml::from_str::("value.value = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 58 ~ fn test_option_struct() -> Result<(), Box> { [INFO] [stdout] 59 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 82 | )); [INFO] [stdout] 83 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | facet_toml::from_str::("value.wrong-key = 2") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_option_struct_with_option() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 86 ~ fn test_option_struct_with_option() -> Result<(), Box> { [INFO] [stdout] 87 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 113| )); [INFO] [stdout] 114+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | facet_toml::from_str::("value.sub = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_option_struct_with_option() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 99 | facet_toml::from_str::("value.sub = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 86 ~ fn test_option_struct_with_option() -> Result<(), Box> { [INFO] [stdout] 87 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 113| )); [INFO] [stdout] 114+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_struct_with_option::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | facet_toml::from_str::("value.sub = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_struct_with_option::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:130:48 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 130 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:132:52 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 132 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 117 | fn test_option_enum() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 138 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 117 ~ fn test_option_enum() -> Result<(), Box> { [INFO] [stdout] 118 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 149 | )); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | facet_toml::from_str::("value.non-existing = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | facet_toml::from_str::("A = 'hi'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 162 | facet_toml::from_str::("A = 'hi'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | facet_toml::from_str::("B.b1 = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 166 | facet_toml::from_str::("B.b1 = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | facet_toml::from_str::("B.b2 = true")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 173 | facet_toml::from_str::("B.b2 = true")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | facet_toml::from_str::("B = { b1 = 1, b2 = true }")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:180:66 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 180 | facet_toml::from_str::("B = { b1 = 1, b2 = true }")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(facet_toml::from_str::("[A]")?, Root::A(None),); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 186 | assert_eq!(facet_toml::from_str::("[A]")?, Root::A(None),); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | facet_toml::from_str::("[B]")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_option_enum_option_scalar() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 188 | facet_toml::from_str::("[B]")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_option_enum_option_scalar() -> Result<(), Box> { [INFO] [stdout] 154 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 207 | )); [INFO] [stdout] 208 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | facet_toml::from_str::("A = false").unwrap_err().kind, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_option_scalar::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | facet_toml::from_str::("B.b1 = false") [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_option_scalar::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:224:48 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 224 | assert_eq!(facet_toml::from_str::("")?, Root { value: None },); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 226 | facet_toml::from_str::("value = 'A'")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::option::test_option_enum_with_option_variant::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/option.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::option::test_option_enum_with_option_variant::Root` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/option.rs:232:52 [INFO] [stdout] | [INFO] [stdout] 211 | fn test_option_enum_with_option_variant() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 232 | facet_toml::from_str::("value.B = 1")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 211 ~ fn test_option_enum_with_option_variant() -> Result<(), Box> { [INFO] [stdout] 212 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 236 | ); [INFO] [stdout] 237 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_string::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / assert_serialize!( [INFO] [stdout] 20 | | Root, [INFO] [stdout] 21 | | Root { [INFO] [stdout] 22 | | value: "string".to_string() [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | fn test_string() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 19 | / assert_serialize!( [INFO] [stdout] 20 | | Root, [INFO] [stdout] 21 | | Root { [INFO] [stdout] 22 | | value: "string".to_string() [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 ~ fn test_string() -> Result<(), Box> { [INFO] [stdout] 14 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 24 | ); [INFO] [stdout] 25 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | fn test_string() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 19 | / assert_serialize!( [INFO] [stdout] 20 | | Root, [INFO] [stdout] 21 | | Root { [INFO] [stdout] 22 | | value: "string".to_string() [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 ~ fn test_string() -> Result<(), Box> { [INFO] [stdout] 14 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 24 | ); [INFO] [stdout] 25 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_string::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / assert_serialize!( [INFO] [stdout] 20 | | Root, [INFO] [stdout] 21 | | Root { [INFO] [stdout] 22 | | value: "string".to_string() [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_cow_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_cow_string::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / assert_serialize!( [INFO] [stdout] 36 | | Root, [INFO] [stdout] 37 | | Root { [INFO] [stdout] 38 | | value: Cow::Borrowed("string") [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | fn test_cow_string() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 35 | / assert_serialize!( [INFO] [stdout] 36 | | Root, [INFO] [stdout] 37 | | Root { [INFO] [stdout] 38 | | value: Cow::Borrowed("string") [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 ~ fn test_cow_string() -> Result<(), Box> { [INFO] [stdout] 30 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 40 | ); [INFO] [stdout] 41 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | fn test_cow_string() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 35 | / assert_serialize!( [INFO] [stdout] 36 | | Root, [INFO] [stdout] 37 | | Root { [INFO] [stdout] 38 | | value: Cow::Borrowed("string") [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 ~ fn test_cow_string() -> Result<(), Box> { [INFO] [stdout] 30 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 40 | ); [INFO] [stdout] 41 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_cow_string::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_cow_string::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / assert_serialize!( [INFO] [stdout] 36 | | Root, [INFO] [stdout] 37 | | Root { [INFO] [stdout] 38 | | value: Cow::Borrowed("string") [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_bool::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | assert_serialize!(Root, Root { value: true }); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 50 | assert_serialize!(Root, Root { value: true }); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 45 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 50 | assert_serialize!(Root, Root { value: true }); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 45 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | assert_serialize!(Root, Root { value: true }); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_bool::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 45 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | .wrap_err(serialized)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_bool() { [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding return type [INFO] [stdout] --> tests/serialize/scalar.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 ~ fn test_bool() -> Result<(), Box> { [INFO] [stdout] 45 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_bool::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let deserialized: $type = facet_toml::from_str(&serialized) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_bool::Root` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | assert_serialize!(Root, Root { value: false }); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_str<'input, 'facet: 'shape, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/scalar.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_socket_addr() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | value: "127.0.0.1:8000".parse()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 56 ~ fn test_socket_addr() -> Result<(), Box> { [INFO] [stdout] 57 | #[derive(Debug, Facet, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 67 | ); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serialize::scalar::test_socket_addr::Root: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/serialize/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | --------------------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `serialize::scalar::test_socket_addr::Root` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / assert_serialize!( [INFO] [stdout] 63 | | Root, [INFO] [stdout] 64 | | Root { [INFO] [stdout] 65 | | value: "127.0.0.1:8000".parse()? [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [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 65 others [INFO] [stdout] note: required by a bound in `facet_toml::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize/mod.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_string<'a, T: facet_core::Facet<'a>>(value: &'a T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the macro `assert_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/serialize/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | let serialized = facet_toml::to_string(&value)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] ::: tests/serialize/scalar.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_socket_addr() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [WARN] too many lines in the log, truncating it