[INFO] fetching crate facet-json 0.24.16... [INFO] checking facet-json-0.24.16 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate facet-json 0.24.16 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate facet-json 0.24.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-json 0.24.16 [INFO] tweaked toml for crates.io crate facet-json 0.24.16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-json 0.24.16 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate facet-json 0.24.16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded facet-serialize v0.24.16 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] [stderr] Downloaded ariadne v0.5.1 [INFO] [stderr] Downloaded facet-core v0.27.15 [INFO] [stderr] Downloaded facet-reflect v0.27.15 [INFO] [stderr] Downloaded facet-deserialize v0.24.21 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b023a4bc161b8e7fbfce41e95165773050cc3ba55a5ff85cc4bbed73c75b6c1 [INFO] running `Command { std: "docker" "start" "-a" "1b023a4bc161b8e7fbfce41e95165773050cc3ba55a5ff85cc4bbed73c75b6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b023a4bc161b8e7fbfce41e95165773050cc3ba55a5ff85cc4bbed73c75b6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b023a4bc161b8e7fbfce41e95165773050cc3ba55a5ff85cc4bbed73c75b6c1", kill_on_drop: false }` [INFO] [stdout] 1b023a4bc161b8e7fbfce41e95165773050cc3ba55a5ff85cc4bbed73c75b6c1 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0365ec5f44c04c3a7d2212f9291ccacef94bcaf96af910221b1e35c07afd1119 [INFO] running `Command { std: "docker" "start" "-a" "0365ec5f44c04c3a7d2212f9291ccacef94bcaf96af910221b1e35c07afd1119", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking impls v1.0.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking facet-core v0.27.15 [INFO] [stderr] Checking facet-reflect v0.27.15 [INFO] [stderr] Checking facet-serialize v0.24.16 [INFO] [stderr] Checking facet-deserialize v0.24.21 [INFO] [stderr] Checking facet-json v0.24.16 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/ordered-float.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/ordered-float.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/bool.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/bool.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/rename.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/rename.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: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:459:11 [INFO] [stdout] | [INFO] [stdout] 459 | #[facet(rename = "")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:439:11 [INFO] [stdout] | [INFO] [stdout] 439 | #[facet(rename = "b")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/bool.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 6 | fn json_read_bool() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | let s: BoolStruct = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 6 ~ fn json_read_bool() -> Result<(), Box> { [INFO] [stdout] 7 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 22 | ); [INFO] [stdout] 23 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BoolStruct: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/bool.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let s: BoolStruct = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `BoolStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/eof_and_nulls.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/eof_and_nulls.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: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | #[facet(rename = "c")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:416:11 [INFO] [stdout] | [INFO] [stdout] 416 | #[facet(rename = "renamedField")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | #[facet(rename = "data")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | #[facet(rename = "userId")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | #[facet(rename = "userName")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | #[facet(rename = "requiredField")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[facet(rename = "optionalString")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 331 | #[facet(rename = "optionalNumber")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[facet(rename = "streetName")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[facet(rename = "zipCode")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[facet(rename = "fullName")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[facet(rename = "homeAddress")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[facet(rename = "contactInfo")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | #[facet(rename = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | #[facet(rename = "value")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[facet(rename = "success")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | #[facet(rename = "message")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | #[facet(rename = "code")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[facet(rename = "error")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | #[facet(rename = "errorMessage")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | #[facet(rename = "errorCode")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | #[facet(rename = "lime")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | #[facet(rename = "cyan")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[facet(rename = "123")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | #[facet(rename = "€℮↑→↓↔↕")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[facet(rename = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | #[facet(rename = "match")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[facet(rename = "🏀")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[facet(rename = "@#$%^&")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[facet(rename = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[facet(rename = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[facet(rename = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[facet(rename = "bonjour")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[facet(rename = "bonjour")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/rename.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[facet(rename = "au_revoir")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleObject: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/eof_and_nulls.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let result = from_str::("{"); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleObject` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleObject: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/eof_and_nulls.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let result = from_str::("{\"key\""); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleObject` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleObject: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/eof_and_nulls.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let result = from_str::("{\"key\":"); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleObject` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionalStruct: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/eof_and_nulls.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let ok = from_str::(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `OptionalStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/eof_and_nulls.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_null_handling() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 89 | let ok = from_str::(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 73 ~ fn test_null_handling() -> Result<(), Box> { [INFO] [stdout] 74 | // Test with invalid null value [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(ok.val, None); [INFO] [stdout] 91 + 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] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/ordered-float.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[facet(transparent)] [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] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/rename.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 9 | fn test_field_rename_deserialization() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 21 | let result: Greetings = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 9 ~ fn test_field_rename_deserialization() -> Result<(), Box> { [INFO] [stdout] 10 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(result.goodbye, "world"); [INFO] [stdout] 25 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/ordered-float.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[facet(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_deserialization::Greetings: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let result: Greetings = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_deserialization::Greetings` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_testhelpers` [INFO] [stdout] --> tests/tuple.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[E0433]: failed to resolve: use of unresolved module or unlinked crate `facet` [INFO] [stdout] --> tests/tuple.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(facet::Facet)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_roundtrip::Greetings: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let json = to_string(&original); [INFO] [stdout] | --------- ^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_roundtrip::Greetings` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/tenant-config.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/tenant-config.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[E0277]: the trait bound `test_field_rename_roundtrip::Greetings: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let roundtrip: Greetings = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_roundtrip::Greetings` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-json` (test "eof_and_nulls") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/rename.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 49 | fn test_field_rename_common_case_styles() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 64 | let result: SpecialNames = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 49 ~ fn test_field_rename_common_case_styles() -> Result<(), Box> { [INFO] [stdout] 50 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(result.camel_case, "hump"); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpecialNames: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | let result: SpecialNames = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SpecialNames` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/simple_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpecialCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let json = to_string(&test_struct); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SpecialCharsName` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpecialCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | let roundtrip: SpecialCharsName = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SpecialCharsName` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_with_unicode_name_emoji::EmojiCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let json = to_string(&test_struct); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_with_unicode_name_emoji::EmojiCharsName` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-json` (test "bool") due to 4 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_with_unicode_name_emoji::EmojiCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let roundtrip: EmojiCharsName = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_with_unicode_name_emoji::EmojiCharsName` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/chrono.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/chrono.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[E0277]: the trait bound `RawIdentifiers: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let json = to_string(&original); [INFO] [stdout] | --------- ^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `RawIdentifiers` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/ordered-float.rs:16:93 [INFO] [stdout] | [INFO] [stdout] 11 | fn transparent_ordered_float_1() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | let deser: PixelDensity = facet_json::from_str(r#"1.4"#).map_err(|e| eyre::eyre!("{e}"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 11 ~ fn transparent_ordered_float_1() -> Result<(), Box> { [INFO] [stdout] 12 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 17 | assert_eq!(deser.0, 1.4); [INFO] [stdout] 18 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RawIdentifiers: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let roundtrip: RawIdentifiers = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `RawIdentifiers` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_with_unicode_name_special_signs::EmojiCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | let json = to_string(&test_struct); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_with_unicode_name_special_signs::EmojiCharsName` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_field_rename_with_unicode_name_special_signs::EmojiCharsName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | let roundtrip: EmojiCharsName = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_field_rename_with_unicode_name_special_signs::EmojiCharsName` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NumericName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let json = to_string(&test_struct); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `NumericName` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 5 | fn test_deserialize_tuple_string() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 6 | let ok: (String,) = from_str(r#"[""]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 5 ~ fn test_deserialize_tuple_string() -> Result<(), Box> { [INFO] [stdout] 6 | let ok: (String,) = from_str(r#"[""]"#)?; [INFO] [stdout] ... [INFO] [stdout] 17| assert_eq!(ok.2, "🐑🐑🐑"); [INFO] [stdout] 18+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NumericName: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let roundtrip: NumericName = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `NumericName` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let json = to_string(&green); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Color` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:193:28 [INFO] [stdout] | [INFO] [stdout] 193 | let roundtrip: Color = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Color` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:9:76 [INFO] [stdout] | [INFO] [stdout] 5 | fn test_deserialize_tuple_string() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let ok: (String, String, String) = from_str(r#"["un","deux","trois"]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 5 ~ fn test_deserialize_tuple_string() -> Result<(), Box> { [INFO] [stdout] 6 | let ok: (String,) = from_str(r#"[""]"#)?; [INFO] [stdout] ... [INFO] [stdout] 17| assert_eq!(ok.2, "🐑🐑🐑"); [INFO] [stdout] 18+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | let json = to_string(&blue); [INFO] [stdout] | --------- ^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Color` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `transparent_ordered_float_1::PixelDensity: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/ordered-float.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let deser: PixelDensity = facet_json::from_str(r#"1.4"#).map_err(|e| eyre::eyre!("{e}"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `transparent_ordered_float_1::PixelDensity` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let roundtrip: Color = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Color` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 5 | fn test_deserialize_tuple_string() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | let ok: (String, String, String) = from_str(r#"["🐑","🐑🐑","🐑🐑🐑"]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 5 ~ fn test_deserialize_tuple_string() -> Result<(), Box> { [INFO] [stdout] 6 | let ok: (String,) = from_str(r#"[""]"#)?; [INFO] [stdout] ... [INFO] [stdout] 17 | assert_eq!(ok.2, "🐑🐑🐑"); [INFO] [stdout] 18 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/tenant-config.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[facet(optional)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | let json = to_string(&success); [INFO] [stdout] | --------- ^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | let roundtrip: Message = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Message` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | let json = to_string(&error); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/ordered-float.rs:24:93 [INFO] [stdout] | [INFO] [stdout] 21 | fn transparent_ordered_float_2() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 24 | let deser: PixelDensity = facet_json::from_str(r#"1.4"#).map_err(|e| eyre::eyre!("{e}"))?; [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 transparent_ordered_float_2() -> Result<(), Box> { [INFO] [stdout] 22 | type PixelDensity = OrderedFloat; [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(deser.0, 1.4); [INFO] [stdout] 26 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_deserialize_tuple_i32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[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] 21 ~ fn test_deserialize_tuple_i32() -> Result<(), Box> { [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 42 | assert_eq!(ok.1, 0); [INFO] [stdout] 43 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/ordered-float.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 29 | fn transparent_ordered_float_3() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 34 | let deser: PixelDensity = facet_json::from_str(r#"1.4"#).map_err(|e| eyre::eyre!("{e}"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 29 ~ fn transparent_ordered_float_3() -> Result<(), Box> { [INFO] [stdout] 30 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(deser.0, OrderedFloat(1.4)); [INFO] [stdout] 36 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | let roundtrip: Message = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Message` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_deserialize_tuple_i32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | let ok: (i32, i32) = from_str(r#"[10,20]"#)?; [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 test_deserialize_tuple_i32() -> Result<(), Box> { [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 42 | assert_eq!(ok.1, 0); [INFO] [stdout] 43 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `transparent_ordered_float_3::PixelDensity: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/ordered-float.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let deser: PixelDensity = facet_json::from_str(r#"1.4"#).map_err(|e| eyre::eyre!("{e}"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `transparent_ordered_float_3::PixelDensity` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | let json = to_string(&person); [INFO] [stdout] | --------- ^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Person` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_deserialize_tuple_i32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 29 | let ok: (i32, i32, i32) = from_str(r#"[10,20,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] 21 ~ fn test_deserialize_tuple_i32() -> Result<(), Box> { [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 42 | assert_eq!(ok.1, 0); [INFO] [stdout] 43 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | let roundtrip: Person = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Person` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_deserialize_tuple_i32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 34 | let ok: (i32, i32, i32, i32) = from_str(r#"[10,20,30,40]"#)?; [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 test_deserialize_tuple_i32() -> Result<(), Box> { [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 42 | assert_eq!(ok.1, 0); [INFO] [stdout] 43 + 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-json` (test "ordered-float") due to 9 previous errors [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_deserialize_tuple_i32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 40 | let ok: (i32, i32) = from_str(r#"[-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] 21 ~ fn test_deserialize_tuple_i32() -> Result<(), Box> { [INFO] [stdout] 22 | let ok: (i32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 42 | assert_eq!(ok.1, 0); [INFO] [stdout] 43 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionalFields: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | let json = to_string(&full); [INFO] [stdout] | --------- ^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `OptionalFields` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_deserialize_tuple_f32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[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] 46 ~ fn test_deserialize_tuple_f32() -> Result<(), Box> { [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(ok.1, 0.0); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionalFields: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | let roundtrip: OptionalFields = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `OptionalFields` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TenantConfig: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/tenant-config.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let result = from_str::>(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `TenantConfig` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] = note: required for `Vec` to implement `facet_core::Facet<'_>` [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_deserialize_tuple_f32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 50 | let ok: (f32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 46 ~ fn test_deserialize_tuple_f32() -> Result<(), Box> { [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(ok.1, 0.0); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_deserialize_tuple_f32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 54 | let ok: (f32, f32, f32) = from_str(r#"[10,20,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] 46 ~ fn test_deserialize_tuple_f32() -> Result<(), Box> { [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(ok.1, 0.0); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionalFields: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 358 | let json = to_string(&partial); [INFO] [stdout] | --------- ^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `OptionalFields` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_deserialize_tuple_f32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 59 | let ok: (f32, f32, f32, f32) = from_str(r#"[10,20,30,40]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 46 ~ fn test_deserialize_tuple_f32() -> Result<(), Box> { [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(ok.1, 0.0); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_deserialize_tuple_f32() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 65 | let ok: (f32, f32) = from_str(r#"[-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] 46 ~ fn test_deserialize_tuple_f32() -> Result<(), Box> { [INFO] [stdout] 47 | let ok: (f32,) = from_str(r#"[10]"#)?; [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(ok.1, 0.0); [INFO] [stdout] 68 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OptionalFields: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | let roundtrip: OptionalFields = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `OptionalFields` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 71 | fn test_deserialize_tuple_mixed_string_i32() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 72 | let ok: (String, i32) = from_str(r#"["aaa",100]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 71 ~ fn test_deserialize_tuple_mixed_string_i32() -> Result<(), Box> { [INFO] [stdout] 72 | let ok: (String, i32) = from_str(r#"["aaa",100]"#)?; [INFO] [stdout] 73 | assert_eq!(ok.0, "aaa"); [INFO] [stdout] 74 | assert_eq!(ok.1, 100); [INFO] [stdout] 75 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_chrono_datetime_utc() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 7 ~ fn read_chrono_datetime_utc() -> Result<(), Box> { [INFO] [stdout] 8 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 21 | ); [INFO] [stdout] 22 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleArray: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple_array.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let result = from_str::(json); [INFO] [stdout] | ^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleArray` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-json` (test "tenant-config") due to 4 previous errors [INFO] [stdout] error[E0277]: the trait bound `User: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let user: User = facet_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 78 | fn test_deserialize_tuple_mixed_i32_f32() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 79 | let ok: (i32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 78 ~ fn test_deserialize_tuple_mixed_i32_f32() -> Result<(), Box> { [INFO] [stdout] 79 | let ok: (i32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(ok.3, 40); [INFO] [stdout] 97 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 78 | fn test_deserialize_tuple_mixed_i32_f32() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 83 | let ok: (f32, i32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 78 ~ fn test_deserialize_tuple_mixed_i32_f32() -> Result<(), Box> { [INFO] [stdout] 79 | let ok: (i32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(ok.3, 40); [INFO] [stdout] 97 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 78 | fn test_deserialize_tuple_mixed_i32_f32() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 87 | let ok: (i32, f32, i32) = from_str(r#"[10,20,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] 78 ~ fn test_deserialize_tuple_mixed_i32_f32() -> Result<(), Box> { [INFO] [stdout] 79 | let ok: (i32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(ok.3, 40); [INFO] [stdout] 97 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 78 | fn test_deserialize_tuple_mixed_i32_f32() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | let ok: (f32, i32, f32, i32) = from_str(r#"[10,20,30,40]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 78 ~ fn test_deserialize_tuple_mixed_i32_f32() -> Result<(), Box> { [INFO] [stdout] 79 | let ok: (i32, f32) = from_str(r#"[10,20]"#)?; [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(ok.3, 40); [INFO] [stdout] 97 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 100 | fn test_deserialize_tuple_empty_simple() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 101 | let _ok: () = from_str(r#"[]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 100 ~ fn test_deserialize_tuple_empty_simple() -> Result<(), Box> { [INFO] [stdout] 101 | let _ok: () = from_str(r#"[]"#)?; [INFO] [stdout] 102 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DataModel: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | let json = to_string(&model); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `DataModel` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 105 | fn test_deserialize_tuple_empty_nest() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 106 | let _ok: ((),) = from_str(r#"[[]]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 105 ~ fn test_deserialize_tuple_empty_nest() -> Result<(), Box> { [INFO] [stdout] 106 | let _ok: ((),) = from_str(r#"[[]]"#)?; [INFO] [stdout] 107 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 110 | fn test_deserialize_tuple_empty_nests() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 111 | let _ok: ((), ()) = from_str(r#"[[],[]]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 110 ~ fn test_deserialize_tuple_empty_nests() -> Result<(), Box> { [INFO] [stdout] 111 | let _ok: ((), ()) = from_str(r#"[[],[]]"#)?; [INFO] [stdout] 112 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_datetime_utc::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_datetime_utc::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleArray: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple_array.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let result = from_str::(json); [INFO] [stdout] | ^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `SimpleArray` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:116:54 [INFO] [stdout] | [INFO] [stdout] 115 | fn test_deserialize_tuple_nest() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 116 | let ok: ((String,),) = from_str(r#"[["hello"]]"#)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 115 ~ fn test_deserialize_tuple_nest() -> Result<(), Box> { [INFO] [stdout] 116 | let ok: ((String,),) = from_str(r#"[["hello"]]"#)?; [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(ok.1.2, "3"); [INFO] [stdout] 127 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/tuple.rs:122:88 [INFO] [stdout] | [INFO] [stdout] 115 | fn test_deserialize_tuple_nest() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 122 | let ok: (String1Tuple, IntFloatString3Tuple) = from_str(r#"[["hello"],[1,2,"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] 115 ~ fn test_deserialize_tuple_nest() -> Result<(), Box> { [INFO] [stdout] 116 | let ok: ((String,),) = from_str(r#"[["hello"]]"#)?; [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(ok.1.2, "3"); [INFO] [stdout] 127 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Required: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | let result = facet_json::from_str::(json); [INFO] [stdout] | ^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Required` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTuple: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/tuple.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let json = to_string(&test_tuple2); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `TestTuple` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_chrono_datetime_fixed_offset() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 33 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 25 ~ fn read_chrono_datetime_fixed_offset() -> Result<(), Box> { [INFO] [stdout] 26 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 42 | ); [INFO] [stdout] 43 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-json` (test "tuple") due to 26 previous errors [INFO] [stdout] error[E0277]: the trait bound `NestedArraySimple: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple_array.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let result = from_str::(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `NestedArraySimple` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_datetime_fixed_offset::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_datetime_fixed_offset::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn read_chrono_naive_datetime() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 54 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 46 ~ fn read_chrono_naive_datetime() -> Result<(), Box> { [INFO] [stdout] 47 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 63 | ); [INFO] [stdout] 64 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/rename.rs:448:43 [INFO] [stdout] | [INFO] [stdout] 436 | fn test_field_rename_not_alias() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 448 | let result: ABTesting = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 436 ~ fn test_field_rename_not_alias() -> Result<(), Box> { [INFO] [stdout] 437 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 451 | assert_eq!(result.b, "focus group 2"); [INFO] [stdout] 452 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ABTesting: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | let result: ABTesting = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `ABTesting` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_naive_datetime::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_naive_datetime::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyStringField: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:471:26 [INFO] [stdout] | [INFO] [stdout] 471 | let json = to_string(&test_struct); [INFO] [stdout] | --------- ^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `EmptyStringField` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn read_chrono_naive_date() { [INFO] [stdout] | --------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 75 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn read_chrono_naive_date() -> Result<(), Box> { [INFO] [stdout] 68 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 81 | ); [INFO] [stdout] 82 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmptyStringField: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/rename.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 474 | let roundtrip: EmptyStringField = from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `EmptyStringField` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_naive_date::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_naive_date::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn read_chrono_naive_time() { [INFO] [stdout] | --------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 85 ~ fn read_chrono_naive_time() -> Result<(), Box> { [INFO] [stdout] 86 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 99 | ); [INFO] [stdout] 100+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_naive_time::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_naive_time::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `write_chrono_datetime_utc::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | let json = to_string(&value); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `write_chrono_datetime_utc::FooBar` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-json` (test "simple_array") due to 4 previous errors [INFO] [stderr] error: could not compile `facet-json` (test "rename") due to 76 previous errors [INFO] [stdout] error[E0277]: the trait bound `write_chrono_datetime_fixed_offset::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let json = to_string(&value); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `write_chrono_datetime_fixed_offset::FooBar` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `write_chrono_naive_datetime::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | let json = to_string(&value); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `write_chrono_naive_datetime::FooBar` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `write_chrono_naive_date::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | let json = to_string(&value); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `write_chrono_naive_date::FooBar` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `write_chrono_naive_time::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | let json = to_string(&value); [INFO] [stdout] | --------- ^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `write_chrono_naive_time::FooBar` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 182 | fn read_chrono_optional_datetime() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 191 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 182 ~ fn read_chrono_optional_datetime() -> Result<(), Box> { [INFO] [stdout] 183 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 198 | ); [INFO] [stdout] 199 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `read_chrono_optional_datetime::FooBar: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let s: FooBar = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `read_chrono_optional_datetime::FooBar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/chrono.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 202 | fn chrono_in_vec() { [INFO] [stdout] | ------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 210 | let events: Events = from_str(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 202 ~ fn chrono_in_vec() -> Result<(), Box> { [INFO] [stdout] 203 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 222 | assert_eq!(serialized, json); [INFO] [stdout] 223 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Events: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let events: Events = from_str(json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Events` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/deserialize.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_str<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Events: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/chrono.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let serialized = to_string(&events); [INFO] [stdout] | --------- ^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `Events` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 86 others [INFO] [stdout] note: required by a bound in `facet_json::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_string<'facet, T: Facet<'facet>>(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `to_string` [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-json` (test "chrono") due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "0365ec5f44c04c3a7d2212f9291ccacef94bcaf96af910221b1e35c07afd1119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0365ec5f44c04c3a7d2212f9291ccacef94bcaf96af910221b1e35c07afd1119", kill_on_drop: false }` [INFO] [stdout] 0365ec5f44c04c3a7d2212f9291ccacef94bcaf96af910221b1e35c07afd1119