[INFO] fetching crate facet-reflect 0.27.15... [INFO] testing facet-reflect-0.27.15 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate facet-reflect 0.27.15 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate facet-reflect 0.27.15 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-reflect 0.27.15 [INFO] tweaked toml for crates.io crate facet-reflect 0.27.15 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-reflect 0.27.15 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-reflect 0.27.15 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] c65a8625109a7cda9f6b2480a0f49584c47a24839659953990f692ccccc1e0a0 [INFO] running `Command { std: "docker" "start" "-a" "c65a8625109a7cda9f6b2480a0f49584c47a24839659953990f692ccccc1e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65a8625109a7cda9f6b2480a0f49584c47a24839659953990f692ccccc1e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65a8625109a7cda9f6b2480a0f49584c47a24839659953990f692ccccc1e0a0", kill_on_drop: false }` [INFO] [stdout] c65a8625109a7cda9f6b2480a0f49584c47a24839659953990f692ccccc1e0a0 [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] 6a41792de5e9f352d6d190009f084997ac623f367abe3489ead8bf37533a9636 [INFO] running `Command { std: "docker" "start" "-a" "6a41792de5e9f352d6d190009f084997ac623f367abe3489ead8bf37533a9636", kill_on_drop: false }` [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling facet-reflect v0.27.15 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "6a41792de5e9f352d6d190009f084997ac623f367abe3489ead8bf37533a9636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a41792de5e9f352d6d190009f084997ac623f367abe3489ead8bf37533a9636", kill_on_drop: false }` [INFO] [stdout] 6a41792de5e9f352d6d190009f084997ac623f367abe3489ead8bf37533a9636 [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] b9da19eaff4f8a9b4a684c57437f2021a7052e71d765fd0ddbe17e186f77dbc7 [INFO] running `Command { std: "docker" "start" "-a" "b9da19eaff4f8a9b4a684c57437f2021a7052e71d765fd0ddbe17e186f77dbc7", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling facet-reflect v0.27.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/partial/tests.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] --> src/partial/tests.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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/partial/tests.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn f64_uninit() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 22 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 21 ~ fn f64_uninit() -> Result<(), Box> { [INFO] [stdout] 22 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] 23 + 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] --> src/partial/tests.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn f64_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 26 ~ fn f64_init() -> Result<(), Box> { [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] 28 | assert_eq!(*hv, 6.241); [INFO] [stdout] 29 + 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] --> src/partial/tests.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 26 | fn f64_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 26 ~ fn f64_init() -> Result<(), Box> { [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] 28 | assert_eq!(*hv, 6.241); [INFO] [stdout] 29 + 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] --> src/partial/tests.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 26 | fn f64_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 26 ~ fn f64_init() -> Result<(), Box> { [INFO] [stdout] 27 | let hv = Partial::alloc::()?.set::(6.241)?.build()?; [INFO] [stdout] 28 | assert_eq!(*hv, 6.241); [INFO] [stdout] 29 + 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] --> src/partial/tests.rs:33:53 [INFO] [stdout] | [INFO] [stdout] 32 | fn option_uninit() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 33 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [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 option_uninit() -> Result<(), Box> { [INFO] [stdout] 33 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [INFO] [stdout] 34 + 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] --> src/partial/tests.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 37 | fn option_init() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 38 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 37 ~ fn option_init() -> Result<(), Box> { [INFO] [stdout] 38 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(*hv, Some(6.241)); [INFO] [stdout] 42 + 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] --> src/partial/tests.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 37 | fn option_init() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 38 | let hv = Partial::alloc::>()? [INFO] [stdout] 39 | .set::>(Some(6.241))? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 37 ~ fn option_init() -> Result<(), Box> { [INFO] [stdout] 38 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(*hv, Some(6.241)); [INFO] [stdout] 42 + 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] --> src/partial/tests.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn option_init() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 37 ~ fn option_init() -> Result<(), Box> { [INFO] [stdout] 38 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(*hv, Some(6.241)); [INFO] [stdout] 42 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_fully_uninit::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `struct_fully_uninit::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 45 | fn struct_fully_uninit() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 52 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 45 ~ fn struct_fully_uninit() -> Result<(), Box> { [INFO] [stdout] 46 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 52 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] 53 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_fully_uninit::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | assert_snapshot!(Partial::alloc::()?.build().unwrap_err()); [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `struct_fully_uninit::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_partially_uninit::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `struct_partially_uninit::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 56 | fn struct_partially_uninit() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 63 | let mut partial = Partial::alloc::()?; [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 struct_partially_uninit() -> Result<(), Box> { [INFO] [stdout] 57 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 64 | assert_snapshot!(partial.set_field("foo", 42_u64)?.build().unwrap_err()); [INFO] [stdout] 65 + 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] --> src/partial/tests.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 56 | fn struct_partially_uninit() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 64 | assert_snapshot!(partial.set_field("foo", 42_u64)?.build().unwrap_err()); [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 struct_partially_uninit() -> Result<(), Box> { [INFO] [stdout] 57 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 64 | assert_snapshot!(partial.set_field("foo", 42_u64)?.build().unwrap_err()); [INFO] [stdout] 65 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_partially_uninit::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | assert_snapshot!(partial.set_field("foo", 42_u64)?.build().unwrap_err()); [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `struct_partially_uninit::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_fully_init::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `struct_fully_init::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_fully_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 75 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 68 ~ fn struct_fully_init() -> Result<(), Box> { [INFO] [stdout] 69 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(hv.bar, true); [INFO] [stdout] 81 + 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] --> src/partial/tests.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_fully_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 76 | .set_field("foo", 42u64)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 68 ~ fn struct_fully_init() -> Result<(), Box> { [INFO] [stdout] 69 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(hv.bar, true); [INFO] [stdout] 81 + 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] --> src/partial/tests.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_fully_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 77 | .set_field("bar", 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] 68 ~ fn struct_fully_init() -> Result<(), Box> { [INFO] [stdout] 69 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(hv.bar, true); [INFO] [stdout] 81 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_fully_init::FooBar: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `struct_fully_init::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_fully_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 78 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 68 ~ fn struct_fully_init() -> Result<(), Box> { [INFO] [stdout] 69 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(hv.bar, true); [INFO] [stdout] 81 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_field_set_twice::Container: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `struct_field_set_twice::Container` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_field_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | partial.set_field("tracker", DropTracker { id: 1 })?; [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `struct_field_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_field` [INFO] [stdout] --> src/partial/mod.rs:2992:12 [INFO] [stdout] | [INFO] [stdout] 2986 | pub fn set_field( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2992 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_field_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | partial.set_field("tracker", DropTracker { id: 2 })?; [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `struct_field_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_field` [INFO] [stdout] --> src/partial/mod.rs:2992:12 [INFO] [stdout] | [INFO] [stdout] 2986 | pub fn set_field( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2992 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `struct_field_set_twice::Container: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | partial.build() [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `struct_field_set_twice::Container` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | Partial::alloc::<[DropTracker; 3]>()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `[array_element_set_twice::DropTracker; 3]` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | .set_nth_element(0, DropTracker { id: 1 })? [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | .set_nth_element(0, DropTracker { id: 2 })? [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | .set_nth_element(1, DropTracker { id: 3 })? [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | .set_nth_element(2, DropTracker { id: 4 })? [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `array_element_set_twice::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | .build() [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `array_element_set_twice::DropTracker` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `[array_element_set_twice::DropTracker; 3]` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Sample: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | let sample = Partial::alloc::()?.set_default()?.build()?; [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `Sample` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:203:44 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_default() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 203 | let sample = Partial::alloc::()?.set_default()?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 196 ~ fn set_default() -> Result<(), Box> { [INFO] [stdout] 197 | #[derive(Facet, Debug, PartialEq, Default)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(sample.y, ""); [INFO] [stdout] 207 + 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] --> src/partial/tests.rs:203:59 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_default() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 203 | let sample = Partial::alloc::()?.set_default()?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 196 ~ fn set_default() -> Result<(), Box> { [INFO] [stdout] 197 | #[derive(Facet, Debug, PartialEq, Default)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(sample.y, ""); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Sample: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:203:61 [INFO] [stdout] | [INFO] [stdout] 203 | let sample = Partial::alloc::()?.set_default()?.build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Sample` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:203:68 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_default() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 203 | let sample = Partial::alloc::()?.set_default()?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 196 ~ fn set_default() -> Result<(), Box> { [INFO] [stdout] 197 | #[derive(Facet, Debug, PartialEq, Default)] [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(sample.y, ""); [INFO] [stdout] 207 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NoDefault: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | let result = Partial::alloc::()?.set_default().map(|_| ()); [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `NoDefault` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 210 | fn set_default_no_default_impl() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 216 | let result = Partial::alloc::()?.set_default().map(|_| ()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 210 ~ fn set_default_no_default_impl() -> Result<(), Box> { [INFO] [stdout] 211 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 222 | ); [INFO] [stdout] 223 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `set_default_drops_previous::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `set_default_drops_previous::DropTracker` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:249:54 [INFO] [stdout] | [INFO] [stdout] 226 | fn set_default_drops_previous() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 226 ~ fn set_default_drops_previous() -> Result<(), Box> { [INFO] [stdout] 227 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 263 | assert_eq!(DROP_COUNT.load(Ordering::SeqCst), 2); [INFO] [stdout] 264 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `set_default_drops_previous::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | partial.set(DropTracker { id: 1 })?; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `set_default_drops_previous::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 226 | fn set_default_drops_previous() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 252 | partial.set(DropTracker { id: 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] 226 ~ fn set_default_drops_previous() -> Result<(), Box> { [INFO] [stdout] 227 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 263 | assert_eq!(DROP_COUNT.load(Ordering::SeqCst), 2); [INFO] [stdout] 264 + 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] --> src/partial/tests.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn set_default_drops_previous() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 256 | partial.set_default()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 226 ~ fn set_default_drops_previous() -> Result<(), Box> { [INFO] [stdout] 227 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 263 | assert_eq!(DROP_COUNT.load(Ordering::SeqCst), 2); [INFO] [stdout] 264 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `set_default_drops_previous::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | let tracker = partial.build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `set_default_drops_previous::DropTracker` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:259:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn set_default_drops_previous() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 259 | let tracker = partial.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 226 ~ fn set_default_drops_previous() -> Result<(), Box> { [INFO] [stdout] 227 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 263 | assert_eq!(DROP_COUNT.load(Ordering::SeqCst), 2); [INFO] [stdout] 264 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_partially_initialized_struct::Container: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_partially_initialized_struct::Container` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:296:56 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 296 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + 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] --> src/partial/tests.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 299 | partial.begin_field("first")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_partially_initialized_struct::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | partial.set(NoisyDrop { value: 1 })?; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_partially_initialized_struct::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 302 | partial.set(NoisyDrop { 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] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + 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] --> src/partial/tests.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 309 | partial.end()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + 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] --> src/partial/tests.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 317 | partial.begin_field("second")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_partially_initialized_struct::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | partial.set(NoisyDrop { value: 2 })?; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_partially_initialized_struct::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:318:44 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 318 | partial.set(NoisyDrop { value: 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] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + 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] --> src/partial/tests.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 267 | fn drop_partially_initialized_struct() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 325 | partial.end()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 267 ~ fn drop_partially_initialized_struct() -> Result<(), Box> { [INFO] [stdout] 268 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 336 | ); [INFO] [stdout] 337 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:372:44 [INFO] [stdout] | [INFO] [stdout] 372 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Outer` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:372:52 [INFO] [stdout] | [INFO] [stdout] 340 | fn drop_nested_partially_initialized() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 372 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 340 ~ fn drop_nested_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 341 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 388 | ); [INFO] [stdout] 389 + 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] --> src/partial/tests.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 340 | fn drop_nested_partially_initialized() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 375 | partial.begin_field("inner")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 340 ~ fn drop_nested_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 341 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 388 | ); [INFO] [stdout] 389 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_nested_partially_initialized::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:376:32 [INFO] [stdout] | [INFO] [stdout] 376 | partial.set_field("a", NoisyDrop { id: 1 })?; [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_nested_partially_initialized::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_field` [INFO] [stdout] --> src/partial/mod.rs:2992:12 [INFO] [stdout] | [INFO] [stdout] 2986 | pub fn set_field( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2992 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_field` [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] --> src/partial/tests.rs:376:52 [INFO] [stdout] | [INFO] [stdout] 340 | fn drop_nested_partially_initialized() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 376 | partial.set_field("a", NoisyDrop { id: 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] 340 ~ fn drop_nested_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 341 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 388 | ); [INFO] [stdout] 389 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MixedTypes: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:401:40 [INFO] [stdout] | [INFO] [stdout] 401 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `MixedTypes` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/partial/empty_tuples.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/partial/array_building.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/partial/array_building.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/partial/invariant.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/partial/invariant.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_testhelpers` [INFO] [stdout] --> tests/partial/list_leak.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/partial/map.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/partial/map_leak.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/partial/misc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/partial/misc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet::{EnumType, Facet, Field, PtrConst, PtrUninit, StructType, Type, UserType, Variant}; [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 `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/partial/tests.rs:401:53 [INFO] [stdout] | [INFO] [stdout] 392 | fn drop_with_copy_types() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 401 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 392 ~ fn drop_with_copy_types() -> Result<(), Box> { [INFO] [stdout] 393 | // Test that Copy types don't cause double-drops or other issues [INFO] [stdout] ... [INFO] [stdout] 410 | // If this doesn't panic or segfault, we're good [INFO] [stdout] 411 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/partial/no_uninit.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/partial/no_uninit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/partial/option_building.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/partial/option_leak.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/partial/put_vec_leak.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/partial/smartptr.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/partial/smartptr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/partial/smartptr_complex.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` [INFO] [stdout] --> tests/partial/struct_leak.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/partial/struct_leak.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_testhelpers` [INFO] [stdout] --> tests/partial/tuples.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/partial/variance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/partial/variance.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/peek/enum_.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/peek/enum_.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_testhelpers` [INFO] [stdout] --> tests/peek/list.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/peek/list_like.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/peek/map.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/peek/option.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/peek/set.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/peek/smartptr.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/peek/smartptr.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/peek/struct_.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/peek/struct_.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_testhelpers` [INFO] [stdout] --> tests/peek/value.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/partial/misc.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `facet` [INFO] [stdout] --> tests/partial/option_building.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(facet::Facet, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `facet` [INFO] [stdout] --> tests/partial/option_building.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(facet::Facet, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [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] --> src/partial/tests.rs:403:41 [INFO] [stdout] | [INFO] [stdout] 392 | fn drop_with_copy_types() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 403 | partial.set_field("copyable", 42u64)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 392 ~ fn drop_with_copy_types() -> Result<(), Box> { [INFO] [stdout] 393 | // Test that Copy types don't cause double-drops or other issues [INFO] [stdout] ... [INFO] [stdout] 410 | // If this doesn't panic or segfault, we're good [INFO] [stdout] 411 + 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] --> src/partial/tests.rs:405:56 [INFO] [stdout] | [INFO] [stdout] 392 | fn drop_with_copy_types() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 405 | partial.set_field("droppable", "Hello".to_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] 392 ~ fn drop_with_copy_types() -> Result<(), Box> { [INFO] [stdout] 393 | // Test that Copy types don't cause double-drops or other issues [INFO] [stdout] ... [INFO] [stdout] 410 | // If this doesn't panic or segfault, we're good [INFO] [stdout] 411 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_fully_uninitialized::Container: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:439:41 [INFO] [stdout] | [INFO] [stdout] 439 | let _partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_fully_uninitialized::Container` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 414 | fn drop_fully_uninitialized() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 439 | let _partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 414 ~ fn drop_fully_uninitialized() -> Result<(), Box> { [INFO] [stdout] 415 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 447 | ); [INFO] [stdout] 448 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_after_successful_build::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:469:31 [INFO] [stdout] | [INFO] [stdout] 469 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_after_successful_build::NoisyDrop` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:469:43 [INFO] [stdout] | [INFO] [stdout] 451 | fn drop_after_successful_build() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 469 | let hv = Partial::alloc::()? [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 drop_after_successful_build() -> Result<(), Box> { [INFO] [stdout] 452 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 485 | ); [INFO] [stdout] 486 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_after_successful_build::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | .set(NoisyDrop { value: 42 })? [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_after_successful_build::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 451 | fn drop_after_successful_build() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 470 | .set(NoisyDrop { value: 42 })? [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 drop_after_successful_build() -> Result<(), Box> { [INFO] [stdout] 452 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 485 | ); [INFO] [stdout] 486 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_after_successful_build::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:471:10 [INFO] [stdout] | [INFO] [stdout] 471 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `drop_after_successful_build::NoisyDrop` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/partial/invariant.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[facet(invariants = MyNonZeroU8::invariants)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/partial/invariant.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[facet(invariants = ValidatedRange::invariants)] [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] --> src/partial/tests.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 451 | fn drop_after_successful_build() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 471 | .build()?; [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 drop_after_successful_build() -> Result<(), Box> { [INFO] [stdout] 452 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 485 | ); [INFO] [stdout] 486 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/partial/invariant.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[facet(invariants = Point::invariants)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/partial/misc.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | pub struct Handle(#[facet(opaque)] std::sync::Arc); [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] --> src/partial/tests.rs:490:42 [INFO] [stdout] | [INFO] [stdout] 489 | fn array_init() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 489 ~ fn array_init() -> Result<(), Box> { [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 496 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 497 + 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] --> src/partial/tests.rs:492:35 [INFO] [stdout] | [INFO] [stdout] 489 | fn array_init() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 492 | .set_nth_element(0, 42u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 489 ~ fn array_init() -> Result<(), Box> { [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 496 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 497 + 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] --> src/partial/tests.rs:493:35 [INFO] [stdout] | [INFO] [stdout] 489 | fn array_init() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 493 | .set_nth_element(1, 43u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 489 ~ fn array_init() -> Result<(), Box> { [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 496 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 497 + 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] --> src/partial/tests.rs:494:35 [INFO] [stdout] | [INFO] [stdout] 489 | fn array_init() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 494 | .set_nth_element(2, 44u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 489 ~ fn array_init() -> Result<(), Box> { [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 496 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 497 + 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] --> src/partial/tests.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 489 | fn array_init() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 495 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 489 ~ fn array_init() -> Result<(), Box> { [INFO] [stdout] 490 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 496 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 497 + 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] --> src/partial/tests.rs:501:42 [INFO] [stdout] | [INFO] [stdout] 500 | fn array_init_out_of_order() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 500 ~ fn array_init_out_of_order() -> Result<(), Box> { [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 507 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 508 + 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] --> src/partial/tests.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 500 | fn array_init_out_of_order() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 503 | .set_nth_element(2, 44u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 500 ~ fn array_init_out_of_order() -> Result<(), Box> { [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 507 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 508 + 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] --> src/partial/tests.rs:504:35 [INFO] [stdout] | [INFO] [stdout] 500 | fn array_init_out_of_order() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 504 | .set_nth_element(0, 42u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 500 ~ fn array_init_out_of_order() -> Result<(), Box> { [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 507 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 508 + 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] --> src/partial/tests.rs:505:35 [INFO] [stdout] | [INFO] [stdout] 500 | fn array_init_out_of_order() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 505 | .set_nth_element(1, 43u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 500 ~ fn array_init_out_of_order() -> Result<(), Box> { [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 507 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 508 + 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] --> src/partial/tests.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 500 | fn array_init_out_of_order() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 506 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 500 ~ fn array_init_out_of_order() -> Result<(), Box> { [INFO] [stdout] 501 | let hv = Partial::alloc::<[u32; 3]>()? [INFO] [stdout] ... [INFO] [stdout] 507 | assert_eq!(*hv, [42, 43, 44]); [INFO] [stdout] 508 + 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] --> src/partial/tests.rs:514:37 [INFO] [stdout] | [INFO] [stdout] 511 | fn array_partial_init() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 514 | Partial::alloc::<[u32; 3]>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 511 ~ fn array_partial_init() -> Result<(), Box> { [INFO] [stdout] 512 | // Should fail to build [INFO] [stdout] ... [INFO] [stdout] 520 | ); [INFO] [stdout] 521 + 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] --> src/partial/tests.rs:516:39 [INFO] [stdout] | [INFO] [stdout] 511 | fn array_partial_init() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 516 | .set_nth_element(0, 42u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 511 ~ fn array_partial_init() -> Result<(), Box> { [INFO] [stdout] 512 | // Should fail to build [INFO] [stdout] ... [INFO] [stdout] 520 | ); [INFO] [stdout] 521 + 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] --> src/partial/tests.rs:517:39 [INFO] [stdout] | [INFO] [stdout] 511 | fn array_partial_init() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 517 | .set_nth_element(2, 44u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 511 ~ fn array_partial_init() -> Result<(), Box> { [INFO] [stdout] 512 | // Should fail to build [INFO] [stdout] ... [INFO] [stdout] 520 | ); [INFO] [stdout] 521 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_array_partially_initialized::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:544:44 [INFO] [stdout] | [INFO] [stdout] 544 | let mut partial = Partial::alloc::<[NoisyDrop; 4]>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_array_partially_initialized::NoisyDrop` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `[drop_array_partially_initialized::NoisyDrop; 4]` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:544:61 [INFO] [stdout] | [INFO] [stdout] 524 | fn drop_array_partially_initialized() { [INFO] [stdout] | ------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 544 | let mut partial = Partial::alloc::<[NoisyDrop; 4]>()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 524 ~ fn drop_array_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 525 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 557 | ); [INFO] [stdout] 558 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_array_partially_initialized::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:547:36 [INFO] [stdout] | [INFO] [stdout] 547 | partial.set_nth_element(0, NoisyDrop { value: 10 })?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_array_partially_initialized::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [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] --> src/partial/tests.rs:547:60 [INFO] [stdout] | [INFO] [stdout] 524 | fn drop_array_partially_initialized() { [INFO] [stdout] | ------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 547 | partial.set_nth_element(0, NoisyDrop { value: 10 })?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 524 ~ fn drop_array_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 525 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 557 | ); [INFO] [stdout] 558 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_array_partially_initialized::NoisyDrop: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:548:36 [INFO] [stdout] | [INFO] [stdout] 548 | partial.set_nth_element(2, NoisyDrop { value: 30 })?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_array_partially_initialized::NoisyDrop` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [INFO] [stdout] --> src/partial/mod.rs:2966:12 [INFO] [stdout] | [INFO] [stdout] 2960 | pub fn set_nth_element( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2966 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set_nth_element` [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] --> src/partial/tests.rs:548:60 [INFO] [stdout] | [INFO] [stdout] 524 | fn drop_array_partially_initialized() { [INFO] [stdout] | ------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 548 | partial.set_nth_element(2, NoisyDrop { value: 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] 524 ~ fn drop_array_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 525 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 557 | ); [INFO] [stdout] 558 + 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] --> src/partial/tests.rs:562:42 [INFO] [stdout] | [INFO] [stdout] 561 | fn box_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 561 ~ fn box_init() -> Result<(), Box> { [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 568 | assert_eq!(**hv, 42); [INFO] [stdout] 569 + 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] --> src/partial/tests.rs:564:27 [INFO] [stdout] | [INFO] [stdout] 561 | fn box_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 564 | .begin_smart_ptr()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 561 ~ fn box_init() -> Result<(), Box> { [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 568 | assert_eq!(**hv, 42); [INFO] [stdout] 569 + 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] --> src/partial/tests.rs:565:20 [INFO] [stdout] | [INFO] [stdout] 561 | fn box_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 565 | .set(42u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 561 ~ fn box_init() -> Result<(), Box> { [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 568 | assert_eq!(**hv, 42); [INFO] [stdout] 569 + 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] --> src/partial/tests.rs:566:15 [INFO] [stdout] | [INFO] [stdout] 561 | fn box_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 566 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 561 ~ fn box_init() -> Result<(), Box> { [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 568 | assert_eq!(**hv, 42); [INFO] [stdout] 569 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/partial/tests.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 561 | fn box_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 567 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 561 ~ fn box_init() -> Result<(), Box> { [INFO] [stdout] 562 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 568 | assert_eq!(**hv, 42); [INFO] [stdout] 569 + 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] --> src/partial/tests.rs:574:50 [INFO] [stdout] | [INFO] [stdout] 572 | fn box_partial_init() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 573 | // Don't initialize the Box at all [INFO] [stdout] 574 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 572 ~ fn box_partial_init() -> Result<(), Box> { [INFO] [stdout] 573 | // Don't initialize the Box at all [INFO] [stdout] 574 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [INFO] [stdout] 575 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-reflect` (test "integration_tests") due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `box_struct::Point: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:585:31 [INFO] [stdout] | [INFO] [stdout] 585 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `box_struct::Point` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::boxed::Box` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:585:44 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 585 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + 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] --> src/partial/tests.rs:587:27 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 587 | .begin_smart_ptr()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + 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] --> src/partial/tests.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 589 | .set_field("x", 1.0)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + 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] --> src/partial/tests.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 590 | .set_field("y", 2.0)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + 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] --> src/partial/tests.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 592 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `box_struct::Point: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:593:10 [INFO] [stdout] | [INFO] [stdout] 593 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `box_struct::Point` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::boxed::Box` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 578 | fn box_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 593 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 578 ~ fn box_struct() -> Result<(), Box> { [INFO] [stdout] 579 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 594 | assert_eq!(**hv, Point { x: 1.0, y: 2.0 }); [INFO] [stdout] 595 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_box_partially_initialized::DropCounter: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:619:44 [INFO] [stdout] | [INFO] [stdout] 619 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_box_partially_initialized::DropCounter` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::boxed::Box` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:619:63 [INFO] [stdout] | [INFO] [stdout] 598 | fn drop_box_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 619 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 598 ~ fn drop_box_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 599 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 633 | ); [INFO] [stdout] 634 + 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] --> src/partial/tests.rs:622:34 [INFO] [stdout] | [INFO] [stdout] 598 | fn drop_box_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 622 | partial.begin_smart_ptr()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 598 ~ fn drop_box_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 599 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 633 | ); [INFO] [stdout] 634 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_box_partially_initialized::DropCounter: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:623:21 [INFO] [stdout] | [INFO] [stdout] 623 | partial.set(DropCounter { value: 99 })?; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_box_partially_initialized::DropCounter` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:623:47 [INFO] [stdout] | [INFO] [stdout] 598 | fn drop_box_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 623 | partial.set(DropCounter { value: 99 })?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 598 ~ fn drop_box_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 599 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 633 | ); [INFO] [stdout] 634 + 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] --> src/partial/tests.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 598 | fn drop_box_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 624 | partial.end()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 598 ~ fn drop_box_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 599 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 633 | ); [INFO] [stdout] 634 + 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] --> src/partial/tests.rs:640:42 [INFO] [stdout] | [INFO] [stdout] 637 | fn arc_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 640 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 637 ~ fn arc_init() -> Result<(), Box> { [INFO] [stdout] 638 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(**hv, 42); [INFO] [stdout] 647 + 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] --> src/partial/tests.rs:642:27 [INFO] [stdout] | [INFO] [stdout] 637 | fn arc_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 642 | .begin_smart_ptr()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 637 ~ fn arc_init() -> Result<(), Box> { [INFO] [stdout] 638 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(**hv, 42); [INFO] [stdout] 647 + 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] --> src/partial/tests.rs:643:20 [INFO] [stdout] | [INFO] [stdout] 637 | fn arc_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 643 | .set(42u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 637 ~ fn arc_init() -> Result<(), Box> { [INFO] [stdout] 638 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(**hv, 42); [INFO] [stdout] 647 + 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] --> src/partial/tests.rs:644:15 [INFO] [stdout] | [INFO] [stdout] 637 | fn arc_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 644 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 637 ~ fn arc_init() -> Result<(), Box> { [INFO] [stdout] 638 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(**hv, 42); [INFO] [stdout] 647 + 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] --> src/partial/tests.rs:645:17 [INFO] [stdout] | [INFO] [stdout] 637 | fn arc_init() { [INFO] [stdout] | ------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 645 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 637 ~ fn arc_init() -> Result<(), Box> { [INFO] [stdout] 638 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(**hv, 42); [INFO] [stdout] 647 + 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] --> src/partial/tests.rs:654:50 [INFO] [stdout] | [INFO] [stdout] 650 | fn arc_partial_init() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 654 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 650 ~ fn arc_partial_init() -> Result<(), Box> { [INFO] [stdout] 651 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 654 | assert_snapshot!(Partial::alloc::>()?.build().unwrap_err()); [INFO] [stdout] 655 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `arc_struct::Point: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:667:31 [INFO] [stdout] | [INFO] [stdout] 667 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `arc_struct::Point` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:667:44 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 667 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + 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] --> src/partial/tests.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 669 | .begin_smart_ptr()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + 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] --> src/partial/tests.rs:671:29 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 671 | .set_field("x", 3.0)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + 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] --> src/partial/tests.rs:672:29 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 672 | .set_field("y", 4.0)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + 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] --> src/partial/tests.rs:674:15 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 674 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `arc_struct::Point: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `arc_struct::Point` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 658 | fn arc_struct() { [INFO] [stdout] | --------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 675 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 658 ~ fn arc_struct() -> Result<(), Box> { [INFO] [stdout] 659 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 676 | assert_eq!(**hv, Point { x: 3.0, y: 4.0 }); [INFO] [stdout] 677 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_arc_partially_initialized::DropCounter: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:700:44 [INFO] [stdout] | [INFO] [stdout] 700 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_arc_partially_initialized::DropCounter` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:700:63 [INFO] [stdout] | [INFO] [stdout] 680 | fn drop_arc_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 700 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 680 ~ fn drop_arc_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 681 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 714 | ); [INFO] [stdout] 715 + 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] --> src/partial/tests.rs:703:34 [INFO] [stdout] | [INFO] [stdout] 680 | fn drop_arc_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 703 | partial.begin_smart_ptr()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 680 ~ fn drop_arc_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 681 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 714 | ); [INFO] [stdout] 715 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `drop_arc_partially_initialized::DropCounter: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:704:21 [INFO] [stdout] | [INFO] [stdout] 704 | partial.set(DropCounter { value: 123 })?; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `drop_arc_partially_initialized::DropCounter` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:704:48 [INFO] [stdout] | [INFO] [stdout] 680 | fn drop_arc_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 704 | partial.set(DropCounter { value: 123 })?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 680 ~ fn drop_arc_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 681 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 714 | ); [INFO] [stdout] 715 + 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] --> src/partial/tests.rs:705:22 [INFO] [stdout] | [INFO] [stdout] 680 | fn drop_arc_partially_initialized() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 705 | partial.end()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 680 ~ fn drop_arc_partially_initialized() -> Result<(), Box> { [INFO] [stdout] 681 | use alloc::sync::Arc; [INFO] [stdout] ... [INFO] [stdout] 714 | ); [INFO] [stdout] 715 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_unit_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:728:31 [INFO] [stdout] | [INFO] [stdout] 728 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `enum_unit_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:728:40 [INFO] [stdout] | [INFO] [stdout] 718 | fn enum_unit_variant() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 728 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 718 ~ fn enum_unit_variant() -> Result<(), Box> { [INFO] [stdout] 719 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 731 | assert_eq!(*hv, Status::Inactive); [INFO] [stdout] 732 + 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] --> src/partial/tests.rs:729:27 [INFO] [stdout] | [INFO] [stdout] 718 | fn enum_unit_variant() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 729 | .select_variant(1)? // Inactive [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 718 ~ fn enum_unit_variant() -> Result<(), Box> { [INFO] [stdout] 719 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 731 | assert_eq!(*hv, Status::Inactive); [INFO] [stdout] 732 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_unit_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:730:10 [INFO] [stdout] | [INFO] [stdout] 730 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `enum_unit_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 718 | fn enum_unit_variant() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 730 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 718 ~ fn enum_unit_variant() -> Result<(), Box> { [INFO] [stdout] 719 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 731 | assert_eq!(*hv, Status::Inactive); [INFO] [stdout] 732 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:745:31 [INFO] [stdout] | [INFO] [stdout] 745 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^^^ the trait `Facet<'_>` is not implemented for `Message` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:745:41 [INFO] [stdout] | [INFO] [stdout] 735 | fn enum_struct_variant() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 745 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 735 ~ fn enum_struct_variant() -> Result<(), Box> { [INFO] [stdout] 736 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 754 | ); [INFO] [stdout] 755 + 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] --> src/partial/tests.rs:746:27 [INFO] [stdout] | [INFO] [stdout] 735 | fn enum_struct_variant() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 746 | .select_variant(0)? // Text variant [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 735 ~ fn enum_struct_variant() -> Result<(), Box> { [INFO] [stdout] 736 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 754 | ); [INFO] [stdout] 755 + 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] --> src/partial/tests.rs:747:59 [INFO] [stdout] | [INFO] [stdout] 735 | fn enum_struct_variant() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 747 | .set_field("content", "Hello, world!".to_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] 735 ~ fn enum_struct_variant() -> Result<(), Box> { [INFO] [stdout] 736 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 754 | ); [INFO] [stdout] 755 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:748:10 [INFO] [stdout] | [INFO] [stdout] 748 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Message` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:748:17 [INFO] [stdout] | [INFO] [stdout] 735 | fn enum_struct_variant() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 748 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 735 ~ fn enum_struct_variant() -> Result<(), Box> { [INFO] [stdout] 736 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 754 | ); [INFO] [stdout] 755 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:768:31 [INFO] [stdout] | [INFO] [stdout] 768 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Value` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:768:39 [INFO] [stdout] | [INFO] [stdout] 758 | fn enum_tuple_variant() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 768 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 758 ~ fn enum_tuple_variant() -> Result<(), Box> { [INFO] [stdout] 759 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 773 | assert_eq!(*hv, Value::Pair(42, "test".to_string())); [INFO] [stdout] 774 + 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] --> src/partial/tests.rs:769:27 [INFO] [stdout] | [INFO] [stdout] 758 | fn enum_tuple_variant() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 769 | .select_variant(2)? // Pair variant [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 758 ~ fn enum_tuple_variant() -> Result<(), Box> { [INFO] [stdout] 759 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 773 | assert_eq!(*hv, Value::Pair(42, "test".to_string())); [INFO] [stdout] 774 + 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] --> src/partial/tests.rs:770:35 [INFO] [stdout] | [INFO] [stdout] 758 | fn enum_tuple_variant() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 770 | .set_nth_enum_field(0, 42)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 758 ~ fn enum_tuple_variant() -> Result<(), Box> { [INFO] [stdout] 759 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 773 | assert_eq!(*hv, Value::Pair(42, "test".to_string())); [INFO] [stdout] 774 + 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] --> src/partial/tests.rs:771:51 [INFO] [stdout] | [INFO] [stdout] 758 | fn enum_tuple_variant() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 771 | .set_nth_enum_field(1, "test".to_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] 758 ~ fn enum_tuple_variant() -> Result<(), Box> { [INFO] [stdout] 759 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 773 | assert_eq!(*hv, Value::Pair(42, "test".to_string())); [INFO] [stdout] 774 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:772:10 [INFO] [stdout] | [INFO] [stdout] 772 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Value` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:772:17 [INFO] [stdout] | [INFO] [stdout] 758 | fn enum_tuple_variant() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 772 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 758 ~ fn enum_tuple_variant() -> Result<(), Box> { [INFO] [stdout] 759 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 773 | assert_eq!(*hv, Value::Pair(42, "test".to_string())); [INFO] [stdout] 774 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Data: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:784:31 [INFO] [stdout] | [INFO] [stdout] 784 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^ the trait `Facet<'_>` is not implemented for `Data` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:784:38 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 784 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + 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] --> src/partial/tests.rs:785:27 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 785 | .select_variant(0)? // Point variant [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + 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] --> src/partial/tests.rs:787:32 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 787 | .set_field("x", 1.0f32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + 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] --> src/partial/tests.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 789 | .set_field("x", 2.0f32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + 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] --> src/partial/tests.rs:791:32 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 791 | .set_field("y", 3.0f32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Data: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:792:10 [INFO] [stdout] | [INFO] [stdout] 792 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Data` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:792:17 [INFO] [stdout] | [INFO] [stdout] 777 | fn enum_set_field_twice() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 792 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 777 ~ fn enum_set_field_twice() -> Result<(), Box> { [INFO] [stdout] 778 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 793 | assert_eq!(*hv, Data::Point { x: 2.0, y: 3.0 }); [INFO] [stdout] 794 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_partial_initialization_error::Config: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:806:35 [INFO] [stdout] | [INFO] [stdout] 806 | let result = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `enum_partial_initialization_error::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:806:44 [INFO] [stdout] | [INFO] [stdout] 797 | fn enum_partial_initialization_error() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 806 | let result = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 797 ~ fn enum_partial_initialization_error() -> Result<(), Box> { [INFO] [stdout] 798 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 811 | assert!(result.is_err()); [INFO] [stdout] 812 + 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] --> src/partial/tests.rs:807:27 [INFO] [stdout] | [INFO] [stdout] 797 | fn enum_partial_initialization_error() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 807 | .select_variant(0)? // Settings variant [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 797 ~ fn enum_partial_initialization_error() -> Result<(), Box> { [INFO] [stdout] 798 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 811 | assert!(result.is_err()); [INFO] [stdout] 812 + 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] --> src/partial/tests.rs:809:39 [INFO] [stdout] | [INFO] [stdout] 797 | fn enum_partial_initialization_error() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 809 | .set_field("timeout", 5000u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 797 ~ fn enum_partial_initialization_error() -> Result<(), Box> { [INFO] [stdout] 798 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 811 | assert!(result.is_err()); [INFO] [stdout] 812 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_partial_initialization_error::Config: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:810:10 [INFO] [stdout] | [INFO] [stdout] 810 | .build(); [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `enum_partial_initialization_error::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_select_nth_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:826:31 [INFO] [stdout] | [INFO] [stdout] 826 | let hv = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `enum_select_nth_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:826:40 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 826 | let hv = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + 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] --> src/partial/tests.rs:827:31 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 827 | .select_nth_variant(1)? // Inactive (index 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] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_select_nth_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:828:10 [INFO] [stdout] | [INFO] [stdout] 828 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `enum_select_nth_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 828 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_select_nth_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:832:32 [INFO] [stdout] | [INFO] [stdout] 832 | let hv2 = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `enum_select_nth_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:832:41 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 832 | let hv2 = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + 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] --> src/partial/tests.rs:833:31 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 833 | .select_nth_variant(2)? // Pending (index 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] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `enum_select_nth_variant::Status: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:834:10 [INFO] [stdout] | [INFO] [stdout] 834 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `enum_select_nth_variant::Status` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 815 | fn enum_select_nth_variant() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 834 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 815 ~ fn enum_select_nth_variant() -> Result<(), Box> { [INFO] [stdout] 816 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 835 | assert_eq!(*hv2, Status::Pending); [INFO] [stdout] 836 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyStruct: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:844:31 [INFO] [stdout] | [INFO] [stdout] 844 | let hv = Partial::alloc::()?.build()?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `EmptyStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:844:45 [INFO] [stdout] | [INFO] [stdout] 839 | fn empty_struct_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 844 | let hv = Partial::alloc::()?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 839 ~ fn empty_struct_init() -> Result<(), Box> { [INFO] [stdout] 840 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 845 | assert_eq!(*hv, EmptyStruct {}); [INFO] [stdout] 846 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyStruct: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:844:47 [INFO] [stdout] | [INFO] [stdout] 844 | let hv = Partial::alloc::()?.build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `EmptyStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:844:54 [INFO] [stdout] | [INFO] [stdout] 839 | fn empty_struct_init() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 844 | let hv = Partial::alloc::()?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 839 ~ fn empty_struct_init() -> Result<(), Box> { [INFO] [stdout] 840 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 845 | assert_eq!(*hv, EmptyStruct {}); [INFO] [stdout] 846 + 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] --> src/partial/tests.rs:850:42 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + 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] --> src/partial/tests.rs:851:22 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] 851 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + 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] --> src/partial/tests.rs:852:18 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 852 | .push(42)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + 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] --> src/partial/tests.rs:853:18 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 853 | .push(84)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + 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] --> src/partial/tests.rs:854:19 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 854 | .push(126)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + 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] --> src/partial/tests.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 849 | fn list_vec_basic() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 855 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 849 ~ fn list_vec_basic() -> Result<(), Box> { [INFO] [stdout] 850 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(vec, &vec![42, 84, 126]); [INFO] [stdout] 858 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `list_vec_complex::Person: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `list_vec_complex::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `Vec` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:868:45 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 868 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:869:22 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 869 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:871:27 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 871 | .begin_list_item()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:872:48 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 872 | .set_field("name", "Alice".to_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] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:873:33 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 873 | .set_field("age", 30u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:874:15 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 874 | .end()? // Done with first 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] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:876:27 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 876 | .begin_list_item()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:877:46 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 877 | .set_field("name", "Bob".to_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] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:878:33 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 878 | .set_field("age", 25u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:879:15 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 879 | .end()? // Done with second 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] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `list_vec_complex::Person: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:880:10 [INFO] [stdout] | [INFO] [stdout] 880 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `list_vec_complex::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] = note: required for `Vec` to implement `Facet<'_>` [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:880:17 [INFO] [stdout] | [INFO] [stdout] 861 | fn list_vec_complex() { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 880 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 861 ~ fn list_vec_complex() -> Result<(), Box> { [INFO] [stdout] 862 | #[derive(Debug, PartialEq, Clone, Facet)] [INFO] [stdout] ... [INFO] [stdout] 894 | ); [INFO] [stdout] 895 + 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] --> src/partial/tests.rs:899:45 [INFO] [stdout] | [INFO] [stdout] 898 | fn list_vec_empty() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 899 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 898 ~ fn list_vec_empty() -> Result<(), Box> { [INFO] [stdout] 899 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 904 | assert_eq!(vec, &Vec::::new()); [INFO] [stdout] 905 + 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] --> src/partial/tests.rs:900:22 [INFO] [stdout] | [INFO] [stdout] 898 | fn list_vec_empty() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 899 | let hv = Partial::alloc::>()? [INFO] [stdout] 900 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 898 ~ fn list_vec_empty() -> Result<(), Box> { [INFO] [stdout] 899 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 904 | assert_eq!(vec, &Vec::::new()); [INFO] [stdout] 905 + 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] --> src/partial/tests.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 898 | fn list_vec_empty() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 902 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 898 ~ fn list_vec_empty() -> Result<(), Box> { [INFO] [stdout] 899 | let hv = Partial::alloc::>()? [INFO] [stdout] ... [INFO] [stdout] 904 | assert_eq!(vec, &Vec::::new()); [INFO] [stdout] 905 + 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] --> src/partial/tests.rs:909:47 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:910:22 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] 910 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:912:27 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 912 | .begin_list_item()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:913:22 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 913 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:914:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 914 | .push(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] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:915:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 915 | .push(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] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:916:15 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 916 | .end()? // Done with first inner vec [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:918:27 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 918 | .begin_list_item()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:919:22 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 919 | .begin_list()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 920 | .push(3)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:921:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 921 | .push(4)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 922 | .push(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] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:923:15 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 923 | .end()? // Done with second inner vec [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + 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] --> src/partial/tests.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 908 | fn list_vec_nested() { [INFO] [stdout] | -------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 924 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 908 ~ fn list_vec_nested() -> Result<(), Box> { [INFO] [stdout] 909 | let hv = Partial::alloc::>>()? [INFO] [stdout] ... [INFO] [stdout] 926 | assert_eq!(vec, &vec![vec![1, 2], vec![3, 4, 5]]); [INFO] [stdout] 927 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:933:31 [INFO] [stdout] | [INFO] [stdout] 933 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:933:54 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 933 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:934:21 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 934 | .begin_map()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 936 | .begin_key()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:937:32 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 937 | .set("foo".to_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] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:938:15 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 938 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:939:23 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 939 | .begin_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] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:940:17 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 940 | .set(42)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:941:15 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 941 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 943 | .begin_key()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:944:32 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 944 | .set("bar".to_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] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:945:15 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 945 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 946 | .begin_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] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:947:18 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 947 | .set(123)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + 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] --> src/partial/tests.rs:948:15 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 948 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:949:10 [INFO] [stdout] | [INFO] [stdout] 949 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:949:17 [INFO] [stdout] | [INFO] [stdout] 930 | fn map_hashmap_simple() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 949 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 930 ~ fn map_hashmap_simple() -> Result<(), Box> { [INFO] [stdout] 931 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 953 | assert_eq!(map.get("bar"), Some(&123)); [INFO] [stdout] 954 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:960:31 [INFO] [stdout] | [INFO] [stdout] 960 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:960:57 [INFO] [stdout] | [INFO] [stdout] 957 | fn map_hashmap_empty() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 960 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 957 ~ fn map_hashmap_empty() -> Result<(), Box> { [INFO] [stdout] 958 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 965 | assert_eq!(map.len(), 0); [INFO] [stdout] 966 + 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] --> src/partial/tests.rs:961:21 [INFO] [stdout] | [INFO] [stdout] 957 | fn map_hashmap_empty() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 961 | .begin_map()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 957 ~ fn map_hashmap_empty() -> Result<(), Box> { [INFO] [stdout] 958 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 965 | assert_eq!(map.len(), 0); [INFO] [stdout] 966 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:963:10 [INFO] [stdout] | [INFO] [stdout] 963 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:963:17 [INFO] [stdout] | [INFO] [stdout] 957 | fn map_hashmap_empty() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 963 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 957 ~ fn map_hashmap_empty() -> Result<(), Box> { [INFO] [stdout] 958 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 965 | assert_eq!(map.len(), 0); [INFO] [stdout] 966 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:978:31 [INFO] [stdout] | [INFO] [stdout] 978 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:978:57 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 978 | let hv = Partial::alloc::>()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:979:21 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 979 | .begin_map()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:981:38 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 981 | .set_key("alice".to_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:982:23 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 982 | .begin_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:983:48 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 983 | .set_field("name", "Alice".to_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:984:33 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 984 | .set_field("age", 30u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:985:15 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 985 | .end()? // Done with 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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:987:36 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 987 | .set_key("bob".to_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:988:23 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 988 | .begin_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:989:46 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 989 | .set_field("name", "Bob".to_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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:990:33 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 990 | .set_field("age", 25u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ 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] --> src/partial/tests.rs:991:15 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 991 | .end()? // Done with 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] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:992:10 [INFO] [stdout] | [INFO] [stdout] 992 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:992:17 [INFO] [stdout] | [INFO] [stdout] 969 | fn map_hashmap_complex_values() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 992 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 969 ~ fn map_hashmap_complex_values() -> Result<(), Box> { [INFO] [stdout] 970 | use std::collections::HashMap; [INFO] [stdout] ... [INFO] [stdout] 1008| ); [INFO] [stdout] 1009+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1022:35 [INFO] [stdout] | [INFO] [stdout] 1022 | let animal = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1022:44 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1022 | let animal = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1023:37 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1023 | .select_variant_named("Dog")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1024:48 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1024 | .set_field("name", "Buddy".to_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] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1025:31 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1025 | .set_field("age", 5u8)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1026:10 [INFO] [stdout] | [INFO] [stdout] 1026 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1026 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1036:35 [INFO] [stdout] | [INFO] [stdout] 1036 | let animal = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1036:44 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1036 | let animal = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1037:37 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1037 | .select_variant_named("Cat")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1038:51 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1038 | .set_field("name", "Whiskers".to_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] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1039:33 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1039 | .set_field("lives", 9u8)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1040:10 [INFO] [stdout] | [INFO] [stdout] 1040 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1040 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1050:35 [INFO] [stdout] | [INFO] [stdout] 1050 | let animal = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1050:44 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1050 | let animal = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1051:38 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1051 | .select_variant_named("Bird")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + 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] --> src/partial/tests.rs:1052:52 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1052 | .set_field("species", "Parrot".to_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] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1053:10 [INFO] [stdout] | [INFO] [stdout] 1053 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1053 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1062:40 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1062:49 [INFO] [stdout] | [INFO] [stdout] 1012 | fn variant_named() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1062 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1012 ~ fn variant_named() -> Result<(), Box> { [INFO] [stdout] 1013 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1070 | ); [INFO] [stdout] 1071 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_struct::Person: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1082:35 [INFO] [stdout] | [INFO] [stdout] 1082 | let person = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_struct::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1082:44 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1082 | let person = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1084:30 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1084 | .begin_field("email")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1085:45 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1085 | .set("john@example.com".to_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] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1086:15 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1086 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1087:29 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1087 | .begin_field("name")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1088:37 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1088 | .set("John Doe".to_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] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1089:15 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1089 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1090:28 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1090 | .begin_field("age")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1091:20 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1091 | .set(30u32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + 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] --> src/partial/tests.rs:1092:15 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1092 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_struct::Person: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1093:10 [INFO] [stdout] | [INFO] [stdout] 1093 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_struct::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:1093:17 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1093 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_struct::Person: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1104:40 [INFO] [stdout] | [INFO] [stdout] 1104 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_struct::Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1104:49 [INFO] [stdout] | [INFO] [stdout] 1074 | fn field_named_on_struct() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1104 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1074 ~ fn field_named_on_struct() -> Result<(), Box> { [INFO] [stdout] 1075 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1107 | assert!(result.unwrap_err().to_string().contains("field not found")); [INFO] [stdout] 1108 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_enum::Config: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1121:35 [INFO] [stdout] | [INFO] [stdout] 1121 | let config = Partial::alloc::()? [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_enum::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1121:44 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1121 | let config = Partial::alloc::()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + 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] --> src/partial/tests.rs:1122:40 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1122 | .select_variant_named("Server")? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + 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] --> src/partial/tests.rs:1123:36 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1123 | .set_field("port", 8080u16)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + 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] --> src/partial/tests.rs:1124:52 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1124 | .set_field("host", "localhost".to_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] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + 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] --> src/partial/tests.rs:1125:32 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1125 | .set_field("tls", 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] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_enum::Config: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1126:10 [INFO] [stdout] | [INFO] [stdout] 1126 | .build()?; [INFO] [stdout] | ^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_enum::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::build` [INFO] [stdout] --> src/partial/mod.rs:2802:12 [INFO] [stdout] | [INFO] [stdout] 2800 | pub fn build(&mut self) -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 2801 | where [INFO] [stdout] 2802 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::build` [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] --> src/partial/tests.rs:1126:17 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1126 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `field_named_on_enum::Config: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1138:40 [INFO] [stdout] | [INFO] [stdout] 1138 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^^^^^^ the trait `Facet<'_>` is not implemented for `field_named_on_enum::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1138:49 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1138 | let mut partial = Partial::alloc::()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + 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] --> src/partial/tests.rs:1139:43 [INFO] [stdout] | [INFO] [stdout] 1111 | fn field_named_on_enum() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1139 | partial.select_variant_named("Client")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1111 ~ fn field_named_on_enum() -> Result<(), Box> { [INFO] [stdout] 1112 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 1147 | ); [INFO] [stdout] 1148 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HashMap: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1171:44 [INFO] [stdout] | [INFO] [stdout] 1171 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `HashMap` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `Partial::<'facet, 'shape>::alloc` [INFO] [stdout] --> src/partial/mod.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn alloc() -> Result, ReflectError<'shape>> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 445 | where [INFO] [stdout] 446 | T: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Partial::<'facet, 'shape>::alloc` [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] --> src/partial/tests.rs:1171:75 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1171 | let mut partial = Partial::alloc::>()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1173:25 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1173 | .begin_map()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1175:25 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1175 | .begin_key()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1176:38 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1176 | .set("first".to_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] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1177:19 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1177 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1178:27 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1178 | .begin_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] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `map_partial_initialization_drop::DropTracker: Facet<'_>` is not satisfied [INFO] [stdout] --> src/partial/tests.rs:1179:18 [INFO] [stdout] | [INFO] [stdout] 1179 | .set(DropTracker { id: 1 })? [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `map_partial_initialization_drop::DropTracker` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `TypedPartial::<'facet, 'shape, T>::set` [INFO] [stdout] --> src/partial/mod.rs:2824:12 [INFO] [stdout] | [INFO] [stdout] 2822 | pub fn set(&mut self, value: U) -> Result<&mut Self, ReflectError<'shape>> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 2823 | where [INFO] [stdout] 2824 | U: Facet<'facet>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `TypedPartial::<'facet, 'shape, T>::set` [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] --> src/partial/tests.rs:1179:40 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1179 | .set(DropTracker { id: 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] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1180:19 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1180 | .end()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1182:25 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1182 | .begin_key()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1183:39 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1183 | .set("second".to_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] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1184:19 [INFO] [stdout] | [INFO] [stdout] 1151 | fn map_partial_initialization_drop() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1184 | .end()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1151 ~ fn map_partial_initialization_drop() -> Result<(), Box> { [INFO] [stdout] 1152 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] ... [INFO] [stdout] 1194 | ); [INFO] [stdout] 1195 + 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] --> src/partial/tests.rs:1200:50 [INFO] [stdout] | [INFO] [stdout] 1198 | fn tuple_basic() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1199 | // Test building a simple tuple [INFO] [stdout] 1200 | let boxed = Partial::alloc::<(i32, 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] 1198 ~ fn tuple_basic() -> Result<(), Box> { [INFO] [stdout] 1199 | // Test building a simple tuple [INFO] [stdout] ... [INFO] [stdout] 1204 | assert_eq!(*boxed, (42, "hello".to_string())); [INFO] [stdout] 1205 + 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] --> src/partial/tests.rs:1201:33 [INFO] [stdout] | [INFO] [stdout] 1198 | fn tuple_basic() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1201 | .set_nth_field(0, 42i32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1198 ~ fn tuple_basic() -> Result<(), Box> { [INFO] [stdout] 1199 | // Test building a simple tuple [INFO] [stdout] ... [INFO] [stdout] 1204 | assert_eq!(*boxed, (42, "hello".to_string())); [INFO] [stdout] 1205 + 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] --> src/partial/tests.rs:1202:47 [INFO] [stdout] | [INFO] [stdout] 1198 | fn tuple_basic() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1202 | .set_nth_field(1, "hello".to_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] 1198 ~ fn tuple_basic() -> Result<(), Box> { [INFO] [stdout] 1199 | // Test building a simple tuple [INFO] [stdout] ... [INFO] [stdout] 1204 | assert_eq!(*boxed, (42, "hello".to_string())); [INFO] [stdout] 1205 + 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] --> src/partial/tests.rs:1203:17 [INFO] [stdout] | [INFO] [stdout] 1198 | fn tuple_basic() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1203 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1198 ~ fn tuple_basic() -> Result<(), Box> { [INFO] [stdout] 1199 | // Test building a simple tuple [INFO] [stdout] ... [INFO] [stdout] 1204 | assert_eq!(*boxed, (42, "hello".to_string())); [INFO] [stdout] 1205 + 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] --> src/partial/tests.rs:1210:60 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] 1210 | let boxed = Partial::alloc::<(u8, bool, f64, 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] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1212:37 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1212 | .set_nth_field(2, 56.124f64)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1213:33 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1213 | .set_nth_field(0, 255u8)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1214:47 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1214 | .set_nth_field(3, "world".to_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] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1215:32 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1215 | .set_nth_field(1, 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] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1216:17 [INFO] [stdout] | [INFO] [stdout] 1208 | fn tuple_mixed_types() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1216 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1208 ~ fn tuple_mixed_types() -> Result<(), Box> { [INFO] [stdout] 1209 | // Test building a tuple with more diverse types [INFO] [stdout] ... [INFO] [stdout] 1217 | assert_eq!(*boxed, (255u8, true, 56.124f64, "world".to_string())); [INFO] [stdout] 1218 + 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] --> src/partial/tests.rs:1223:57 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] 1223 | let boxed = Partial::alloc::<((i32, i32), 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] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1225:28 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1225 | .begin_nth_field(0)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1226:32 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1226 | .set_nth_field(0, 1i32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1227:32 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1227 | .set_nth_field(1, 2i32)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1228:15 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1228 | .end()? // Pop out of the nested tuple [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1230:48 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1230 | .set_nth_field(1, "nested".to_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] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1231:17 [INFO] [stdout] | [INFO] [stdout] 1221 | fn tuple_nested() { [INFO] [stdout] | ----------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 1231 | .build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1221 ~ fn tuple_nested() -> Result<(), Box> { [INFO] [stdout] 1222 | // Test nested tuples [INFO] [stdout] ... [INFO] [stdout] 1232 | assert_eq!(*boxed, ((1, 2), "nested".to_string())); [INFO] [stdout] 1233 + 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] --> src/partial/tests.rs:1238:39 [INFO] [stdout] | [INFO] [stdout] 1236 | fn tuple_empty() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1236 ~ fn tuple_empty() -> Result<(), Box> { [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] 1239 | assert_eq!(*boxed, ()); [INFO] [stdout] 1240 + 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] --> src/partial/tests.rs:1238:48 [INFO] [stdout] | [INFO] [stdout] 1236 | fn tuple_empty() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1236 ~ fn tuple_empty() -> Result<(), Box> { [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] 1239 | assert_eq!(*boxed, ()); [INFO] [stdout] 1240 + 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] --> src/partial/tests.rs:1238:57 [INFO] [stdout] | [INFO] [stdout] 1236 | fn tuple_empty() { [INFO] [stdout] | ---------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 1236 ~ fn tuple_empty() -> Result<(), Box> { [INFO] [stdout] 1237 | // Test empty tuple (unit type) [INFO] [stdout] 1238 | let boxed = Partial::alloc::<()>()?.set(())?.build()?; [INFO] [stdout] 1239 | assert_eq!(*boxed, ()); [INFO] [stdout] 1240 + Ok(()) [INFO] [stdout] | [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] [stderr] error: could not compile `facet-reflect` (lib test) due to 332 previous errors [INFO] running `Command { std: "docker" "inspect" "b9da19eaff4f8a9b4a684c57437f2021a7052e71d765fd0ddbe17e186f77dbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9da19eaff4f8a9b4a684c57437f2021a7052e71d765fd0ddbe17e186f77dbc7", kill_on_drop: false }` [INFO] [stdout] b9da19eaff4f8a9b4a684c57437f2021a7052e71d765fd0ddbe17e186f77dbc7