[INFO] fetching crate facet-urlencoded 0.23.22... [INFO] testing facet-urlencoded-0.23.22 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate facet-urlencoded 0.23.22 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate facet-urlencoded 0.23.22 [INFO] finished tweaking crates.io crate facet-urlencoded 0.23.22 [INFO] tweaked toml for crates.io crate facet-urlencoded 0.23.22 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-urlencoded 0.23.22 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate facet-urlencoded 0.23.22 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded facet-core v0.27.15 [INFO] [stderr] Downloaded facet-reflect v0.27.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60254605aa6795d85a8b86077ca049135dc294d07f066b04eb8aafd3dcbab037 [INFO] running `Command { std: "docker" "start" "-a" "60254605aa6795d85a8b86077ca049135dc294d07f066b04eb8aafd3dcbab037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60254605aa6795d85a8b86077ca049135dc294d07f066b04eb8aafd3dcbab037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60254605aa6795d85a8b86077ca049135dc294d07f066b04eb8aafd3dcbab037", kill_on_drop: false }` [INFO] [stdout] 60254605aa6795d85a8b86077ca049135dc294d07f066b04eb8aafd3dcbab037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3accffa66a3fe4cbbeedb6275496b978a20d022d4ba6ae749efa39f2f2d59923 [INFO] running `Command { std: "docker" "start" "-a" "3accffa66a3fe4cbbeedb6275496b978a20d022d4ba6ae749efa39f2f2d59923", kill_on_drop: false }` [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling facet-reflect v0.27.15 [INFO] [stderr] Compiling facet-urlencoded v0.23.22 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "3accffa66a3fe4cbbeedb6275496b978a20d022d4ba6ae749efa39f2f2d59923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3accffa66a3fe4cbbeedb6275496b978a20d022d4ba6ae749efa39f2f2d59923", kill_on_drop: false }` [INFO] [stdout] 3accffa66a3fe4cbbeedb6275496b978a20d022d4ba6ae749efa39f2f2d59923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf331442cb168269c84a93cda12319113c75875b6ea287ae4e510a55a8cf5bb5 [INFO] running `Command { std: "docker" "start" "-a" "bf331442cb168269c84a93cda12319113c75875b6ea287ae4e510a55a8cf5bb5", kill_on_drop: false }` [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling facet-urlencoded v0.23.22 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/tests.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] --> src/tests.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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/tests.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 33 | fn test_basic_urlencoded() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 36 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 33 ~ fn test_basic_urlencoded() -> Result<(), Box> { [INFO] [stdout] 34 | let query_string = "query=rust+programming&page=2"; [INFO] [stdout] ... [INFO] [stdout] 43 | ); [INFO] [stdout] 44 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SearchParams: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `SearchParams` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, 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] --> src/tests.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 47 | fn test_encoded_characters() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 50 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 47 ~ fn test_encoded_characters() -> Result<(), Box> { [INFO] [stdout] 48 | let query_string = "query=rust%20programming%21&page=3"; [INFO] [stdout] ... [INFO] [stdout] 57 | ); [INFO] [stdout] 58 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SearchParams: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `SearchParams` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestStruct: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | let result = from_str::(query_string); [INFO] [stdout] | ^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `TestStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, 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] --> src/tests.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 90 | fn test_unknown_field() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 90 ~ fn test_unknown_field() -> Result<(), Box> { [INFO] [stdout] 91 | let query_string = "query=rust+programming&page=2&unknown=value"; [INFO] [stdout] ... [INFO] [stdout] 100| ); [INFO] [stdout] 101+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SearchParams: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let params: SearchParams = from_str(query_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `SearchParams` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SearchParams: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let result = from_str::(query_string); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `SearchParams` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, 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] --> src/tests.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 122 | fn test_nested_struct() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 125 | let order: OrderForm = from_str(query_string)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 122 ~ fn test_nested_struct() -> Result<(), Box> { [INFO] [stdout] 123 | let query_string = "user[name]=John+Doe&user[age]=30&user[address][street]=123+Main+St&user[address][city]=Anytown&user[address][zip]=12345&product_id=ABC123&quantity=2"; [INFO] [stdout] ... [INFO] [stdout] 142 | ); [INFO] [stdout] 143 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OrderForm: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let order: OrderForm = from_str(query_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `OrderForm` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OrderForm: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | let result = from_str::(query_string); [INFO] [stdout] | ^^^^^^^^^ the trait `Facet<'_>` is not implemented for `OrderForm` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, 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] --> src/tests.rs:199:53 [INFO] [stdout] | [INFO] [stdout] 170 | fn test_deep_nesting() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 199 | let deep_test: DeepTest = from_str(query_string)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 170 ~ fn test_deep_nesting() -> Result<(), Box> { [INFO] [stdout] 171 | let query_string = "very[very][deeply][nested][field]=value&simple=data"; [INFO] [stdout] ... [INFO] [stdout] 215 | ); [INFO] [stdout] 216 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeepTest: Facet<'_>` is not satisfied [INFO] [stdout] --> src/tests.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | let deep_test: DeepTest = from_str(query_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Facet<'_>` is not implemented for `DeepTest` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Facet<'a>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_str` [INFO] [stdout] --> src/lib.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_str<'input: 'facet, 'facet, 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] [stderr] error: could not compile `facet-urlencoded` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "bf331442cb168269c84a93cda12319113c75875b6ea287ae4e510a55a8cf5bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf331442cb168269c84a93cda12319113c75875b6ea287ae4e510a55a8cf5bb5", kill_on_drop: false }` [INFO] [stdout] bf331442cb168269c84a93cda12319113c75875b6ea287ae4e510a55a8cf5bb5