[INFO] fetching crate templatia-derive 0.0.4-alpha.1... [INFO] testing templatia-derive-0.0.4-alpha.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate templatia-derive 0.0.4-alpha.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate templatia-derive 0.0.4-alpha.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate templatia-derive 0.0.4-alpha.1 [INFO] tweaked toml for crates.io crate templatia-derive 0.0.4-alpha.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate templatia-derive 0.0.4-alpha.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate templatia-derive 0.0.4-alpha.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded trybuild v1.0.111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c103a1a94cb784b95cad40b9741a799b52ec20ee067846c1bf1e423b386f6bca [INFO] running `Command { std: "docker" "start" "-a" "c103a1a94cb784b95cad40b9741a799b52ec20ee067846c1bf1e423b386f6bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c103a1a94cb784b95cad40b9741a799b52ec20ee067846c1bf1e423b386f6bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c103a1a94cb784b95cad40b9741a799b52ec20ee067846c1bf1e423b386f6bca", kill_on_drop: false }` [INFO] [stdout] c103a1a94cb784b95cad40b9741a799b52ec20ee067846c1bf1e423b386f6bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09e2cbc8252c83e921f466c261283bf0d875e6327dcdd81668aa93aca692bdd5 [INFO] running `Command { std: "docker" "start" "-a" "09e2cbc8252c83e921f466c261283bf0d875e6327dcdd81668aa93aca692bdd5", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling templatia-derive v0.0.4-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "09e2cbc8252c83e921f466c261283bf0d875e6327dcdd81668aa93aca692bdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e2cbc8252c83e921f466c261283bf0d875e6327dcdd81668aa93aca692bdd5", kill_on_drop: false }` [INFO] [stdout] 09e2cbc8252c83e921f466c261283bf0d875e6327dcdd81668aa93aca692bdd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 473b96ea99107db3c9d017a58609221b9ee1ef3ad49760f3c07f39636d107296 [INFO] running `Command { std: "docker" "start" "-a" "473b96ea99107db3c9d017a58609221b9ee1ef3ad49760f3c07f39636d107296", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling templatia-derive v0.0.4-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/derive_basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use templatia::Template; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/vec_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use templatia::Template; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/collections_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use templatia::Template; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/comprehensive_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use templatia::{Template, TemplateError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/option_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use templatia::{Template, TemplateError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `templatia` [INFO] [stdout] --> tests/escaped_colon_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use templatia::{Template, TemplateError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/derive_basic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[templatia(template = "url={host}:{port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[templatia(template = "Server: {host} | Port: {port} | DB: {database}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/vec_tests.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[templatia(template = "items={items}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/derive_basic.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[templatia(template = "host={host}\nport={port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[templatia(template = "items={items}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/derive_basic.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[templatia(template = "name={name}&again={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/vec_tests.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[templatia(template = "nums={nums}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[templatia(template = "nums={nums}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/derive_basic.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[templatia(template = "name={name}&again={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/vec_tests.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[templatia(template = "v={v}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/vec_tests.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[templatia(template = "a={xs};b={xs}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/vec_tests.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[templatia(template = "nums={nums}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[templatia(template = "values={values}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/derive_basic.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | templatia::TemplateError::ParseToType { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[templatia(template = "https://{host}:{port}/{path}?token={token}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[templatia(template = "nums={nums}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/vec_tests.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | templatia::TemplateError::InconsistentValues { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/derive_basic.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | templatia::TemplateError::InconsistentValues { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[templatia(template = "first={name}, second={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[templatia(template = "port={port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[templatia(template = "a={items};b={items}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[templatia(template = "Hello {name}: world")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[templatia(template = "tags={tags}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | #[templatia(template = "Hello {name} world")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/vec_tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | templatia::TemplateError::ParseToType { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[templatia(template = "tags={tags}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[templatia(template = "name={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[templatia(template = "ids={ids}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[templatia(template = "id={id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | #[templatia(template = "one={ids}&two={ids}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/collections_tests.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | #[templatia(template = "id={id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[templatia(template = "id={id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[templatia(template = "name={name}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | #[templatia(template = r#"{{"name": "{name}", "age": {age}, "active": {active}}}"#)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/collections_tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | templatia::TemplateError::ParseToType { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | #[templatia(template = "User: {name}\nEmail: {email}\nNotes: {notes}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | #[templatia(template = "{value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:241:11 [INFO] [stdout] | [INFO] [stdout] 241 | #[templatia(template = "Hello {name}! Welcome back, {name}!")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/collections_tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | templatia::TemplateError::InconsistentValues { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | #[templatia(template = "{id}-{id}-{id}-{id}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | #[templatia(template = "first={name}, second={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[templatia(template = "name={name}, age={age}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:301:11 [INFO] [stdout] | [INFO] [stdout] 301 | #[templatia(template = "port1={port} port2={port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | #[templatia(template = "value={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | #[templatia(template = "{env}-{service}-{env}-{version}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:353:11 [INFO] [stdout] | [INFO] [stdout] 353 | #[templatia(template = "port={port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[templatia(template = "text={text}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:377:11 [INFO] [stdout] | [INFO] [stdout] 377 | #[templatia(template = "enabled={enabled}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | #[templatia(template = "u8={u8_val}, u16={u16_val}, u32={u32_val}, i32={i32_val}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | #[templatia(template = "value={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `templatia` [INFO] [stdout] --> tests/collections_tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | templatia::TemplateError::ParseToType { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `templatia` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `templatia`, use `cargo add templatia` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:425:11 [INFO] [stdout] | [INFO] [stdout] 425 | #[templatia(template = "count={count}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | #[templatia(template = "flag={flag}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:449:11 [INFO] [stdout] | [INFO] [stdout] 449 | #[templatia(template = "host={host}:{port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[templatia(template = "ch={ch}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | #[templatia(template = "prefix_{value}_suffix")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | #[templatia(template = "f32={f32_val}, f64={f64_val}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:501:11 [INFO] [stdout] | [INFO] [stdout] 501 | #[templatia(template = "value={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:519:11 [INFO] [stdout] | [INFO] [stdout] 519 | #[templatia(template = "max={max_val}, min={min_val}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | #[templatia(template = "first={id}, second={id}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WithName` in the current scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 14 | struct WithName { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let result = WithName::from_str("first=a:b, second=c:d"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WithName` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - let result = WithName::from_str("first=a:b, second=c:d"); [INFO] [stdout] 19 + let result = WithName::from("first=a:b, second=c:d"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:538:11 [INFO] [stdout] | [INFO] [stdout] 538 | #[templatia(template = "int={int_zero}, float={float_zero}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:272:11 [INFO] [stdout] | [INFO] [stdout] 272 | #[templatia(template = "a={val}, b={val}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:557:11 [INFO] [stdout] | [INFO] [stdout] 557 | #[templatia(template = "name={name}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 296 | #[templatia(template = "{first}{second}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:574:11 [INFO] [stdout] | [INFO] [stdout] 574 | #[templatia(template = "content={content}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[templatia(template = "{flag1}{flag2}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:622:11 [INFO] [stdout] | [INFO] [stdout] 622 | #[templatia(template = "{c}-{a}-{b}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `PortCfg` in the current scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 38 | struct PortCfg { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | let result = PortCfg::from_str("port=12:34"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PortCfg` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - let result = PortCfg::from_str("port=12:34"); [INFO] [stdout] 43 + let result = PortCfg::from("port=12:34"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[templatia(template = "https://{host}:{port}/{path}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[templatia(template = "{x}{x}{x}{x}{x}{x}{x}{x}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `DbCfg` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 7 | struct DbCfg { [INFO] [stdout] | ------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | let s = cfg.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DbCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:696:11 [INFO] [stdout] | [INFO] [stdout] 696 | #[templatia(template = "Config[{name}]={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:720:11 [INFO] [stdout] | [INFO] [stdout] 720 | #[templatia(template = "'{text}' #{number}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | #[templatia( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[templatia(template = "data={data}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Greeter` in the current scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 62 | struct Greeter { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | let result = Greeter::from_str("Hello Alice- world"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Greeter` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 - let result = Greeter::from_str("Hello Alice- world"); [INFO] [stdout] 68 + let result = Greeter::from("Hello Alice- world"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:760:11 [INFO] [stdout] | [INFO] [stdout] 760 | #[templatia(template = "{first}{second}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:425:11 [INFO] [stdout] | [INFO] [stdout] 425 | #[templatia(template = "id={id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | #[templatia(template = "name={name}, count={count}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:781:11 [INFO] [stdout] | [INFO] [stdout] 781 | #[templatia(template = "{flag1}{flag2}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | #[templatia(template = "{character}{flag}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Greeter2` in the current scope [INFO] [stdout] --> tests/escaped_colon_tests.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 88 | struct Greeter2 { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let result = Greeter2::from_str("Hello Alice:world"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Greeter2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 94 - let result = Greeter2::from_str("Hello Alice:world"); [INFO] [stdout] 94 + let result = Greeter2::from("Hello Alice:world"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:823:11 [INFO] [stdout] | [INFO] [stdout] 823 | #[templatia(template = "{enabled}{grade}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:480:11 [INFO] [stdout] | [INFO] [stdout] 480 | #[templatia(template = "port={port}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:844:11 [INFO] [stdout] | [INFO] [stdout] 844 | #[templatia(template = "{a}{b}{c}{d}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:505:11 [INFO] [stdout] | [INFO] [stdout] 505 | #[templatia(template = "flag={flag}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Url` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 24 | struct Url { [INFO] [stdout] | ---------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let s = url.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:534:11 [INFO] [stdout] | [INFO] [stdout] 534 | #[templatia(template = "id={id}, name={name}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_string_basic_parse::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 14 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let parsed = S::from_str("items=alice,bob,carol").expect("should parse Vec"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_string_basic_parse::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - let parsed = S::from_str("items=alice,bob,carol").expect("should parse Vec"); [INFO] [stdout] 18 + let parsed = S::from("items=alice,bob,carol").expect("should parse Vec"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:562:11 [INFO] [stdout] | [INFO] [stdout] 562 | #[templatia(template = "a={a}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Url` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 24 | struct Url { [INFO] [stdout] | ---------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let parsed = Url::from_str(&s).expect("should parse"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Url` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - let parsed = Url::from_str(&s).expect("should parse"); [INFO] [stdout] 36 + let parsed = Url::from(&s).expect("should parse"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:606:11 [INFO] [stdout] | [INFO] [stdout] 606 | #[templatia(template = "{a}-{b}-{c}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:634:11 [INFO] [stdout] | [INFO] [stdout] 634 | #[templatia(template = "prefix={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:869:11 [INFO] [stdout] | [INFO] [stdout] 869 | #[templatia(template = "{a}{b}{c}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_u32_basic_parse::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 26 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let parsed = S::from_str("nums=1,2,3,4").expect("should parse Vec"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_u32_basic_parse::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 30 - let parsed = S::from_str("nums=1,2,3,4").expect("should parse Vec"); [INFO] [stdout] 30 + let parsed = S::from("nums=1,2,3,4").expect("should parse Vec"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Cfg` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 44 | struct Cfg { [INFO] [stdout] | ---------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | let err = Cfg::from_str(bad).expect_err("expected parse error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Cfg` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - let err = Cfg::from_str(bad).expect_err("expected parse error"); [INFO] [stdout] 50 + let err = Cfg::from(bad).expect_err("expected parse error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:648:11 [INFO] [stdout] | [INFO] [stdout] 648 | #[templatia( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:892:11 [INFO] [stdout] | [INFO] [stdout] 892 | #[templatia(template = "{first}-{second}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:693:11 [INFO] [stdout] | [INFO] [stdout] 693 | #[templatia(template = "prefix={value}", empty_str_option_not_none)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:706:11 [INFO] [stdout] | [INFO] [stdout] 706 | #[templatia(template = "prefix={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:913:11 [INFO] [stdout] | [INFO] [stdout] 913 | #[templatia(template = "{enabled}|{disabled}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `duplicate_placeholder_inconsistent_values::S` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 69 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | let err = S::from_str(bad).expect_err("expected inconsistency error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `duplicate_placeholder_inconsistent_values::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 74 - let err = S::from_str(bad).expect_err("expected inconsistency error"); [INFO] [stdout] 74 + let err = S::from(bad).expect_err("expected inconsistency error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_empty_value_means_empty_vec::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 38 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | let parsed = S::from_str("values=").expect("empty should mean empty Vec"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_empty_value_means_empty_vec::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - let parsed = S::from_str("values=").expect("empty should mean empty Vec"); [INFO] [stdout] 42 + let parsed = S::from("values=").expect("empty should mean empty Vec"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:719:11 [INFO] [stdout] | [INFO] [stdout] 719 | #[templatia(template = "prefix={value}", empty_str_option_not_none)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:939:11 [INFO] [stdout] | [INFO] [stdout] 939 | #[templatia(template = "{{value={value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:958:11 [INFO] [stdout] | [INFO] [stdout] 958 | #[templatia(template = "value={value}}}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `duplicate_placeholder_equal_values_ok::S` in the current scope [INFO] [stdout] --> tests/derive_basic.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 93 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let parsed = S::from_str(ok).expect("should parse when duplicates equal"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `duplicate_placeholder_equal_values_ok::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 - let parsed = S::from_str(ok).expect("should parse when duplicates equal"); [INFO] [stdout] 98 + let parsed = S::from(ok).expect("should parse when duplicates equal"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:732:11 [INFO] [stdout] | [INFO] [stdout] 732 | #[templatia(template = "a={a}, b={b}", empty_str_option_not_none)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templatia-derive` (test "derive_basic") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `templatia-derive` (test "escaped_colon_tests") due to 9 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_parse_error_invalid_element_reports_placeholder_and_type::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 50 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | let err = S::from_str("nums=1,2,x,4").expect_err("expected parse error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_parse_error_invalid_element_reports_placeholder_and_type::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - let err = S::from_str("nums=1,2,x,4").expect_err("expected parse error"); [INFO] [stdout] 55 + let err = S::from("nums=1,2,x,4").expect_err("expected parse error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:977:11 [INFO] [stdout] | [INFO] [stdout] 977 | #[templatia(template = "{{data: {value}}}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:747:11 [INFO] [stdout] | [INFO] [stdout] 747 | #[templatia(template = "data={data}", empty_str_option_not_none)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:996:11 [INFO] [stdout] | [INFO] [stdout] 996 | #[templatia(template = "{{{{prefix}}}}: {value}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:766:11 [INFO] [stdout] | [INFO] [stdout] 766 | #[templatia(template = "text={text}, num={num}", empty_str_option_not_none)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_duplicate_placeholders_require_equal_segments::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 74 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | let ok = S::from_str("a=1,2,3;b=1,2,3").expect("should parse when duplicate segments equal"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_duplicate_placeholders_require_equal_segments::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 79 - let ok = S::from_str("a=1,2,3;b=1,2,3").expect("should parse when duplicate segments equal"); [INFO] [stdout] 79 + let ok = S::from("a=1,2,3;b=1,2,3").expect("should parse when duplicate segments equal"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1020:11 [INFO] [stdout] | [INFO] [stdout] 1020 | #[templatia(template = "name={name}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:781:11 [INFO] [stdout] | [INFO] [stdout] 781 | #[templatia( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1045:11 [INFO] [stdout] | [INFO] [stdout] 1045 | #[templatia(template = "id={id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1073:11 [INFO] [stdout] | [INFO] [stdout] 1073 | #[templatia(template = "user={user}:pass={pass}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:805:11 [INFO] [stdout] | [INFO] [stdout] 805 | #[templatia(template = "{first}{second}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1101:11 [INFO] [stdout] | [INFO] [stdout] 1101 | #[templatia(template = "active={active}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:826:11 [INFO] [stdout] | [INFO] [stdout] 826 | #[templatia(template = "{flag1}{flag2}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_duplicate_placeholders_require_equal_segments::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 74 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | let bad = S::from_str("a=1,2,3;b=1,2,4").expect_err("expected inconsistency error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_duplicate_placeholders_require_equal_segments::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 83 - let bad = S::from_str("a=1,2,3;b=1,2,4").expect_err("expected inconsistency error"); [INFO] [stdout] 83 + let bad = S::from("a=1,2,3;b=1,2,4").expect_err("expected inconsistency error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1135:11 [INFO] [stdout] | [INFO] [stdout] 1135 | #[templatia(template = "status={status}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:847:11 [INFO] [stdout] | [INFO] [stdout] 847 | #[templatia(template = "{character}{flag}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1168:11 [INFO] [stdout] | [INFO] [stdout] 1168 | #[templatia(template = "{id}-{id}-{id}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:868:11 [INFO] [stdout] | [INFO] [stdout] 868 | #[templatia(template = "{opt_char}{req_bool}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `hashset_string_parse_deduplicates::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 104 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 109 | S::from_str("tags=red,green,red,blue,green").expect("should parse HashSet"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `hashset_string_parse_deduplicates::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 109 - S::from_str("tags=red,green,red,blue,green").expect("should parse HashSet"); [INFO] [stdout] 109 + S::from("tags=red,green,red,blue,green").expect("should parse HashSet"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/option_tests.rs:889:11 [INFO] [stdout] | [INFO] [stdout] 889 | #[templatia(template = "{a}{b}{c}")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1190:11 [INFO] [stdout] | [INFO] [stdout] 1190 | #[templatia(template = "constant_text", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1212:11 [INFO] [stdout] | [INFO] [stdout] 1212 | #[templatia(template = "Name: {name}, Age: {age}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1243:11 [INFO] [stdout] | [INFO] [stdout] 1243 | #[templatia(template = "{flag}{ch}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `hashset_empty_value_means_empty_set::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 121 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | let parsed = S::from_str("tags=").expect("empty should mean empty set"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `hashset_empty_value_means_empty_set::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 125 - let parsed = S::from_str("tags=").expect("empty should mean empty set"); [INFO] [stdout] 125 + let parsed = S::from("tags=").expect("empty should mean empty set"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1271:11 [INFO] [stdout] | [INFO] [stdout] 1271 | #[templatia(template = "{first}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `hashset_parse_error_invalid_element::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 133 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | let err = S::from_str("ids=1,2,x,3").expect_err("expected parse error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `hashset_parse_error_invalid_element::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 - let err = S::from_str("ids=1,2,x,3").expect_err("expected parse error"); [INFO] [stdout] 137 + let err = S::from("ids=1,2,x,3").expect_err("expected parse error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1296:11 [INFO] [stdout] | [INFO] [stdout] 1296 | #[templatia(template = "result={last}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `templatia` in this scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1321:11 [INFO] [stdout] | [INFO] [stdout] 1321 | #[templatia(template = "{a}:{c}", allow_missing_placeholders)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `templatia` is an attribute that can be used by the derive macro `Template`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `hashset_duplicate_placeholders_must_match::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 156 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | let val = S::from_str("one=1,2,3&two=1,2,3").expect("equal duplicate segments parse"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `hashset_duplicate_placeholders_must_match::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 160 - let val = S::from_str("one=1,2,3&two=1,2,3").expect("equal duplicate segments parse"); [INFO] [stdout] 160 + let val = S::from("one=1,2,3&two=1,2,3").expect("equal duplicate segments parse"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `collections_not_in_template_default_when_allowed::S` in the current scope [INFO] [stdout] --> tests/collections_tests.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 170 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 177 | let s = S::from_str("id=7").expect("should parse with missing placeholders allowed"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `collections_not_in_template_default_when_allowed::S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 177 - let s = S::from_str("id=7").expect("should parse with missing placeholders allowed"); [INFO] [stdout] 177 + let s = S::from("id=7").expect("should parse with missing placeholders allowed"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `S` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 10 | struct S { [INFO] [stdout] | -------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let rendered = s.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `S` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 10 | struct S { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let parsed = S::from_str(&rendered).expect("should parse"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - let parsed = S::from_str(&rendered).expect("should parse"); [INFO] [stdout] 20 + let parsed = S::from(&rendered).expect("should parse"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_parse_numbers_and_preserve_order::N` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 28 | struct N { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let parsed = N::from_str("nums=10,20,30").expect("parse numbers"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_parse_numbers_and_preserve_order::N` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let parsed = N::from_str("nums=10,20,30").expect("parse numbers"); [INFO] [stdout] 32 + let parsed = N::from("nums=10,20,30").expect("parse numbers"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templatia-derive` (test "collections_tests") due to 25 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `V` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 40 | struct V { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let parsed = V::from_str("v=").expect("empty -> empty vec"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `V` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 44 - let parsed = V::from_str("v=").expect("empty -> empty vec"); [INFO] [stdout] 44 + let parsed = V::from("v=").expect("empty -> empty vec"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Xs` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 52 | struct Xs { [INFO] [stdout] | --------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | let ok = Xs::from_str("a=1,2,3;b=1,2,3").expect("equal segments ok"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Xs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 - let ok = Xs::from_str("a=1,2,3;b=1,2,3").expect("equal segments ok"); [INFO] [stdout] 57 + let ok = Xs::from("a=1,2,3;b=1,2,3").expect("equal segments ok"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Xs` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 52 | struct Xs { [INFO] [stdout] | --------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | let err = Xs::from_str("a=1,2,3;b=1,2,4").expect_err("expected inconsistency"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Xs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 - let err = Xs::from_str("a=1,2,3;b=1,2,4").expect_err("expected inconsistency"); [INFO] [stdout] 61 + let err = Xs::from("a=1,2,3;b=1,2,4").expect_err("expected inconsistency"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalName` in the current scope [INFO] [stdout] --> tests/option_tests.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 12 | struct OptionalName { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let template = with_name.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalName` in the current scope [INFO] [stdout] --> tests/option_tests.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 12 | struct OptionalName { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let parsed = OptionalName::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalName` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - let parsed = OptionalName::from_str(&template).unwrap(); [INFO] [stdout] 23 + let parsed = OptionalName::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `vec_parse_error_reports_placeholder_and_type::N` in the current scope [INFO] [stdout] --> tests/vec_tests.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 80 | struct N { [INFO] [stdout] | -------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let err = N::from_str("nums=1,2,x,4").expect_err("expect parse error"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `vec_parse_error_reports_placeholder_and_type::N` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 84 - let err = N::from_str("nums=1,2,x,4").expect_err("expect parse error"); [INFO] [stdout] 84 + let err = N::from("nums=1,2,x,4").expect_err("expect parse error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `SingleField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 11 | struct SingleField { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let template = single.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SingleField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 32 | struct OptionalFields { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SingleField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 11 | struct SingleField { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | let parsed = SingleField::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SingleField` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - let parsed = SingleField::from_str(&template).unwrap(); [INFO] [stdout] 21 + let parsed = SingleField::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 32 | struct OptionalFields { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | let parsed = OptionalFields::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalFields` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 45 - let parsed = OptionalFields::from_str(&template).unwrap(); [INFO] [stdout] 45 + let parsed = OptionalFields::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 54 | struct MixedFields { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultiField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 28 | struct MultiField { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let template = multi.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 54 | struct MixedFields { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | let parsed = MixedFields::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedFields` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 - let parsed = MixedFields::from_str(&template).unwrap(); [INFO] [stdout] 67 + let parsed = MixedFields::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultiField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 28 | struct MultiField { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | let parsed = MultiField::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultiField` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - let parsed = MultiField::from_str(&template).unwrap(); [INFO] [stdout] 42 + let parsed = MultiField::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templatia-derive` (test "vec_tests") due to 15 previous errors [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `NumericTypes` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 49 | struct NumericTypes { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | let template = nums.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NumericTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultipleOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 78 | struct MultipleOptional { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultipleOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `NumericTypes` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 49 | struct NumericTypes { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 70 | let parsed = NumericTypes::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NumericTypes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 70 - let parsed = NumericTypes::from_str(&template).unwrap(); [INFO] [stdout] 70 + let parsed = NumericTypes::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 78 | struct MultipleOptional { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | let parsed = MultipleOptional::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 93 - let parsed = MultipleOptional::from_str(&template).unwrap(); [INFO] [stdout] 93 + let parsed = MultipleOptional::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `AllPresent` in the current scope [INFO] [stdout] --> tests/option_tests.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 103 | struct AllPresent { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `AllPresent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `BoolValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 77 | struct BoolValues { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let template = bools.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `BoolValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `AllPresent` in the current scope [INFO] [stdout] --> tests/option_tests.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 103 | struct AllPresent { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | let parsed = AllPresent::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `AllPresent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 - let parsed = AllPresent::from_str(&template).unwrap(); [INFO] [stdout] 116 + let parsed = AllPresent::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `BoolValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 77 | struct BoolValues { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | let parsed = BoolValues::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BoolValues` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 90 - let parsed = BoolValues::from_str(&template).unwrap(); [INFO] [stdout] 90 + let parsed = BoolValues::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalValue` in the current scope [INFO] [stdout] --> tests/option_tests.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 126 | struct OptionalValue { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | let _template = with_none.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `EmptyString` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 97 | struct EmptyString { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | let template = empty_str.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EmptyString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalValue` in the current scope [INFO] [stdout] --> tests/option_tests.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 126 | struct OptionalValue { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 136 | let parsed = OptionalValue::from_str("value=test").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalValue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 136 - let parsed = OptionalValue::from_str("value=test").unwrap(); [INFO] [stdout] 136 + let parsed = OptionalValue::from("value=test").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EmptyString` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 97 | struct EmptyString { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | let parsed = EmptyString::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EmptyString` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 - let parsed = EmptyString::from_str(&template).unwrap(); [INFO] [stdout] 110 + let parsed = EmptyString::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalString` in the current scope [INFO] [stdout] --> tests/option_tests.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 149 | struct OptionalString { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ComplexFormat` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 123 | struct ComplexFormat { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 135 | let template = config.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ComplexFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalString` in the current scope [INFO] [stdout] --> tests/option_tests.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 149 | struct OptionalString { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 158 | let parsed = OptionalString::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalString` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 - let parsed = OptionalString::from_str(&template).unwrap(); [INFO] [stdout] 158 + let parsed = OptionalString::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ComplexFormat` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 123 | struct ComplexFormat { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | let parsed = ComplexFormat::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ComplexFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 141 - let parsed = ComplexFormat::from_str(&template).unwrap(); [INFO] [stdout] 141 + let parsed = ComplexFormat::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalNumerics` in the current scope [INFO] [stdout] --> tests/option_tests.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 166 | struct OptionalNumerics { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 180 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalNumerics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `UrlFormat` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 149 | struct UrlFormat { [INFO] [stdout] | ---------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 163 | let template = url.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `UrlFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalNumerics` in the current scope [INFO] [stdout] --> tests/option_tests.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 166 | struct OptionalNumerics { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 181 | let parsed = OptionalNumerics::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalNumerics` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 - let parsed = OptionalNumerics::from_str(&template).unwrap(); [INFO] [stdout] 181 + let parsed = OptionalNumerics::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `UrlFormat` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 149 | struct UrlFormat { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | let parsed = UrlFormat::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `UrlFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 166 - let parsed = UrlFormat::from_str(&template).unwrap(); [INFO] [stdout] 166 + let parsed = UrlFormat::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalBool` in the current scope [INFO] [stdout] --> tests/option_tests.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 189 | struct OptionalBool { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 194 | let template_true = with_true.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `JsonLike` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 174 | struct JsonLike { [INFO] [stdout] | --------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 186 | let template = person.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `JsonLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalBool` in the current scope [INFO] [stdout] --> tests/option_tests.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 189 | struct OptionalBool { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 197 | let parsed_true = OptionalBool::from_str(&template_true).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalBool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 197 - let parsed_true = OptionalBool::from_str(&template_true).unwrap(); [INFO] [stdout] 197 + let parsed_true = OptionalBool::from(&template_true).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `JsonLike` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 174 | struct JsonLike { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 189 | let parsed = JsonLike::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `JsonLike` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 189 - let parsed = JsonLike::from_str(&template).unwrap(); [INFO] [stdout] 189 + let parsed = JsonLike::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalBool` in the current scope [INFO] [stdout] --> tests/option_tests.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 189 | struct OptionalBool { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 201 | let template_false = with_false.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `SpecialChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 197 | struct SpecialChars { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | let template = user.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SpecialChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalBool` in the current scope [INFO] [stdout] --> tests/option_tests.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 189 | struct OptionalBool { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 204 | let parsed_false = OptionalBool::from_str(&template_false).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalBool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 204 - let parsed_false = OptionalBool::from_str(&template_false).unwrap(); [INFO] [stdout] 204 + let parsed_false = OptionalBool::from(&template_false).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SpecialChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 197 | struct SpecialChars { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | let parsed = SpecialChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SpecialChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 210 - let parsed = SpecialChars::from_str(&template).unwrap(); [INFO] [stdout] 210 + let parsed = SpecialChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalChar` in the current scope [INFO] [stdout] --> tests/option_tests.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 212 | struct OptionalChar { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 217 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Minimal` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 218 | struct Minimal { [INFO] [stdout] | -------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 226 | let template = minimal.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Minimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalChar` in the current scope [INFO] [stdout] --> tests/option_tests.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 212 | struct OptionalChar { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 220 | let parsed = OptionalChar::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalChar` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 220 - let parsed = OptionalChar::from_str(&template).unwrap(); [INFO] [stdout] 220 + let parsed = OptionalChar::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Minimal` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 218 | struct Minimal { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 229 | let parsed = Minimal::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Minimal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - let parsed = Minimal::from_str(&template).unwrap(); [INFO] [stdout] 229 + let parsed = Minimal::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalFloats` in the current scope [INFO] [stdout] --> tests/option_tests.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 228 | struct OptionalFloats { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 238 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalFloats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Greeting` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 242 | struct Greeting { [INFO] [stdout] | --------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 250 | let template = greeting.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Greeting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Greeting` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 242 | struct Greeting { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 253 | let parsed = Greeting::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Greeting` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 253 - let parsed = Greeting::from_str(&template).unwrap(); [INFO] [stdout] 253 + let parsed = Greeting::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalFloats` in the current scope [INFO] [stdout] --> tests/option_tests.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 228 | struct OptionalFloats { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 239 | let parsed = OptionalFloats::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalFloats` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 239 - let parsed = OptionalFloats::from_str(&template).unwrap(); [INFO] [stdout] 239 + let parsed = OptionalFloats::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultiId` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 261 | struct MultiId { [INFO] [stdout] | -------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 267 | let template = multi.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultiId` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:270:31 [INFO] [stdout] | [INFO] [stdout] 261 | struct MultiId { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 270 | let parsed = MultiId::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultiId` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 270 - let parsed = MultiId::from_str(&template).unwrap(); [INFO] [stdout] 270 + let parsed = MultiId::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Inconsistent` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:282:36 [INFO] [stdout] | [INFO] [stdout] 278 | struct Inconsistent { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 282 | let result = Inconsistent::from_str("first=alice, second=bob"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Inconsistent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 282 - let result = Inconsistent::from_str("first=alice, second=bob"); [INFO] [stdout] 282 + let result = Inconsistent::from("first=alice, second=bob"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `DuplicateOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 254 | struct DuplicateOptional { [INFO] [stdout] | ------------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 262 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DuplicateOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `NumericInconsistent` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:306:43 [INFO] [stdout] | [INFO] [stdout] 302 | struct NumericInconsistent { [INFO] [stdout] | -------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 306 | let result = NumericInconsistent::from_str("port1=8080 port2=9090"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NumericInconsistent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 306 - let result = NumericInconsistent::from_str("port1=8080 port2=9090"); [INFO] [stdout] 306 + let result = NumericInconsistent::from("port1=8080 port2=9090"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `DuplicateOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 254 | struct DuplicateOptional { [INFO] [stdout] | ------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 265 | let parsed = DuplicateOptional::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `DuplicateOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 - let parsed = DuplicateOptional::from_str(&template).unwrap(); [INFO] [stdout] 265 + let parsed = DuplicateOptional::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `DuplicateCheck` in the current scope [INFO] [stdout] --> tests/option_tests.rs:277:38 [INFO] [stdout] | [INFO] [stdout] 273 | struct DuplicateCheck { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 277 | let result = DuplicateCheck::from_str("a=first, b=second"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `DuplicateCheck` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 277 - let result = DuplicateCheck::from_str("a=first, b=second"); [INFO] [stdout] 277 + let result = DuplicateCheck::from("a=first, b=second"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedDuplicates` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 326 | struct MixedDuplicates { [INFO] [stdout] | ---------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 338 | let template = mixed.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedDuplicates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedDuplicates` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:341:39 [INFO] [stdout] | [INFO] [stdout] 326 | struct MixedDuplicates { [INFO] [stdout] | ---------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 341 | let parsed = MixedDuplicates::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedDuplicates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 341 - let parsed = MixedDuplicates::from_str(&template).unwrap(); [INFO] [stdout] 341 + let parsed = MixedDuplicates::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveOptionalChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 297 | struct ConsecutiveOptionalChars { [INFO] [stdout] | ------------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 307 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveOptionalChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `PortConfig` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 354 | struct PortConfig { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 358 | let result = PortConfig::from_str("port=not_a_number"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PortConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 358 - let result = PortConfig::from_str("port=not_a_number"); [INFO] [stdout] 358 + let result = PortConfig::from("port=not_a_number"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveOptionalChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:310:48 [INFO] [stdout] | [INFO] [stdout] 297 | struct ConsecutiveOptionalChars { [INFO] [stdout] | ------------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 310 | let parsed = ConsecutiveOptionalChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveOptionalChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 310 - let parsed = ConsecutiveOptionalChars::from_str(&template).unwrap(); [INFO] [stdout] 310 + let parsed = ConsecutiveOptionalChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `BoolConfig` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 378 | struct BoolConfig { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 382 | let result = BoolConfig::from_str("enabled=maybe"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BoolConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 382 - let result = BoolConfig::from_str("enabled=maybe"); [INFO] [stdout] 382 + let result = BoolConfig::from("enabled=maybe"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OverflowTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:406:36 [INFO] [stdout] | [INFO] [stdout] 402 | struct OverflowTest { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 406 | let result = OverflowTest::from_str("value=256"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OverflowTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 406 - let result = OverflowTest::from_str("value=256"); [INFO] [stdout] 406 + let result = OverflowTest::from("value=256"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveOptionalBools` in the current scope [INFO] [stdout] --> tests/option_tests.rs:328:33 [INFO] [stdout] | [INFO] [stdout] 318 | struct ConsecutiveOptionalBools { [INFO] [stdout] | ------------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 328 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveOptionalBools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `UnsignedTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:430:36 [INFO] [stdout] | [INFO] [stdout] 426 | struct UnsignedTest { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 430 | let result = UnsignedTest::from_str("count=-1"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `UnsignedTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 430 - let result = UnsignedTest::from_str("count=-1"); [INFO] [stdout] 430 + let result = UnsignedTest::from("count=-1"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveOptionalBools` in the current scope [INFO] [stdout] --> tests/option_tests.rs:331:48 [INFO] [stdout] | [INFO] [stdout] 318 | struct ConsecutiveOptionalBools { [INFO] [stdout] | ------------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 331 | let parsed = ConsecutiveOptionalBools::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveOptionalBools` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 - let parsed = ConsecutiveOptionalBools::from_str(&template).unwrap(); [INFO] [stdout] 331 + let parsed = ConsecutiveOptionalBools::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `HostPort` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:456:32 [INFO] [stdout] | [INFO] [stdout] 450 | struct HostPort { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 456 | let result = HostPort::from_str("host=localhost 8080"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `HostPort` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 456 - let result = HostPort::from_str("host=localhost 8080"); [INFO] [stdout] 456 + let result = HostPort::from("host=localhost 8080"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `PrefixSuffix` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 474 | struct PrefixSuffix { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 479 | let result = PrefixSuffix::from_str("prefix_test"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PrefixSuffix` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 479 - let result = PrefixSuffix::from_str("prefix_test"); [INFO] [stdout] 479 + let result = PrefixSuffix::from("prefix_test"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalUrl` in the current scope [INFO] [stdout] --> tests/option_tests.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 339 | struct OptionalUrl { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 351 | let template = full_url.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalUrl` in the current scope [INFO] [stdout] --> tests/option_tests.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 339 | struct OptionalUrl { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 354 | let parsed = OptionalUrl::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalUrl` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 354 - let parsed = OptionalUrl::from_str(&template).unwrap(); [INFO] [stdout] 354 + let parsed = OptionalUrl::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `FloatTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:509:33 [INFO] [stdout] | [INFO] [stdout] 502 | struct FloatTest { [INFO] [stdout] | ---------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 509 | let template = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FloatTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalUrl` in the current scope [INFO] [stdout] --> tests/option_tests.rs:359:43 [INFO] [stdout] | [INFO] [stdout] 339 | struct OptionalUrl { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 359 | let parsed_minimal = OptionalUrl::from_str(minimal_template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalUrl` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 359 - let parsed_minimal = OptionalUrl::from_str(minimal_template).unwrap(); [INFO] [stdout] 359 + let parsed_minimal = OptionalUrl::from(minimal_template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `FloatTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:510:33 [INFO] [stdout] | [INFO] [stdout] 502 | struct FloatTest { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 510 | let parsed = FloatTest::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `FloatTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 510 - let parsed = FloatTest::from_str(&template).unwrap(); [INFO] [stdout] 510 + let parsed = FloatTest::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionalPerson` in the current scope [INFO] [stdout] --> tests/option_tests.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 373 | struct OptionalPerson { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 385 | let template = person.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalPerson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalPerson` in the current scope [INFO] [stdout] --> tests/option_tests.rs:388:38 [INFO] [stdout] | [INFO] [stdout] 373 | struct OptionalPerson { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 388 | let parsed = OptionalPerson::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalPerson` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 388 - let parsed = OptionalPerson::from_str(&template).unwrap(); [INFO] [stdout] 388 + let parsed = OptionalPerson::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ExtremeValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:530:32 [INFO] [stdout] | [INFO] [stdout] 520 | struct ExtremeValues { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 530 | let template = extreme.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ExtremeValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ExtremeValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:531:37 [INFO] [stdout] | [INFO] [stdout] 520 | struct ExtremeValues { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 531 | let parsed = ExtremeValues::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ExtremeValues` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 531 - let parsed = ExtremeValues::from_str(&template).unwrap(); [INFO] [stdout] 531 + let parsed = ExtremeValues::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `SimpleOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:411:34 [INFO] [stdout] | [INFO] [stdout] 403 | struct SimpleOptional { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 411 | let template1 = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SimpleOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SimpleOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 403 | struct SimpleOptional { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 412 | let parsed1 = SimpleOptional::from_str(&template1).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SimpleOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 412 - let parsed1 = SimpleOptional::from_str(&template1).unwrap(); [INFO] [stdout] 412 + let parsed1 = SimpleOptional::from(&template1).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SimpleOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:416:39 [INFO] [stdout] | [INFO] [stdout] 403 | struct SimpleOptional { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 416 | let parsed2 = SimpleOptional::from_str(&template2).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SimpleOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 416 - let parsed2 = SimpleOptional::from_str(&template2).unwrap(); [INFO] [stdout] 416 + let parsed2 = SimpleOptional::from(&template2).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ZeroValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:549:30 [INFO] [stdout] | [INFO] [stdout] 539 | struct ZeroValues { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 549 | let template = zeros.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ZeroValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ZeroValues` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 539 | struct ZeroValues { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 550 | let parsed = ZeroValues::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ZeroValues` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 550 - let parsed = ZeroValues::from_str(&template).unwrap(); [INFO] [stdout] 550 + let parsed = ZeroValues::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `WithOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:436:34 [INFO] [stdout] | [INFO] [stdout] 426 | struct WithOptional { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 436 | let template1 = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `WithOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WithOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 426 | struct WithOptional { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 437 | let parsed1 = WithOptional::from_str(&template1).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WithOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 437 - let parsed1 = WithOptional::from_str(&template1).unwrap(); [INFO] [stdout] 437 + let parsed1 = WithOptional::from(&template1).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `WhitespaceTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:566:35 [INFO] [stdout] | [INFO] [stdout] 558 | struct WhitespaceTest { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 566 | let template = whitespace.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `WhitespaceTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WithOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:445:37 [INFO] [stdout] | [INFO] [stdout] 426 | struct WithOptional { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 445 | let parsed2 = WithOptional::from_str(&template2).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WithOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 445 - let parsed2 = WithOptional::from_str(&template2).unwrap(); [INFO] [stdout] 445 + let parsed2 = WithOptional::from(&template2).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WhitespaceTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:567:38 [INFO] [stdout] | [INFO] [stdout] 558 | struct WhitespaceTest { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 567 | let parsed = WhitespaceTest::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WhitespaceTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 567 - let parsed = WhitespaceTest::from_str(&template).unwrap(); [INFO] [stdout] 567 + let parsed = WhitespaceTest::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `NewlineTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:583:34 [INFO] [stdout] | [INFO] [stdout] 575 | struct NewlineTest { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 583 | let template = multiline.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NewlineTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultiOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 453 | struct MultiOptional { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 465 | let template = current.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `NewlineTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:584:35 [INFO] [stdout] | [INFO] [stdout] 575 | struct NewlineTest { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 584 | let parsed = NewlineTest::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NewlineTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 584 - let parsed = NewlineTest::from_str(&template).unwrap(); [INFO] [stdout] 584 + let parsed = NewlineTest::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultiOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:466:38 [INFO] [stdout] | [INFO] [stdout] 453 | struct MultiOptional { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 466 | current = MultiOptional::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultiOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 466 - current = MultiOptional::from_str(&template).unwrap(); [INFO] [stdout] 466 + current = MultiOptional::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalPort` in the current scope [INFO] [stdout] --> tests/option_tests.rs:486:36 [INFO] [stdout] | [INFO] [stdout] 481 | struct OptionalPort { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 486 | let result = OptionalPort::from_str("port=invalid"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalPort` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 486 - let result = OptionalPort::from_str("port=invalid"); [INFO] [stdout] 486 + let result = OptionalPort::from("port=invalid"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ManyFields` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:614:29 [INFO] [stdout] | [INFO] [stdout] 596 | struct ManyFields { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 614 | let template = many.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ManyFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ManyFields` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:615:34 [INFO] [stdout] | [INFO] [stdout] 596 | struct ManyFields { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 615 | let parsed = ManyFields::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ManyFields` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 615 - let parsed = ManyFields::from_str(&template).unwrap(); [INFO] [stdout] 615 + let parsed = ManyFields::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionalFlag` in the current scope [INFO] [stdout] --> tests/option_tests.rs:510:36 [INFO] [stdout] | [INFO] [stdout] 506 | struct OptionalFlag { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 510 | let result = OptionalFlag::from_str("flag=maybe"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionalFlag` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 510 - let result = OptionalFlag::from_str("flag=maybe"); [INFO] [stdout] 510 + let result = OptionalFlag::from("flag=maybe"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedOrder` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:635:30 [INFO] [stdout] | [INFO] [stdout] 623 | struct MixedOrder { [INFO] [stdout] | ----------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 635 | let template = mixed.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedOrder` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:638:34 [INFO] [stdout] | [INFO] [stdout] 623 | struct MixedOrder { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 638 | let parsed = MixedOrder::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedOrder` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 638 - let parsed = MixedOrder::from_str(&template).unwrap(); [INFO] [stdout] 638 + let parsed = MixedOrder::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedConfig` in the current scope [INFO] [stdout] --> tests/option_tests.rs:549:31 [INFO] [stdout] | [INFO] [stdout] 535 | struct MixedConfig { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 549 | let template = config.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedConfig` in the current scope [INFO] [stdout] --> tests/option_tests.rs:552:35 [INFO] [stdout] | [INFO] [stdout] 535 | struct MixedConfig { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 552 | let parsed = MixedConfig::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 552 - let parsed = MixedConfig::from_str(&template).unwrap(); [INFO] [stdout] 552 + let parsed = MixedConfig::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `RepeatedField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:652:33 [INFO] [stdout] | [INFO] [stdout] 646 | struct RepeatedField { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 652 | let template = repeated.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `RepeatedField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `AllOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:575:33 [INFO] [stdout] | [INFO] [stdout] 563 | struct AllOptional { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 575 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `AllOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `RepeatedField` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:655:37 [INFO] [stdout] | [INFO] [stdout] 646 | struct RepeatedField { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 655 | let parsed = RepeatedField::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RepeatedField` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 655 - let parsed = RepeatedField::from_str(&template).unwrap(); [INFO] [stdout] 655 + let parsed = RepeatedField::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `AllOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 563 | struct AllOptional { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 576 | let parsed = AllOptional::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `AllOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 576 - let parsed = AllOptional::from_str(&template).unwrap(); [INFO] [stdout] 576 + let parsed = AllOptional::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `RoundtripTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:680:34 [INFO] [stdout] | [INFO] [stdout] 667 | struct RoundtripTest { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 680 | let template1 = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `RoundtripTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `DefaultWithOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:596:33 [INFO] [stdout] | [INFO] [stdout] 586 | struct DefaultWithOptional { [INFO] [stdout] | -------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 596 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DefaultWithOptional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `RoundtripTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:681:38 [INFO] [stdout] | [INFO] [stdout] 667 | struct RoundtripTest { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 681 | let parsed1 = RoundtripTest::from_str(&template1).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RoundtripTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 681 - let parsed1 = RoundtripTest::from_str(&template1).unwrap(); [INFO] [stdout] 681 + let parsed1 = RoundtripTest::from(&template1).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `DefaultWithOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 586 | struct DefaultWithOptional { [INFO] [stdout] | -------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 599 | let parsed = DefaultWithOptional::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `DefaultWithOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 599 - let parsed = DefaultWithOptional::from_str(&template).unwrap(); [INFO] [stdout] 599 + let parsed = DefaultWithOptional::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `RoundtripTest` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:686:38 [INFO] [stdout] | [INFO] [stdout] 667 | struct RoundtripTest { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 686 | let parsed2 = RoundtripTest::from_str(&template2).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RoundtripTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 686 - let parsed2 = RoundtripTest::from_str(&template2).unwrap(); [INFO] [stdout] 686 + let parsed2 = RoundtripTest::from(&template2).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `VariousPositions` in the current scope [INFO] [stdout] --> tests/option_tests.rs:621:33 [INFO] [stdout] | [INFO] [stdout] 607 | struct VariousPositions { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 621 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `VariousPositions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `VariousPositions` in the current scope [INFO] [stdout] --> tests/option_tests.rs:624:40 [INFO] [stdout] | [INFO] [stdout] 607 | struct VariousPositions { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 624 | let parsed = VariousPositions::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `VariousPositions` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 624 - let parsed = VariousPositions::from_str(&template).unwrap(); [INFO] [stdout] 624 + let parsed = VariousPositions::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `CustomRoundtrip` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:710:36 [INFO] [stdout] | [INFO] [stdout] 697 | struct CustomRoundtrip { [INFO] [stdout] | ---------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 710 | let template = current.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `CustomRoundtrip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `CustomRoundtrip` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:711:40 [INFO] [stdout] | [INFO] [stdout] 697 | struct CustomRoundtrip { [INFO] [stdout] | ---------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 711 | current = CustomRoundtrip::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `CustomRoundtrip` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 711 - current = CustomRoundtrip::from_str(&template).unwrap(); [INFO] [stdout] 711 + current = CustomRoundtrip::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EmptyOptional` in the current scope [INFO] [stdout] --> tests/option_tests.rs:640:37 [INFO] [stdout] | [INFO] [stdout] 635 | struct EmptyOptional { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 640 | let parsed = EmptyOptional::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EmptyOptional` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 640 - let parsed = EmptyOptional::from_str(template).unwrap(); [INFO] [stdout] 640 + let parsed = EmptyOptional::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `EdgeCaseRoundtrip` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:746:37 [INFO] [stdout] | [INFO] [stdout] 721 | struct EdgeCaseRoundtrip { [INFO] [stdout] | ------------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 746 | let template = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EdgeCaseRoundtrip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EdgeCaseRoundtrip` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:747:45 [INFO] [stdout] | [INFO] [stdout] 721 | struct EdgeCaseRoundtrip { [INFO] [stdout] | ------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 747 | let parsed = EdgeCaseRoundtrip::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EdgeCaseRoundtrip` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 747 - let parsed = EdgeCaseRoundtrip::from_str(&template).unwrap(); [INFO] [stdout] 747 + let parsed = EdgeCaseRoundtrip::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ServerConfig` in the current scope [INFO] [stdout] --> tests/option_tests.rs:672:31 [INFO] [stdout] | [INFO] [stdout] 652 | struct ServerConfig { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 672 | let template = config.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ServerConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ServerConfig` in the current scope [INFO] [stdout] --> tests/option_tests.rs:675:36 [INFO] [stdout] | [INFO] [stdout] 652 | struct ServerConfig { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 675 | let parsed = ServerConfig::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ServerConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 675 - let parsed = ServerConfig::from_str(&template).unwrap(); [INFO] [stdout] 675 + let parsed = ServerConfig::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:771:30 [INFO] [stdout] | [INFO] [stdout] 761 | struct ConsecutiveChars { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 771 | let template = chars.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:774:40 [INFO] [stdout] | [INFO] [stdout] 761 | struct ConsecutiveChars { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 774 | let parsed = ConsecutiveChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 774 - let parsed = ConsecutiveChars::from_str(&template).unwrap(); [INFO] [stdout] 774 + let parsed = ConsecutiveChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EmptyAsIs` in the current scope [INFO] [stdout] --> tests/option_tests.rs:699:33 [INFO] [stdout] | [INFO] [stdout] 694 | struct EmptyAsIs { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 699 | let parsed = EmptyAsIs::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EmptyAsIs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 699 - let parsed = EmptyAsIs::from_str(template).unwrap(); [INFO] [stdout] 699 + let parsed = EmptyAsIs::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:792:30 [INFO] [stdout] | [INFO] [stdout] 782 | struct ConsecutiveBools { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 792 | let template = bools.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveBools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EmptyAsNone` in the current scope [INFO] [stdout] --> tests/option_tests.rs:712:35 [INFO] [stdout] | [INFO] [stdout] 707 | struct EmptyAsNone { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 712 | let parsed = EmptyAsNone::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EmptyAsNone` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 712 - let parsed = EmptyAsNone::from_str(template).unwrap(); [INFO] [stdout] 712 + let parsed = EmptyAsNone::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:795:40 [INFO] [stdout] | [INFO] [stdout] 782 | struct ConsecutiveBools { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 795 | let parsed = ConsecutiveBools::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveBools` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 795 - let parsed = ConsecutiveBools::from_str(&template).unwrap(); [INFO] [stdout] 795 + let parsed = ConsecutiveBools::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `NonEmpty` in the current scope [INFO] [stdout] --> tests/option_tests.rs:725:32 [INFO] [stdout] | [INFO] [stdout] 720 | struct NonEmpty { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 725 | let parsed = NonEmpty::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NonEmpty` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 725 - let parsed = NonEmpty::from_str(template).unwrap(); [INFO] [stdout] 725 + let parsed = NonEmpty::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleOptionals` in the current scope [INFO] [stdout] --> tests/option_tests.rs:739:41 [INFO] [stdout] | [INFO] [stdout] 733 | struct MultipleOptionals { [INFO] [stdout] | ------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 739 | let parsed = MultipleOptionals::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleOptionals` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 739 - let parsed = MultipleOptionals::from_str(template).unwrap(); [INFO] [stdout] 739 + let parsed = MultipleOptionals::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedCharBool` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:813:30 [INFO] [stdout] | [INFO] [stdout] 803 | struct MixedCharBool { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 813 | let template = mixed.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedCharBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedCharBool` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:816:37 [INFO] [stdout] | [INFO] [stdout] 803 | struct MixedCharBool { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 816 | let parsed = MixedCharBool::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedCharBool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 816 - let parsed = MixedCharBool::from_str(&template).unwrap(); [INFO] [stdout] 816 + let parsed = MixedCharBool::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `RoundtripTest` in the current scope [INFO] [stdout] --> tests/option_tests.rs:756:33 [INFO] [stdout] | [INFO] [stdout] 748 | struct RoundtripTest { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 756 | let template = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `RoundtripTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `BoolChar` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:834:27 [INFO] [stdout] | [INFO] [stdout] 824 | struct BoolChar { [INFO] [stdout] | --------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 834 | let template = bc.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `BoolChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `RoundtripTest` in the current scope [INFO] [stdout] --> tests/option_tests.rs:759:37 [INFO] [stdout] | [INFO] [stdout] 748 | struct RoundtripTest { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 759 | let parsed = RoundtripTest::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RoundtripTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 759 - let parsed = RoundtripTest::from_str(&template).unwrap(); [INFO] [stdout] 759 + let parsed = RoundtripTest::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `BoolChar` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:837:32 [INFO] [stdout] | [INFO] [stdout] 824 | struct BoolChar { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 837 | let parsed = BoolChar::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BoolChar` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 837 - let parsed = BoolChar::from_str(&template).unwrap(); [INFO] [stdout] 837 + let parsed = BoolChar::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedTypes` in the current scope [INFO] [stdout] --> tests/option_tests.rs:773:34 [INFO] [stdout] | [INFO] [stdout] 767 | struct MixedTypes { [INFO] [stdout] | ----------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 773 | let parsed = MixedTypes::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedTypes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 773 - let parsed = MixedTypes::from_str(template).unwrap(); [INFO] [stdout] 773 + let parsed = MixedTypes::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultipleChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:859:30 [INFO] [stdout] | [INFO] [stdout] 845 | struct MultipleChars { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 859 | let template = multi.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultipleChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WithMissing` in the current scope [INFO] [stdout] --> tests/option_tests.rs:792:35 [INFO] [stdout] | [INFO] [stdout] 786 | struct WithMissing { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 792 | let parsed = WithMissing::from_str(template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WithMissing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 792 - let parsed = WithMissing::from_str(template).unwrap(); [INFO] [stdout] 792 + let parsed = WithMissing::from(template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:862:37 [INFO] [stdout] | [INFO] [stdout] 845 | struct MultipleChars { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 862 | let parsed = MultipleChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 862 - let parsed = MultipleChars::from_str(&template).unwrap(); [INFO] [stdout] 862 + let parsed = MultipleChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveOptionChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:816:30 [INFO] [stdout] | [INFO] [stdout] 806 | struct ConsecutiveOptionChars { [INFO] [stdout] | ----------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 816 | let template = chars.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveOptionChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultipleBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:882:30 [INFO] [stdout] | [INFO] [stdout] 870 | struct MultipleBools { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 882 | let template = multi.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultipleBools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveOptionChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:819:46 [INFO] [stdout] | [INFO] [stdout] 806 | struct ConsecutiveOptionChars { [INFO] [stdout] | ----------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 819 | let parsed = ConsecutiveOptionChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveOptionChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 819 - let parsed = ConsecutiveOptionChars::from_str(&template).unwrap(); [INFO] [stdout] 819 + let parsed = ConsecutiveOptionChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:885:37 [INFO] [stdout] | [INFO] [stdout] 870 | struct MultipleBools { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 885 | let parsed = MultipleBools::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleBools` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 885 - let parsed = MultipleBools::from_str(&template).unwrap(); [INFO] [stdout] 885 + let parsed = MultipleBools::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveOptionBools` in the current scope [INFO] [stdout] --> tests/option_tests.rs:837:30 [INFO] [stdout] | [INFO] [stdout] 827 | struct ConsecutiveOptionBools { [INFO] [stdout] | ----------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 837 | let template = bools.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveOptionBools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `SeparatedChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:903:28 [INFO] [stdout] | [INFO] [stdout] 893 | struct SeparatedChars { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 903 | let template = sep.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SeparatedChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SeparatedChars` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:906:38 [INFO] [stdout] | [INFO] [stdout] 893 | struct SeparatedChars { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 906 | let parsed = SeparatedChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SeparatedChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 906 - let parsed = SeparatedChars::from_str(&template).unwrap(); [INFO] [stdout] 906 + let parsed = SeparatedChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveOptionBools` in the current scope [INFO] [stdout] --> tests/option_tests.rs:840:46 [INFO] [stdout] | [INFO] [stdout] 827 | struct ConsecutiveOptionBools { [INFO] [stdout] | ----------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 840 | let parsed = ConsecutiveOptionBools::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveOptionBools` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 840 - let parsed = ConsecutiveOptionBools::from_str(&template).unwrap(); [INFO] [stdout] 840 + let parsed = ConsecutiveOptionBools::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `SeparatedBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:924:28 [INFO] [stdout] | [INFO] [stdout] 914 | struct SeparatedBools { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 924 | let template = sep.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SeparatedBools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedOptionTypes` in the current scope [INFO] [stdout] --> tests/option_tests.rs:858:30 [INFO] [stdout] | [INFO] [stdout] 848 | struct MixedOptionTypes { [INFO] [stdout] | ----------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 858 | let template = mixed.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedOptionTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SeparatedBools` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:927:38 [INFO] [stdout] | [INFO] [stdout] 914 | struct SeparatedBools { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 927 | let parsed = SeparatedBools::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SeparatedBools` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 927 - let parsed = SeparatedBools::from_str(&template).unwrap(); [INFO] [stdout] 927 + let parsed = SeparatedBools::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedOptionTypes` in the current scope [INFO] [stdout] --> tests/option_tests.rs:861:40 [INFO] [stdout] | [INFO] [stdout] 848 | struct MixedOptionTypes { [INFO] [stdout] | ----------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 861 | let parsed = MixedOptionTypes::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedOptionTypes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 861 - let parsed = MixedOptionTypes::from_str(&template).unwrap(); [INFO] [stdout] 861 + let parsed = MixedOptionTypes::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `EscapedOpen` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:948:32 [INFO] [stdout] | [INFO] [stdout] 940 | struct EscapedOpen { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 948 | let template = escaped.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EscapedOpen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EscapedOpen` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:951:35 [INFO] [stdout] | [INFO] [stdout] 940 | struct EscapedOpen { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 951 | let parsed = EscapedOpen::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EscapedOpen` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 951 - let parsed = EscapedOpen::from_str(&template).unwrap(); [INFO] [stdout] 951 + let parsed = EscapedOpen::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `OptionAndRequired` in the current scope [INFO] [stdout] --> tests/option_tests.rs:879:30 [INFO] [stdout] | [INFO] [stdout] 869 | struct OptionAndRequired { [INFO] [stdout] | ------------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 879 | let template = mixed.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionAndRequired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `OptionAndRequired` in the current scope [INFO] [stdout] --> tests/option_tests.rs:882:41 [INFO] [stdout] | [INFO] [stdout] 869 | struct OptionAndRequired { [INFO] [stdout] | ------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 882 | let parsed = OptionAndRequired::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `OptionAndRequired` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 882 - let parsed = OptionAndRequired::from_str(&template).unwrap(); [INFO] [stdout] 882 + let parsed = OptionAndRequired::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `EscapedClose` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:967:32 [INFO] [stdout] | [INFO] [stdout] 959 | struct EscapedClose { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 967 | let template = escaped.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EscapedClose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EscapedClose` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:970:36 [INFO] [stdout] | [INFO] [stdout] 959 | struct EscapedClose { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 970 | let parsed = EscapedClose::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EscapedClose` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 970 - let parsed = EscapedClose::from_str(&template).unwrap(); [INFO] [stdout] 970 + let parsed = EscapedClose::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultipleOptionChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:902:30 [INFO] [stdout] | [INFO] [stdout] 890 | struct MultipleOptionChars { [INFO] [stdout] | -------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 902 | let template = multi.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultipleOptionChars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleOptionChars` in the current scope [INFO] [stdout] --> tests/option_tests.rs:905:43 [INFO] [stdout] | [INFO] [stdout] 890 | struct MultipleOptionChars { [INFO] [stdout] | -------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 905 | let parsed = MultipleOptionChars::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleOptionChars` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 905 - let parsed = MultipleOptionChars::from_str(&template).unwrap(); [INFO] [stdout] 905 + let parsed = MultipleOptionChars::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `BothEscaped` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:986:32 [INFO] [stdout] | [INFO] [stdout] 978 | struct BothEscaped { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 986 | let template = escaped.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `BothEscaped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `BothEscaped` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:989:35 [INFO] [stdout] | [INFO] [stdout] 978 | struct BothEscaped { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 989 | let parsed = BothEscaped::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BothEscaped` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 989 - let parsed = BothEscaped::from_str(&template).unwrap(); [INFO] [stdout] 989 + let parsed = BothEscaped::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `AllOptionalFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:929:33 [INFO] [stdout] | [INFO] [stdout] 917 | struct AllOptionalFields { [INFO] [stdout] | ------------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 929 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `AllOptionalFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultipleEscaped` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1005:32 [INFO] [stdout] | [INFO] [stdout] 997 | struct MultipleEscaped { [INFO] [stdout] | ---------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1005 | let template = escaped.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultipleEscaped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `AllOptionalFields` in the current scope [INFO] [stdout] --> tests/option_tests.rs:932:41 [INFO] [stdout] | [INFO] [stdout] 917 | struct AllOptionalFields { [INFO] [stdout] | ------------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 932 | let parsed = AllOptionalFields::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `AllOptionalFields` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 932 - let parsed = AllOptionalFields::from_str(&template).unwrap(); [INFO] [stdout] 932 + let parsed = AllOptionalFields::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultipleEscaped` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1008:39 [INFO] [stdout] | [INFO] [stdout] 997 | struct MultipleEscaped { [INFO] [stdout] | ---------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1008 | let parsed = MultipleEscaped::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultipleEscaped` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1008 - let parsed = MultipleEscaped::from_str(&template).unwrap(); [INFO] [stdout] 1008 + let parsed = MultipleEscaped::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `WithNoneValues` in the current scope [INFO] [stdout] --> tests/option_tests.rs:949:33 [INFO] [stdout] | [INFO] [stdout] 939 | struct WithNoneValues { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 949 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `WithNoneValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `WithNoneValues` in the current scope [INFO] [stdout] --> tests/option_tests.rs:952:38 [INFO] [stdout] | [INFO] [stdout] 939 | struct WithNoneValues { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 952 | let parsed = WithNoneValues::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `WithNoneValues` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 952 - let parsed = WithNoneValues::from_str(&template).unwrap(); [INFO] [stdout] 952 + let parsed = WithNoneValues::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `PartialConfig` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1033:31 [INFO] [stdout] | [INFO] [stdout] 1021 | struct PartialConfig { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1033 | let template = config.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PartialConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `PartialConfig` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1037:37 [INFO] [stdout] | [INFO] [stdout] 1021 | struct PartialConfig { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1037 | let parsed = PartialConfig::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PartialConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1037 - let parsed = PartialConfig::from_str(&template).unwrap(); [INFO] [stdout] 1037 + let parsed = PartialConfig::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedSomeNone` in the current scope [INFO] [stdout] --> tests/option_tests.rs:972:33 [INFO] [stdout] | [INFO] [stdout] 960 | struct MixedSomeNone { [INFO] [stdout] | -------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 972 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedSomeNone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedSomeNone` in the current scope [INFO] [stdout] --> tests/option_tests.rs:975:37 [INFO] [stdout] | [INFO] [stdout] 960 | struct MixedSomeNone { [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 975 | let parsed = MixedSomeNone::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedSomeNone` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 975 - let parsed = MixedSomeNone::from_str(&template).unwrap(); [INFO] [stdout] 975 + let parsed = MixedSomeNone::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MultiMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1060:33 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultiMissing { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1060 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiMissing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MultiMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1063:36 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultiMissing { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1063 | let parsed = MultiMissing::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MultiMissing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1063 - let parsed = MultiMissing::from_str(&template).unwrap(); [INFO] [stdout] 1063 + let parsed = MultiMissing::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `MixedOptionalRequired` in the current scope [INFO] [stdout] --> tests/option_tests.rs:994:33 [INFO] [stdout] | [INFO] [stdout] 984 | struct MixedOptionalRequired { [INFO] [stdout] | ---------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 994 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedOptionalRequired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Credentials` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1088:30 [INFO] [stdout] | [INFO] [stdout] 1074 | struct Credentials { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1088 | let template = creds.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Credentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `MixedOptionalRequired` in the current scope [INFO] [stdout] --> tests/option_tests.rs:997:45 [INFO] [stdout] | [INFO] [stdout] 984 | struct MixedOptionalRequired { [INFO] [stdout] | ---------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 997 | let parsed = MixedOptionalRequired::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `MixedOptionalRequired` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 997 - let parsed = MixedOptionalRequired::from_str(&template).unwrap(); [INFO] [stdout] 997 + let parsed = MixedOptionalRequired::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Credentials` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1091:35 [INFO] [stdout] | [INFO] [stdout] 1074 | struct Credentials { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1091 | let parsed = Credentials::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Credentials` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1091 - let parsed = Credentials::from_str(&template).unwrap(); [INFO] [stdout] 1091 + let parsed = Credentials::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `AllNone` in the current scope [INFO] [stdout] --> tests/option_tests.rs:1016:33 [INFO] [stdout] | [INFO] [stdout] 1004 | struct AllNone { [INFO] [stdout] | -------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1016 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `AllNone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `AllTypes` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1120:33 [INFO] [stdout] | [INFO] [stdout] 1102 | struct AllTypes { [INFO] [stdout] | --------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1120 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `AllTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `AllNone` in the current scope [INFO] [stdout] --> tests/option_tests.rs:1019:31 [INFO] [stdout] | [INFO] [stdout] 1004 | struct AllNone { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1019 | let parsed = AllNone::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `AllNone` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1019 - let parsed = AllNone::from_str(&template).unwrap(); [INFO] [stdout] 1019 + let parsed = AllNone::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `AllTypes` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1123:32 [INFO] [stdout] | [INFO] [stdout] 1102 | struct AllTypes { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1123 | let parsed = AllTypes::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `AllTypes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1123 - let parsed = AllTypes::from_str(&template).unwrap(); [INFO] [stdout] 1123 + let parsed = AllTypes::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `StatusReport` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1149:34 [INFO] [stdout] | [INFO] [stdout] 1136 | struct StatusReport { [INFO] [stdout] | ------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1149 | let template1 = original.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `StatusReport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `StatusReport` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1136 | struct StatusReport { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1150 | let parsed1 = StatusReport::from_str(&template1).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `StatusReport` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1150 - let parsed1 = StatusReport::from_str(&template1).unwrap(); [INFO] [stdout] 1150 + let parsed1 = StatusReport::from(&template1).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `StatusReport` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1161:37 [INFO] [stdout] | [INFO] [stdout] 1136 | struct StatusReport { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1161 | let parsed2 = StatusReport::from_str(&template2).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `StatusReport` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1161 - let parsed2 = StatusReport::from_str(&template2).unwrap(); [INFO] [stdout] 1161 + let parsed2 = StatusReport::from(&template2).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `DuplicateWithMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1179:33 [INFO] [stdout] | [INFO] [stdout] 1169 | struct DuplicateWithMissing { [INFO] [stdout] | --------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1179 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DuplicateWithMissing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `DuplicateWithMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1182:44 [INFO] [stdout] | [INFO] [stdout] 1169 | struct DuplicateWithMissing { [INFO] [stdout] | --------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1182 | let parsed = DuplicateWithMissing::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `DuplicateWithMissing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1182 - let parsed = DuplicateWithMissing::from_str(&template).unwrap(); [INFO] [stdout] 1182 + let parsed = DuplicateWithMissing::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `NoPlaceholders` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1201:33 [INFO] [stdout] | [INFO] [stdout] 1191 | struct NoPlaceholders { [INFO] [stdout] | --------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1201 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NoPlaceholders` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templatia-derive` (test "option_tests") due to 125 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `NoPlaceholders` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1204:38 [INFO] [stdout] | [INFO] [stdout] 1191 | struct NoPlaceholders { [INFO] [stdout] | --------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1204 | let parsed = NoPlaceholders::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NoPlaceholders` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1204 - let parsed = NoPlaceholders::from_str(&template).unwrap(); [INFO] [stdout] 1204 + let parsed = NoPlaceholders::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Person` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1229:31 [INFO] [stdout] | [INFO] [stdout] 1213 | struct Person { [INFO] [stdout] | ------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1229 | let template = person.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Person` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1232:30 [INFO] [stdout] | [INFO] [stdout] 1213 | struct Person { [INFO] [stdout] | ------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1232 | let parsed = Person::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Person` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1232 - let parsed = Person::from_str(&template).unwrap(); [INFO] [stdout] 1232 + let parsed = Person::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `ConsecutiveWithMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1258:33 [INFO] [stdout] | [INFO] [stdout] 1244 | struct ConsecutiveWithMissing { [INFO] [stdout] | ----------------------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1258 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConsecutiveWithMissing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `ConsecutiveWithMissing` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1261:46 [INFO] [stdout] | [INFO] [stdout] 1244 | struct ConsecutiveWithMissing { [INFO] [stdout] | ----------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1261 | let parsed = ConsecutiveWithMissing::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ConsecutiveWithMissing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1261 - let parsed = ConsecutiveWithMissing::from_str(&template).unwrap(); [INFO] [stdout] 1261 + let parsed = ConsecutiveWithMissing::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `FirstOnly` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1284:33 [INFO] [stdout] | [INFO] [stdout] 1272 | struct FirstOnly { [INFO] [stdout] | ---------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1284 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FirstOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `FirstOnly` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1287:33 [INFO] [stdout] | [INFO] [stdout] 1272 | struct FirstOnly { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1287 | let parsed = FirstOnly::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `FirstOnly` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1287 - let parsed = FirstOnly::from_str(&template).unwrap(); [INFO] [stdout] 1287 + let parsed = FirstOnly::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `LastOnly` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1309:33 [INFO] [stdout] | [INFO] [stdout] 1297 | struct LastOnly { [INFO] [stdout] | --------------- method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1309 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LastOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `LastOnly` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1312:32 [INFO] [stdout] | [INFO] [stdout] 1297 | struct LastOnly { [INFO] [stdout] | --------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1312 | let parsed = LastOnly::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `LastOnly` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1312 - let parsed = LastOnly::from_str(&template).unwrap(); [INFO] [stdout] 1312 + let parsed = LastOnly::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_string` found for struct `Alternating` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1336:33 [INFO] [stdout] | [INFO] [stdout] 1322 | struct Alternating { [INFO] [stdout] | ------------------ method `render_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1336 | let template = instance.render_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Alternating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Alternating` in the current scope [INFO] [stdout] --> tests/comprehensive_tests.rs:1339:35 [INFO] [stdout] | [INFO] [stdout] 1322 | struct Alternating { [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1339 | let parsed = Alternating::from_str(&template).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Alternating` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 1339 - let parsed = Alternating::from_str(&template).unwrap(); [INFO] [stdout] 1339 + let parsed = Alternating::from(&template).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `templatia-derive` (test "comprehensive_tests") due to 156 previous errors [INFO] running `Command { std: "docker" "inspect" "473b96ea99107db3c9d017a58609221b9ee1ef3ad49760f3c07f39636d107296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473b96ea99107db3c9d017a58609221b9ee1ef3ad49760f3c07f39636d107296", kill_on_drop: false }` [INFO] [stdout] 473b96ea99107db3c9d017a58609221b9ee1ef3ad49760f3c07f39636d107296