[INFO] fetching crate facet-args 0.19.17... [INFO] testing facet-args-0.19.17 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate facet-args 0.19.17 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate facet-args 0.19.17 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-args 0.19.17 [INFO] tweaked toml for crates.io crate facet-args 0.19.17 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-args 0.19.17 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-args 0.19.17 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-deserialize v0.24.21 [INFO] [stderr] Downloaded impls v1.0.3 [INFO] [stderr] Downloaded facet-reflect v0.27.15 [INFO] [stderr] Downloaded facet-core v0.27.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9342b42e84243823d973a7603bdf6c40759d30e820ba8b2d8718b0155723d34d [INFO] running `Command { std: "docker" "start" "-a" "9342b42e84243823d973a7603bdf6c40759d30e820ba8b2d8718b0155723d34d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9342b42e84243823d973a7603bdf6c40759d30e820ba8b2d8718b0155723d34d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9342b42e84243823d973a7603bdf6c40759d30e820ba8b2d8718b0155723d34d", kill_on_drop: false }` [INFO] [stdout] 9342b42e84243823d973a7603bdf6c40759d30e820ba8b2d8718b0155723d34d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0da079191ff25f15cde1c2ed4fc6c96dbc561ea99d3964d76dbc24c359cea2a9 [INFO] running `Command { std: "docker" "start" "-a" "0da079191ff25f15cde1c2ed4fc6c96dbc561ea99d3964d76dbc24c359cea2a9", kill_on_drop: false }` [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ariadne v0.5.1 [INFO] [stderr] Compiling facet-core v0.27.15 [INFO] [stderr] Compiling facet-reflect v0.27.15 [INFO] [stderr] Compiling facet-deserialize v0.24.21 [INFO] [stderr] Compiling facet-args v0.19.17 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.24s [INFO] running `Command { std: "docker" "inspect" "0da079191ff25f15cde1c2ed4fc6c96dbc561ea99d3964d76dbc24c359cea2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da079191ff25f15cde1c2ed4fc6c96dbc561ea99d3964d76dbc24c359cea2a9", kill_on_drop: false }` [INFO] [stdout] 0da079191ff25f15cde1c2ed4fc6c96dbc561ea99d3964d76dbc24c359cea2a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6ea387779d77eb81a4911439755fdc8cddcc7ef9fbd70b26c9942671863ded56 [INFO] running `Command { std: "docker" "start" "-a" "6ea387779d77eb81a4911439755fdc8cddcc7ef9fbd70b26c9942671863ded56", kill_on_drop: false }` [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling facet-args v0.19.17 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/sequence.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/sequence.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/simple.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/simple.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: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[facet(named, short = "n", delimiter = ",")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/err.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/err.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: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | #[facet(named, short = "r")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[facet(named, short = "f", sequence_size = 2)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | #[facet(named, sequence_size = 2)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | #[facet(named, short = "p", sequence_size = 2)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[facet(named, short = "c", sequence_size = 3)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[facet(named, short = "n")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | #[facet(named, short = "s")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[facet(named, short = "v")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/subspans.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/subspans.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: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[facet(named, short = "n", delimiter = ",")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[facet(named, short = "s", delimiter = ":")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[facet(named, short = "v")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[facet(named, short = "n")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[facet(named, short = "s")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:238:11 [INFO] [stdout] | [INFO] [stdout] 238 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[facet(named, short = "n")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/sequence.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[facet(named, short = "s")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | #[facet(named, short, rename = "j")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[facet(named, short = 'p')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[facet(named, short = 'j', default = default_concurrency())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | #[facet(positional, default = 42)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[facet(named, short = 'p')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[facet(named, short = 'v')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[facet(positional)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | #[facet(short)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | #[facet(named, short = "n")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[facet(named, short)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[facet(named, short)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[facet(named, short = "z")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[facet(positional)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[facet(positional)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[facet(named, short = 'v')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[facet(named, short = 'x')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[facet(positional)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[facet(named, short = 'v')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/simple.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[facet(named, short = 'x')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | #[facet(short)] [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/sequence.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn test_value_singleton_list() { [INFO] [stdout] | ------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 17 | let args_single: Args = facet_args::from_slice(&["-n", "42"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 6 ~ fn test_value_singleton_list() -> Result<(), Box> { [INFO] [stdout] 7 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(args_single.numbers, vec![42]); [INFO] [stdout] 20 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[facet(named, short = 'v')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_value_singleton_list::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let args_single: Args = facet_args::from_slice(&["-n", "42"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_value_singleton_list::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/err.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[facet(named, short = 'j')] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[facet(short)] [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/simple.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 16 | fn test_arg_parse_easy() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 39 | ])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 16 ~ fn test_arg_parse_easy() -> Result<(), Box> { [INFO] [stdout] 17 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(args.consider_casing, 0); [INFO] [stdout] 44 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_arg_parse_easy::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let args: Args = facet_args::from_slice(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 33 | | "--verbose", [INFO] [stdout] 34 | | "-j", [INFO] [stdout] 35 | | "14", [INFO] [stdout] ... | [INFO] [stdout] 38 | | "example.rs", [INFO] [stdout] 39 | | ])?; [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_arg_parse_easy::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 47 | fn test_arg_parse() { [INFO] [stdout] | ------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 74 | ])?; [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_arg_parse() -> Result<(), Box> { [INFO] [stdout] 48 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 79 | assert_eq!(args.consider_casing, 0); [INFO] [stdout] 80 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> tests/sequence.rs:35:82 [INFO] [stdout] | [INFO] [stdout] 24 | fn test_value_singleton_lists_x2() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 35 | let args_single: Args = facet_args::from_slice(&["-n", "42", "-s", "single"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 24 ~ fn test_value_singleton_lists_x2() -> Result<(), Box> { [INFO] [stdout] 25 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(args_single.strings, vec!["single".to_string()]); [INFO] [stdout] 39 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_arg_parse::Args<'_>: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let args: Args = facet_args::from_slice(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 67 | | "--verbose", [INFO] [stdout] 68 | | "-j", [INFO] [stdout] 69 | | "14", [INFO] [stdout] ... | [INFO] [stdout] 73 | | "test.rs", [INFO] [stdout] 74 | | ])?; [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_arg_parse::Args<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:96:80 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_arg_parse_nums() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 96 | let args: Args = facet_args::from_slice(&["-x", "1", "-y", "2", "-z", "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] 83 ~ fn test_arg_parse_nums() -> Result<(), Box> { [INFO] [stdout] 84 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 99 | assert_eq!(args.zzz, 3.0); [INFO] [stdout] 100+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_arg_parse_nums::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let args: Args = facet_args::from_slice(&["-x", "1", "-y", "2", "-z", "3"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_arg_parse_nums::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:114:87 [INFO] [stdout] | [INFO] [stdout] 105 | fn test_arg_parse_list() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 114 | let string_args: Args = facet_args::from_slice(&["-n", "1", "-n", "2", "-n", "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] 105 ~ fn test_arg_parse_list() -> Result<(), Box> { [INFO] [stdout] 106 | // Define a struct with a list field [INFO] [stdout] ... [INFO] [stdout] 117 | assert_eq!(string_args.nums, vec![1, 2, 3]); [INFO] [stdout] 118 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_arg_parse_list::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | let string_args: Args = facet_args::from_slice(&["-n", "1", "-n", "2", "-n", "3"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_arg_parse_list::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:129:71 [INFO] [stdout] | [INFO] [stdout] 121 | fn test_missing_bool_is_false() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 129 | let args: Args = facet_args::from_slice(&["absence_is_falsey.rs"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 121 ~ fn test_missing_bool_is_false() -> Result<(), Box> { [INFO] [stdout] 122 | #[derive(Facet)] [INFO] [stdout] ... [INFO] [stdout] 130 | assert!(!args.verbose); [INFO] [stdout] 131 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[facet(named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_bool_is_false::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let args: Args = facet_args::from_slice(&["absence_is_falsey.rs"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_bool_is_false::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:143:80 [INFO] [stdout] | [INFO] [stdout] 134 | fn test_missing_default() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 143 | let args: Args = facet_args::from_slice(&["-p", "absence_uses_default.rs"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 134 ~ fn test_missing_default() -> Result<(), Box> { [INFO] [stdout] 135 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(args.path, "presence_overrides_default.rs".to_string()); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_default::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let args: Args = facet_args::from_slice(&["-p", "absence_uses_default.rs"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_default::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_value_singleton_lists_x2::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let args_single: Args = facet_args::from_slice(&["-n", "42", "-s", "single"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_value_singleton_lists_x2::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[facet(short, rename = "j")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[facet(named, rename = "cores")] [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/simple.rs:147:93 [INFO] [stdout] | [INFO] [stdout] 134 | fn test_missing_default() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 147 | let args: Args = facet_args::from_slice(&["100", "-p", "presence_overrides_default.rs"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 134 ~ fn test_missing_default() -> Result<(), Box> { [INFO] [stdout] 135 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(args.path, "presence_overrides_default.rs".to_string()); [INFO] [stdout] 150 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_default::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let args: Args = facet_args::from_slice(&["100", "-p", "presence_overrides_default.rs"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_default::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[facet(short)] [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/simple.rs:167:83 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_missing_default_fn() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 167 | let args: Args = facet_args::from_slice(&["-p", "absence_uses_default_fn.rs"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_missing_default_fn() -> Result<(), Box> { [INFO] [stdout] 154 | // Could be done e.g. using `num_cpus::get()`, but just mock it as 2 + 2 = 4 [INFO] [stdout] ... [INFO] [stdout] 174 | assert_eq!(args.concurrency, 2); [INFO] [stdout] 175 + 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/sequence.rs:57:89 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_value_delimiter_approach() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 57 | let args: Args = facet_args::from_slice(&["-n", "1,2,3", "-s", "foo:bar:baz", "-v"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_value_delimiter_approach() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(args_empty_parts.verbose); [INFO] [stdout] 75 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_default_fn::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let args: Args = facet_args::from_slice(&["-p", "absence_uses_default_fn.rs"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_default_fn::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:172:87 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_missing_default_fn() { [INFO] [stdout] | ---------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 172 | facet_args::from_slice(&["-p", "presence_overrides_default_fn.rs", "-j", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 153 ~ fn test_missing_default_fn() -> Result<(), Box> { [INFO] [stdout] 154 | // Could be done e.g. using `num_cpus::get()`, but just mock it as 2 + 2 = 4 [INFO] [stdout] ... [INFO] [stdout] 174 | assert_eq!(args.concurrency, 2); [INFO] [stdout] 175 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_default_fn::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | facet_args::from_slice(&["-p", "presence_overrides_default_fn.rs", "-j", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_default_fn::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:184:69 [INFO] [stdout] | [INFO] [stdout] 178 | fn test_inf_float_parsing() { [INFO] [stdout] | --------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 184 | let args: Args = facet_args::from_slice(&["--rate", "infinity"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 178 ~ fn test_inf_float_parsing() -> Result<(), Box> { [INFO] [stdout] 179 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(args.rate, f64::INFINITY); [INFO] [stdout] 186 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_inf_float_parsing::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | let args: Args = facet_args::from_slice(&["--rate", "infinity"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_inf_float_parsing::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/subspans.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[facet(named)] [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/simple.rs:195:58 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_short_rename() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 195 | let args: Args = facet_args::from_slice(&["-j", "4"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 189 ~ fn test_short_rename() -> Result<(), Box> { [INFO] [stdout] 190 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 196 | assert_eq!(args.concurrency, 4); [INFO] [stdout] 197 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_value_delimiter_approach::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let args: Args = facet_args::from_slice(&["-n", "1,2,3", "-s", "foo:bar:baz", "-v"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_value_delimiter_approach::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_short_rename::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | let args: Args = facet_args::from_slice(&["-j", "4"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_short_rename::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:208:76 [INFO] [stdout] | [INFO] [stdout] 200 | fn test_bool_str_before() { [INFO] [stdout] | ------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 208 | let args: Args = facet_args::from_slice(&["--foo", "--hello", "world"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 200 ~ fn test_bool_str_before() -> Result<(), Box> { [INFO] [stdout] 201 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 210 | assert_eq!(args.hello, "world".to_string()); [INFO] [stdout] 211 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_bool_str_before::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let args: Args = facet_args::from_slice(&["--foo", "--hello", "world"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_bool_str_before::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_non_struct_type_not_supported::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | let args: Result = facet_args::from_slice(&["error", "wrong", "type"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_non_struct_type_not_supported::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:227:85 [INFO] [stdout] | [INFO] [stdout] 217 | fn test_bool_str_mix_middle() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 227 | let args: Args = facet_args::from_slice(&["--foo", "--hello", "world", "--bar"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 217 ~ fn test_bool_str_mix_middle() -> Result<(), Box> { [INFO] [stdout] 218 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 230 | assert!(args.bar); [INFO] [stdout] 231 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_bool_str_mix_middle::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | let args: Args = facet_args::from_slice(&["--foo", "--hello", "world", "--bar"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_bool_str_mix_middle::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:67:99 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_value_delimiter_approach() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 67 | let args_empty_parts: Args = facet_args::from_slice(&["-n", "1,,3", "-s", "start::end", "-v"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 43 ~ fn test_value_delimiter_approach() -> Result<(), Box> { [INFO] [stdout] 44 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(args_empty_parts.verbose); [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/simple.rs:243:76 [INFO] [stdout] | [INFO] [stdout] 235 | fn test_bool_str_after() { [INFO] [stdout] | ------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 243 | let args: Args = facet_args::from_slice(&["--hello", "world", "--bar"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 235 ~ fn test_bool_str_after() -> Result<(), Box> { [INFO] [stdout] 236 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 245 | assert!(args.bar); [INFO] [stdout] 246 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_bool_str_after::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | let args: Args = facet_args::from_slice(&["--hello", "world", "--bar"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_bool_str_after::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/simple.rs:258:81 [INFO] [stdout] | [INFO] [stdout] 250 | fn test_int_str_after() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 258 | let args: Args = facet_args::from_slice(&["--hello", "world", "--baz", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 250 ~ fn test_int_str_after() -> Result<(), Box> { [INFO] [stdout] 251 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 260 | assert_eq!(args.baz, 2); [INFO] [stdout] 261 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_int_str_after::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | let args: Args = facet_args::from_slice(&["--hello", "world", "--baz", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_int_str_after::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_required_arg::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/simple.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 274 | let args_result = facet_args::from_slice::(&["--foo", "hello"]); [INFO] [stdout] | ^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_missing_required_arg::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_value_delimiter_approach::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | let args_empty_parts: Args = facet_args::from_slice(&["-n", "1,,3", "-s", "start::end", "-v"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_value_delimiter_approach::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [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 `test_error_missing_value_for_argument::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | let args: Result = facet_args::from_slice(&["--concurrency"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_missing_value_for_argument::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_repeated_flag_approach() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 95 | ])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 79 ~ fn test_repeated_flag_approach() -> Result<(), Box> { [INFO] [stdout] 80 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 105| assert!(args_empty.verbose); [INFO] [stdout] 106+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-args` (test "simple") due to 65 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `test_error_wrong_type_for_argument::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | let args: Result = facet_args::from_slice(&["--concurrency", "yes"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_wrong_type_for_argument::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_repeated_flag_approach::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let args: Args = facet_args::from_slice(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 94 | | "-n", "1", "-n", "2", "-n", "3", "-s", "foo", "-s", "bar", "-v", [INFO] [stdout] 95 | | ])?; [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_repeated_flag_approach::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_missing_value_for_argument_short_missed::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let args: Result = facet_args::from_slice(&["-j", "-v"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_missing_value_for_argument_short_missed::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_repeated_flag_approach() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 102 | let args_empty: Args = facet_args::from_slice(&["-v"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 79 ~ fn test_repeated_flag_approach() -> Result<(), Box> { [INFO] [stdout] 80 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(args_empty.verbose); [INFO] [stdout] 106 + 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/subspans.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 5 | fn test_eq_long_solo() { [INFO] [stdout] | ---------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | let args: Args = facet_args::from_slice(&["--hello=world"])?; [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_eq_long_solo() -> Result<(), Box> { [INFO] [stdout] 6 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(args.hello, "world".to_string()); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_repeated_flag_approach::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let args_empty: Args = facet_args::from_slice(&["-v"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_repeated_flag_approach::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_long_solo::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let args: Args = facet_args::from_slice(&["--hello=world"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_long_solo::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:127:90 [INFO] [stdout] | [INFO] [stdout] 110 | fn test_fixed_length_sequence() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 127 | let args: Args = facet_args::from_slice(&["-p", "10", "20", "-c", "255", "0", "128"])?; [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_fixed_length_sequence() -> Result<(), Box> { [INFO] [stdout] 111 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 154 | assert_eq!(complex_args.point.coords, vec![5, 10]); [INFO] [stdout] 155 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_missing_value_for_argument_short_eof::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let args: Result = facet_args::from_slice(&["-j"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_missing_value_for_argument_short_eof::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:22:55 [INFO] [stdout] | [INFO] [stdout] 16 | fn test_eq_short_solo() { [INFO] [stdout] | ----------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 22 | let args: Args = facet_args::from_slice(&["-k=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] 16 ~ fn test_eq_short_solo() -> Result<(), Box> { [INFO] [stdout] 17 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!(args.k, 3); [INFO] [stdout] 24 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_fixed_length_sequence::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let args: Args = facet_args::from_slice(&["-p", "10", "20", "-c", "255", "0", "128"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_fixed_length_sequence::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_unknown_argument::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | let args: Result = facet_args::from_slice(&["--c0ncurrency"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_unknown_argument::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_short_solo::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let args: Args = facet_args::from_slice(&["-k=3"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_short_solo::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:33:60 [INFO] [stdout] | [INFO] [stdout] 27 | fn test_eq_long_rename_solo() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 33 | let args: Args = facet_args::from_slice(&["--cores=4"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 27 ~ fn test_eq_long_rename_solo() -> Result<(), Box> { [INFO] [stdout] 28 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 34 | assert_eq!(args.concurrency, 4); [INFO] [stdout] 35 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_fixed_length_sequence::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | let args_too_few_point: Result = facet_args::from_slice(&[ [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 134 | | "-p", "10", // Missing one value [INFO] [stdout] 135 | | "-c", "255", "0", "128", [INFO] [stdout] 136 | | ]); [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_fixed_length_sequence::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_number_outside_range::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | let args: Result = facet_args::from_slice(&["--small", "1000"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_number_outside_range::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_long_rename_solo::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let args: Args = facet_args::from_slice(&["--cores=4"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_long_rename_solo::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_fixed_length_sequence::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | let args_too_many_color: Result = facet_args::from_slice(&[ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 141 | | "-p", "10", "20", "-c", "255", "0", "128", "255", // One value too many [INFO] [stdout] 142 | | ]); [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_fixed_length_sequence::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_negative_value_for_unsigned::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | let args: Result = facet_args::from_slice(&["--count", "-10"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_negative_value_for_unsigned::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:44:55 [INFO] [stdout] | [INFO] [stdout] 38 | fn test_eq_short_rename_solo() { [INFO] [stdout] | ------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 44 | let args: Args = facet_args::from_slice(&["-j=4"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 38 ~ fn test_eq_short_rename_solo() -> Result<(), Box> { [INFO] [stdout] 39 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(args.concurrency, 4); [INFO] [stdout] 46 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_out_of_range::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | let args: Result = facet_args::from_slice(&["--byte", "1000"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_out_of_range::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:152:96 [INFO] [stdout] | [INFO] [stdout] 110 | fn test_fixed_length_sequence() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 152 | let complex_args: ComplexArgs = facet_args::from_slice(&["--point", "--coords", "5", "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] 110 ~ fn test_fixed_length_sequence() -> Result<(), Box> { [INFO] [stdout] 111 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 154 | assert_eq!(complex_args.point.coords, vec![5, 10]); [INFO] [stdout] 155 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_bool_with_invalid_value_positional::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let args: Result = facet_args::from_slice(&["--enable", "maybe"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_bool_with_invalid_value_positional::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexArgs: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | let complex_args: ComplexArgs = facet_args::from_slice(&["--point", "--coords", "5", "10"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `ComplexArgs` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_char_with_multiple_chars::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | let args: Result = facet_args::from_slice(&["--letter", "abc"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_char_with_multiple_chars::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_nested_struct_with_scalar::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | let args: Result = facet_args::from_slice(&["--config", "simple"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_nested_struct_with_scalar::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_short_rename_solo::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let args: Args = facet_args::from_slice(&["-j=4"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_short_rename_solo::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/sequence.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 160 | fn test_mixed_approaches() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 176 | ])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 160 ~ fn test_mixed_approaches() -> Result<(), Box> { [INFO] [stdout] 161 | #[derive(Facet, Debug, PartialEq)] [INFO] [stdout] ... [INFO] [stdout] 180 | assert_eq!(args.fixed_point, vec![3.14, 2.71]); [INFO] [stdout] 181 + 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/subspans.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 49 | fn test_eq_long_followed() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 57 | let args: Args = facet_args::from_slice(&["--hello=world", "--two", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 49 ~ fn test_eq_long_followed() -> Result<(), Box> { [INFO] [stdout] 50 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(args.two, 2); [INFO] [stdout] 60 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_option_with_multiple_values::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | let args: Result = facet_args::from_slice(&["--maybe", "value1", "value2"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_option_with_multiple_values::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_long_followed::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let args: Args = facet_args::from_slice(&["--hello=world", "--two", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_long_followed::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_mixed_approaches::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/sequence.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let args: Args = facet_args::from_slice(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 175 | | "-n", "1,2,3", "-r", "10", "-r", "20", "-r", "30", "-f", "3.14", "2.71", [INFO] [stdout] 176 | | ])?; [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_mixed_approaches::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_vec_with_incompatible_types::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | let args: Result = facet_args::from_slice(&["--numbers", "1", "two", "3"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_vec_with_incompatible_types::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:71:71 [INFO] [stdout] | [INFO] [stdout] 63 | fn test_eq_short_followed() { [INFO] [stdout] | --------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 71 | let args: Args = facet_args::from_slice(&["-y=yes", "--two", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 63 ~ fn test_eq_short_followed() -> Result<(), Box> { [INFO] [stdout] 64 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(args.two, 2); [INFO] [stdout] 74 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_short_followed::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let args: Args = facet_args::from_slice(&["-y=yes", "--two", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_short_followed::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_tuple_struct_field_access::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let args: Result = facet_args::from_slice(&["--point.0", "10", "--point.1", "20"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_tuple_struct_field_access::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_unexpected_positional_arg::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | let args: Result = facet_args::from_slice(&["unexpected", "--name", "value"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_unexpected_positional_arg::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:85:78 [INFO] [stdout] | [INFO] [stdout] 77 | fn test_eq_long_preceded() { [INFO] [stdout] | -------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 85 | let args: Args = facet_args::from_slice(&["--one", "1", "--hello=world"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 77 ~ fn test_eq_long_preceded() -> Result<(), Box> { [INFO] [stdout] 78 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 87 | assert_eq!(args.hello, "world".to_string()); [INFO] [stdout] 88 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_error_invalid_ip_address::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | let args: Result = facet_args::from_slice(&["--address", "not-an-ip"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_invalid_ip_address::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [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 `test_error_complex_nested_structure::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/err.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | let args: Result = facet_args::from_slice(&[ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 255 | | "--config", [INFO] [stdout] 256 | | "{server={port=8080,host=localhost},database={url=postgresql://,pool_size=10}}", [INFO] [stdout] 257 | | ]); [INFO] [stdout] | |______^ the trait `facet_core::Facet<'_>` is not implemented for `test_error_complex_nested_structure::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_long_preceded::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let args: Args = facet_args::from_slice(&["--one", "1", "--hello=world"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_long_preceded::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:99:71 [INFO] [stdout] | [INFO] [stdout] 91 | fn test_eq_short_preceded() { [INFO] [stdout] | --------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 99 | let args: Args = facet_args::from_slice(&["--one", "1", "-y=yes"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 91 ~ fn test_eq_short_preceded() -> Result<(), Box> { [INFO] [stdout] 92 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 101| assert_eq!(args.y, "yes".to_string()); [INFO] [stdout] 102+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-args` (test "sequence") due to 39 previous errors [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 `test_eq_short_preceded::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let args: Args = facet_args::from_slice(&["--one", "1", "-y=yes"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_short_preceded::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:115:92 [INFO] [stdout] | [INFO] [stdout] 105 | fn test_eq_long_in_the_middle() { [INFO] [stdout] | ------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 115 | let args: Args = facet_args::from_slice(&["--one", "1", "--hello=world", "--two", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 105 ~ fn test_eq_long_in_the_middle() -> Result<(), Box> { [INFO] [stdout] 106 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 118 | assert_eq!(args.two, 2); [INFO] [stdout] 119 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-args` (test "err") due to 38 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_eq_long_in_the_middle::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let args: Args = facet_args::from_slice(&["--one", "1", "--hello=world", "--two", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_long_in_the_middle::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/subspans.rs:132:85 [INFO] [stdout] | [INFO] [stdout] 122 | fn test_eq_short_in_the_middle() { [INFO] [stdout] | -------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 132 | let args: Args = facet_args::from_slice(&["--one", "1", "-y=yes", "--two", "2"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 122 ~ fn test_eq_short_in_the_middle() -> Result<(), Box> { [INFO] [stdout] 123 | #[derive(Facet, Debug)] [INFO] [stdout] ... [INFO] [stdout] 135 | assert_eq!(args.two, 2); [INFO] [stdout] 136 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_eq_short_in_the_middle::Args: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/subspans.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let args: Args = facet_args::from_slice(&["--one", "1", "-y=yes", "--two", "2"])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `facet_core::Facet<'_>` is not implemented for `test_eq_short_in_the_middle::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'a>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 65 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/format.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_slice` [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-args` (test "subspans") due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "6ea387779d77eb81a4911439755fdc8cddcc7ef9fbd70b26c9942671863ded56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea387779d77eb81a4911439755fdc8cddcc7ef9fbd70b26c9942671863ded56", kill_on_drop: false }` [INFO] [stdout] 6ea387779d77eb81a4911439755fdc8cddcc7ef9fbd70b26c9942671863ded56