===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for redlib-0.36.0 Compiling proc-macro2 v1.0.94 Compiling unicode-ident v1.0.18 Compiling cfg-if v1.0.0 Compiling libc v0.2.170 Compiling version_check v0.9.5 Compiling memchr v2.7.4 Compiling autocfg v1.4.0 Compiling quote v1.0.39 Compiling syn v2.0.99 Compiling typenum v1.18.0 Compiling generic-array v0.14.7 Compiling itoa v1.0.15 Compiling serde v1.0.218 Compiling smallvec v1.14.0 Compiling stable_deref_trait v1.2.0 Compiling pin-project-lite v0.2.16 Compiling lock_api v0.4.12 Compiling getrandom v0.2.15 Compiling shlex v1.3.0 Compiling ident_case v1.0.1 Compiling parking_lot_core v0.9.10 Compiling strsim v0.11.1 Compiling byteorder v1.5.0 Compiling fnv v1.0.7 Compiling once_cell v1.20.3 Compiling cc v1.2.16 Compiling scopeguard v1.2.0 Compiling futures-core v0.3.31 Compiling bytes v1.10.1 Compiling ring v0.17.13 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling aho-corasick v1.1.3 Compiling zerofrom-derive v0.1.6 Compiling yoke-derive v0.7.5 Compiling serde_derive v1.0.218 Compiling zerofrom v0.1.6 Compiling yoke v0.7.5 Compiling zerovec-derive v0.10.3 Compiling zerocopy-derive v0.7.35 Compiling zerovec v0.10.4 Compiling displaydoc v0.2.5 Compiling zerocopy v0.7.35 Compiling tinystr v0.7.6 Compiling darling_macro v0.20.10 Compiling futures-sink v0.3.31 Compiling regex-syntax v0.8.5 Compiling writeable v0.5.5 Compiling log v0.4.26 Compiling litemap v0.7.5 Compiling icu_locid v1.5.0 Compiling regex-automata v0.4.9 Compiling darling v0.20.10 Compiling icu_provider_macros v1.5.0 Compiling tokio-macros v2.5.0 Compiling parking_lot v0.12.3 Compiling mio v1.0.3 Compiling signal-hook-registry v1.4.2 Compiling socket2 v0.5.8 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.2 Compiling tokio v1.44.0 Compiling indexmap v2.7.1 Compiling icu_provider v1.5.0 Compiling num-traits v0.2.19 Compiling ahash v0.8.11 Compiling untrusted v0.9.0 Compiling pin-utils v0.1.0 Compiling icu_locid_transform_data v1.5.0 Compiling ryu v1.0.20 Compiling futures-task v0.3.31 Compiling futures-util v0.3.31 Compiling icu_locid_transform v1.5.0 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling icu_collections v1.5.0 Compiling slab v0.4.9 Compiling serde_json v1.0.140 Compiling unicase v2.8.1 Compiling icu_properties_data v1.5.0 Compiling thiserror v2.0.12 Compiling mime_guess v2.0.5 Compiling http v0.2.12 Compiling icu_properties v1.5.1 Compiling digest v0.10.7 Compiling derive_builder_core v0.20.2 Compiling futures-channel v0.3.31 Compiling thiserror-impl v2.0.12 Compiling tracing-core v0.1.33 Compiling bstr v1.11.3 Compiling minimal-lexical v0.2.1 Compiling rustls v0.21.12 Compiling allocator-api2 v0.2.21 Compiling utf8_iter v1.0.4 Compiling utf16_iter v1.0.5 Compiling httparse v1.10.1 Compiling cpufeatures v0.2.17 Compiling same-file v1.0.6 Compiling write16 v1.0.0 Compiling icu_normalizer_data v1.5.0 Compiling icu_normalizer v1.5.0 Compiling walkdir v2.5.0 Compiling globset v0.4.16 Compiling hashbrown v0.14.5 Compiling sha2 v0.10.8 Compiling nom v7.1.3 Compiling tracing v0.1.41 Compiling derive_builder_macro v0.20.2 Compiling chrono v0.4.40 Compiling sct v0.7.1 Compiling rustls-webpki v0.101.7 Compiling tokio-util v0.7.13 Compiling regex v1.11.1 Compiling ppv-lite86 v0.2.20 Compiling rand_core v0.6.4 Compiling encoding_rs v0.8.35 Compiling num-conv v0.1.0 Compiling getrandom v0.3.1 Compiling base64 v0.21.7 Compiling mime v0.3.17 Compiling powerfmt v0.2.0 Compiling try-lock v0.2.5 Compiling alloc-no-stdlib v2.0.4 Compiling inventory v0.3.20 Compiling thiserror v1.0.69 Compiling percent-encoding v2.3.1 Compiling futures-io v0.3.31 Compiling time-core v0.1.3 Compiling time-macros v0.2.20 Compiling form_urlencoded v1.2.1 Compiling serde_json_path_core v0.2.2 Compiling alloc-stdlib v0.2.2 Compiling want v0.3.1 Compiling deranged v0.3.11 Compiling quick-xml v0.37.2 Compiling rustls-pemfile v1.0.4 Compiling rand_chacha v0.3.1 Compiling h2 v0.3.26 Compiling diligent-date-parser v0.1.5 Compiling rinja_parser v0.3.5 Compiling derive_builder v0.20.2 Compiling rust-embed-utils v8.6.0 Compiling idna_adapter v1.2.0 Compiling http-body v0.4.6 Compiling toml_datetime v0.6.8 Compiling serde_spanned v0.6.8 Compiling thiserror-impl v1.0.69 Compiling serde_json_path_macros_internal v0.1.2 Compiling is-terminal v0.4.16 Compiling core2 v0.4.0 Compiling cookie v0.18.1 Compiling tower-service v0.3.3 Compiling rle-decode-fast v1.0.3 Compiling winnow v0.7.3 Compiling httpdate v1.0.3 Compiling clap_lex v0.7.4 Compiling openssl-probe v0.1.6 Compiling rustc-hash v2.1.1 Compiling heck v0.5.0 Compiling pulldown-cmark v0.12.2 Compiling termcolor v1.4.1 Compiling never v0.1.0 Compiling anstyle v1.0.10 Compiling num_threads v0.1.7 Compiling humantime v2.1.0 Compiling time v0.3.39 Compiling env_logger v0.10.2 Compiling toml_edit v0.22.24 Compiling clap_builder v4.5.31 Compiling atom_syndication v0.12.7 Compiling clap_derive v4.5.28 Compiling rinja_derive v0.3.5 Compiling rustls-native-certs v0.6.3 Compiling hyper v0.14.32 Compiling libflate_lz77 v2.1.0 Compiling serde_json_path_macros v0.1.6 Compiling idna v1.0.3 Compiling rust-embed-impl v8.6.0 Compiling tokio-rustls v0.24.1 Compiling rand v0.8.5 Compiling brotli-decompressor v4.0.2 Compiling futures v0.3.31 Compiling cached_proc_macro v0.23.0 Compiling revision-derive v0.10.0 Compiling async-trait v0.1.87 Compiling crc32fast v1.4.2 Compiling bitflags v2.9.0 Compiling parking v2.2.1 Compiling web-time v1.1.0 Compiling redlib v0.35.1 (/tmp/pkgbuild/www/redlib/work/redlib-0.36.0) Compiling dary_heap v0.3.7 Compiling pulldown-cmark-escape v0.11.0 Compiling unsafe-libyaml v0.2.11 Compiling cached_proc_macro_types v0.1.1 Compiling fastrand v2.3.0 Compiling adler32 v1.2.0 Compiling libflate v2.1.0 Compiling cached v0.54.0 Compiling serde_yaml v0.9.34+deprecated Compiling futures-lite v2.6.0 Compiling revision v0.10.0 Compiling brotli v7.0.0 Compiling tegen v0.1.4 Compiling uuid v1.15.1 Compiling rust-embed v8.6.0 Compiling hyper-rustls v0.24.2 Compiling url v2.5.4 Compiling serde_json_path v0.7.2 Compiling rinja v0.3.5 Compiling clap v4.5.31 Compiling rss v2.0.12 Compiling toml v0.8.20 Compiling pretty_env_logger v0.5.0 Compiling serde_urlencoded v0.7.1 Compiling bincode v1.3.3 Compiling async-recursion v1.1.1 Compiling htmlescape v0.3.1 Compiling arc-swap v1.7.1 Compiling base64 v0.22.1 Compiling dotenvy v0.15.7 Compiling base2048 v2.0.2 Compiling build_html v2.6.0 Compiling route-recognizer v0.3.1 error: unexpected closing tag `endblock` --> templates/duplicates.html:10:41 " endblock %}{% block location %}r/{{ post.community }}{% endblock %}\n{% block head %}\n\t{% call super() %}\n{% endblock %}\n\n{% block subscriptions %}\n\t{% call utils::sub_list(post.community.as_str()) %}\n{% endblock %}\n\n{% block content %}\n
\n\t\t{% call utils::post(post) %}\n\n \n {% if post.num_duplicates == 0 %}\n (No duplicates found)\n {% else if post.flags.nsfw && prefs.show_nsfw != \"on\" %}\n (Enable \"Show NSFW posts\" in settings to show duplicates)\n {% else %}\n

Duplicates

\n {% if num_posts_filtered > 0 %}\n \n {% if all_posts_filtered %}\n (All posts have been filtered)\n {% else %}\n (Some posts have been filtered)\n {% endif %}\n \n {% endif %}\n\n
\n \n
\n\n
\n {% for post in duplicates -%}\n {# TODO: utils::post should be reworked to permit a truncated display of a post as below #}\n {% if !(post.flags.nsfw) || prefs.show_nsfw == \"on\" %}\n
\n

\n {% let community -%}\n {% if post.community.starts_with(\"u_\") -%}\n {% let community = format!(\"u/{}\", &post.community[2..]) -%}\n {% else -%}\n {% let community = format!(\"r/{}\", post.community) -%}\n {% endif -%}\n {{ post.community }}\n \n u/{{ post.author.name }}\n \n {{ post.rel_time }}\n {% if !post.awards.is_empty() && prefs.hide_awards != \"on\" %}\n {% for award in post.awards.clone() %}\n \n \"{{\n \n {% endfor %}\n {% endif %}\n

\n

\n {% if post.flair.flair_parts.len() > 0 %}\n {% call utils::render_flair(post.flair.flair_parts) %}\n {% endif %}\n {{ post.title }}{% if post.flags.nsfw %} NSFW{% endif %}\n

\n \n
\n {% if prefs.hide_score != \"on\" %}\n {{ post.score.0 }}\n {% else %}\n •\n {% endif %}\n Upvotes
\n \n\n
\n {% endif %}\n {%- endfor %}\n
\n\n \n {% endif %}\n
\n{% endblock %}" --> src/duplicates.rs:25:19 | 25 | #[template(path = "duplicates.html")] | ^^^^^^^^^^^^^^^^^ error: unexpected closing tag `endblock` --> templates/message.html:10:2 " endblock %}" --> src/instance_info.rs:229:19 | 229 | #[template(path = "message.html")] | ^^^^^^^^^^^^^^ error: node `else` was not expected in the current context --> templates/post.html:7:3 " else %}\n\t\t{{ post.title }} - r/{{ post.community }}\n\t{% endif %}\n{% endblock %}\n\n{% block search %}\n\t{% call utils::search([\"/r/\", post.community.as_str()].concat(), \"\") %}\n{% endblock %}\n\n{% block root %}/r/{{ post.community }}{% endblock %}{% block location %}r/{{ post.community }}{% endblock %}\n{% block head %}\n\t{% call super() %}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t{% if post.post_type == \"image\" %}\n\t\n\t\n\t\n\t\n\t{% else if post.post_type == \"video\" || post.post_type == \"gif\" %}\n\t\n\t\n\t\n\t\n\t{% else %}\n\t\n\t{% if single_thread %}\n\t\n\t{% endif %}\n\t{% endif %}\n{% endblock %}\n\n{% block subscriptions %}\n\t{% call utils::sub_list(post.community.as_str()) %}\n{% endblock %}\n\n{% block content %}\n\t
\n\t\t{% call utils::post(post) %}\n\n\t\t\n
\n\t\t
\n\t\t\t

{{post.comments.0}} {% if post.comments.0 == \"1\" %}comment{% else %}comments{% endif %} sorted by

\n\t\t\t\n \n
\n \n
\n \n \n
\n
\n \n
\n {% if comment_query != \"\" %}\n Comments containing \"{{ comment_query }}\" | All comments\n {% endif %}\n
\n\n\t\t\n\t\t{% for c in comments -%}\n\t\t
\n\t\t\t{% if single_thread %}\n\t\t\t

View all comments

\n\t\t\t{% if c.parent_kind == \"t1\" %}\n\t\t\t

Show parent comments

\n\t\t\t{% endif %}\n\t\t\t{% endif %}\n\t\t\t\n\t\t\t{{ c.render().unwrap()|safe }}\n\t\t
\n\t\t{%- endfor %}\n\n\t
\n{% endblock %}" --> src/post.rs:20:19 | 20 | #[template(path = "post.html")] | ^^^^^^^^^^^ error: unexpected closing tag `endif` --> templates/search.html:66:4 " endif %}\n\t\t{% endif %}\n\n\t\t{% if all_posts_hidden_nsfw %}\n\t\tAll posts are hidden because they are NSFW. Enable \"Show NSFW posts\" in settings to view.\n\t\t{% endif %}\n\n\t\t{% if no_posts %}\n\t\t\t
No posts were found.
\n\t\t{% endif %}\n\n\t\t{% if all_posts_filtered %}\n\t\t\t(All content on this page has been filtered)\n\t\t{% else if is_filtered %}\n\t\t\t(Content from r/{{ sub }} has been filtered)\n\t\t{% else if params.typed != \"sr_user\" %}\n\t\t\t{% for post in posts %}\n\t\t\t\t{% if post.flags.nsfw && prefs.show_nsfw != \"on\" %}\n\t\t\t\t{% else if !post.title.is_empty() %}\n\t\t\t\t\t{% call utils::post_in_list(post) %}\n\t\t\t\t{% else %}\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n {% if prefs.hide_score != \"on\" %}\n {{ post.score.0 }}\n {% else %}\n •\n {% endif %}\n

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCOMMENT\n\t\t\t\t\t\t\t\t{{ post.rel_time }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

{{ post.body }}

\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t{% endif %}\n\t\t\t{% endfor %}\n\t\t{% endif %}\n\t\t{% if prefs.use_hls == \"on\" %}\n\t\t\n\t\t\n\t\t{% endif %}\n\n\t\t{% if params.typed != \"sr_user\" %}\n\t\t\n\t\t{% endif %}\n\t\n{% endblock %}" --> src/search.rs:36:19 | 36 | #[template(path = "search.html")] | ^^^^^^^^^^^^^ error: unexpected closing tag `endblock` --> templates/settings.html:217:2 " endblock %}" --> src/settings.rs:19:19 | 19 | #[template(path = "settings.html")] | ^^^^^^^^^^^^^^^ error: unexpected closing tag `endblock` --> templates/subreddit.html:160:2 " endblock %}" --> src/subreddit.rs:22:19 | 22 | #[template(path = "subreddit.html")] | ^^^^^^^^^^^^^^^^ error: unknown start of token: \ --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `ranel` is unknown --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rp` is unknown --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: mismatched closing delimiter: `}` --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ | | | mismatched closing delimiter | closing delimiter possibly meant for this | unclosed delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected closing delimiter: `}` --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ | | | this opening brace... | ...matches this closing brace | unexpected closing delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/subreddit.rs:41:10 | 41 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rT` is unknown --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rve` is unknown --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rt` is unknown --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rtinue` is unknown --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: mismatched closing delimiter: `}` --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ | | | mismatched closing delimiter | closing delimiter possibly meant for this | unclosed delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected closing delimiter: `}` --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ | | | this opening brace... | ...matches this closing brace | unexpected closing delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/subreddit.rs:51:10 | 51 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rew` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rp` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rsial` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `ry` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rr` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `r_icon` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `icon` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rtitle` is unknown --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0765]: unterminated double quote string --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/user.rs:15:10 | 15 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rhtml` is unknown --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rt` is unknown --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `r6` is unknown --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `rs` is unknown --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: mismatched closing delimiter: `}` --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ | | | mismatched closing delimiter | closing delimiter possibly meant for this | unclosed delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected closing delimiter: `}` --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ | | | this opening brace... | ...matches this closing brace | unexpected closing delimiter | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/utils.rs:469:10 | 469 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/utils.rs:548:10 | 548 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0765]: unterminated double quote string --> src/utils.rs:548:10 | 548 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/utils.rs:548:10 | 548 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/utils.rs:556:10 | 556 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0765]: unterminated double quote string --> src/utils.rs:556:10 | 556 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/utils.rs:556:10 | 556 | #[derive(Template)] | ^^^^^^^^ error: unknown start of token: \ --> src/utils.rs:567:10 | 567 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: prefix `user` is unknown --> src/utils.rs:567:10 | 567 | #[derive(Template)] | ^^^^^^^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0765]: unterminated double quote string --> src/utils.rs:567:10 | 567 | #[derive(Template)] | ^^^^^^^^ | = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) error: proc-macro derive panicked --> src/utils.rs:567:10 | 567 | #[derive(Template)] | ^^^^^^^^ warning: unused import: `std::env` --> src/utils.rs:22:5 | 22 | use std::env; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default error[E0599]: no method named `render` found for struct `ErrorTemplate` in the current scope --> src/instance_info.rs:34:5 | 29 | let error = ErrorTemplate { | _________________________- 30 | | msg: "Error: Invalid info extension".into(), 31 | | prefs: Preferences::new(&req), 32 | | url: req.uri().to_string(), 33 | | } 34 | | .render() | | -^^^^^^ method not found in `ErrorTemplate` | |_____________| | | ::: src/utils.rs:550:1 | 550 | pub struct ErrorTemplate { | ------------------------ method `render` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `render`, perhaps you need to implement it: candidate #1: `Template` error[E0277]: the trait bound `WikiTemplate: Template` is not satisfied --> src/subreddit.rs:473:31 | 473 | Ok(response) => Ok(template(&WikiTemplate { | ____________________________--------_^ | | | | | required by a bound introduced by this call 474 | | sub, 475 | | wiki: rewrite_urls(response["data"]["content_html"].as_str().unwrap_or("

Wiki not found

")), 476 | | page, 477 | | prefs: Preferences::new(&req), 478 | | url, 479 | | })), | |_________^ the trait `Template` is not implemented for `WikiTemplate` | = help: the following other types implement trait `Template`: &T SubredditTemplate note: required by a bound in `template` --> src/utils.rs:1305:26 | 1305 | pub fn template(t: &impl Template) -> Response { | ^^^^^^^^ required by this bound in `template` error[E0277]: the trait bound `WikiTemplate: Template` is not satisfied --> src/subreddit.rs:506:31 | 506 | Ok(response) => Ok(template(&WikiTemplate { | ____________________________--------_^ | | | | | required by a bound introduced by this call 507 | | wiki: rewrite_urls(&val(&response, "description_html")), ... | 516 | | url, 517 | | })), | |_________^ the trait `Template` is not implemented for `WikiTemplate` | = help: the following other types implement trait `Template`: &T SubredditTemplate note: required by a bound in `template` --> src/utils.rs:1305:26 | 1305 | pub fn template(t: &impl Template) -> Response { | ^^^^^^^^ required by this bound in `template` error[E0277]: the trait bound `UserTemplate: Template` is not satisfied --> src/user.rs:67:15 | 67 | Ok(template(&UserTemplate { | ____________--------_^ | | | | | required by a bound introduced by this call 68 | | user, 69 | | posts: Vec::new(), 70 | | sort: (sort, param(&path, "t").unwrap_or_default()), ... | 79 | | no_posts: false, 80 | | })) | |_________^ the trait `Template` is not implemented for `UserTemplate` | = help: the trait `Template` is implemented for `&T` note: required by a bound in `template` --> src/utils.rs:1305:26 | 1305 | pub fn template(t: &impl Template) -> Response { | ^^^^^^^^ required by this bound in `template` error[E0277]: the trait bound `UserTemplate: Template` is not satisfied --> src/user.rs:88:17 | 88 | Ok(template(&UserTemplate { | ____________________--------_^ | | | | | required by a bound introduced by this call 89 | | user, 90 | | posts, 91 | | sort: (sort, param(&path, "t").unwrap_or_default()), ... | 100 | | no_posts, 101 | | })) | |_________________^ the trait `Template` is not implemented for `UserTemplate` | = help: the trait `Template` is implemented for `&T` note: required by a bound in `template` --> src/utils.rs:1305:26 | 1305 | pub fn template(t: &impl Template) -> Response { | ^^^^^^^^ required by this bound in `template` error[E0599]: no method named `render` found for struct `ErrorTemplate` in the current scope --> src/utils.rs:1331:3 | 550 | pub struct ErrorTemplate { | ------------------------ method `render` not found for this struct ... 1326 | let body = ErrorTemplate { | ________________- 1327 | | msg: msg.to_string(), 1328 | | prefs: Preferences::new(&req), 1329 | | url, 1330 | | } 1331 | | .render() | | -^^^^^^ method not found in `ErrorTemplate` | |_____| | | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `render`, perhaps you need to implement it: candidate #1: `Template` error[E0599]: no method named `render` found for struct `InfoTemplate` in the current scope --> src/utils.rs:1345:3 | 558 | pub struct InfoTemplate { | ----------------------- method `render` not found for this struct ... 1340 | let body = InfoTemplate { | ________________- 1341 | | msg: msg.to_string(), 1342 | | prefs: Preferences::new(&req), 1343 | | url, 1344 | | } 1345 | | .render() | | -^^^^^^ method not found in `InfoTemplate` | |_____| | | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `render`, perhaps you need to implement it: candidate #1: `Template` error[E0599]: no method named `render` found for struct `NSFWLandingTemplate` in the current scope --> src/utils.rs:1422:3 | 569 | pub struct NSFWLandingTemplate { | ------------------------------ method `render` not found for this struct ... 1416 | let body = NSFWLandingTemplate { | ________________- 1417 | | res: resource, 1418 | | res_type, 1419 | | prefs: Preferences::new(&req), ... | 1422 | | .render() | | -^^^^^^ method not found in `NSFWLandingTemplate` | |_____| | | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `render`, perhaps you need to implement it: candidate #1: `Template` error[E0599]: no method named `render` found for struct `WallTemplate` in the current scope --> src/subreddit.rs:210:14 | 53 | struct WallTemplate { | ------------------- method `render` not found for this struct ... 210 | .body(wall.render().unwrap_or_default().into()) | ^^^^^^ method not found in `WallTemplate` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `render`, perhaps you need to implement it: candidate #1: `Template` Some errors have detailed explanations: E0277, E0599, E0765. For more information about an error, try `rustc --explain E0277`. warning: `redlib` (lib) generated 1 warning error: could not compile `redlib` (lib) due to 58 previous errors; 1 warning emitted *** Error code 101 Stop. make[1]: stopped making "all" in /usr/pkgsrc/www/redlib *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/www/redlib