===> 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 diffsitter-0.9.0 Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling libc v0.2.172 Compiling memchr v2.7.4 Compiling thiserror v2.0.12 Compiling quote v1.0.40 Compiling syn v2.0.100 Compiling serde v1.0.219 Compiling crossbeam-utils v0.8.21 Compiling rand_core v0.6.4 Compiling siphasher v1.0.1 Compiling rand v0.8.5 Compiling phf_shared v0.11.3 Compiling jobserver v0.1.33 Compiling shlex v1.3.0 Compiling utf8parse v0.2.2 Compiling cfg-if v1.0.0 Compiling hashbrown v0.15.2 Compiling serde_json v1.0.140 Compiling rustix v1.0.5 Compiling equivalent v1.0.2 Compiling indexmap v2.9.0 Compiling crossbeam-epoch v0.9.18 Compiling anstyle-parse v0.2.6 Compiling cc v1.2.19 Compiling thiserror-impl v2.0.12 Compiling serde_derive v1.0.219 Compiling phf_generator v0.11.3 Compiling errno v0.3.11 Compiling aho-corasick v1.1.3 Compiling is_terminal_polyfill v1.70.1 Compiling regex-syntax v0.8.5 Compiling once_cell v1.21.3 Compiling itoa v1.0.15 Compiling object v0.36.7 Compiling ryu v1.0.20 Compiling heck v0.5.0 Compiling colorchoice v1.0.3 Compiling log v0.4.27 Compiling ucd-trie v0.1.7 Compiling anstyle-query v1.1.2 Compiling anstyle v1.0.10 Compiling bitflags v2.9.0 Compiling rayon-core v1.12.1 Compiling anstream v0.6.18 Compiling pest v2.8.0 Compiling regex-automata v0.4.9 Compiling phf_macros v0.11.3 Compiling crossbeam-deque v0.8.6 Compiling rustversion v1.0.20 Compiling syn v1.0.109 Compiling unicode-width v0.2.0 Compiling adler2 v2.0.0 Compiling anyhow v1.0.98 Compiling getrandom v0.3.2 Compiling gimli v0.31.1 Compiling regex v1.11.1 Compiling addr2line v0.24.2 Compiling miniz_oxide v0.8.8 Compiling tree-sitter v0.25.3 Compiling pest_meta v2.8.0 Compiling terminal_size v0.4.2 Compiling toml_datetime v0.6.8 Compiling serde_spanned v0.6.8 Compiling rustc-demangle v0.1.24 Compiling strsim v0.11.1 Compiling unicase v2.8.1 Compiling either v1.15.0 Compiling clap_lex v0.7.4 Compiling clap_builder v4.5.37 Compiling rayon v1.10.0 Compiling backtrace v0.3.74 Compiling toml_edit v0.22.24 Compiling pest_generator v2.8.0 Compiling phf v0.11.3 Compiling clap_derive v4.5.32 Compiling is-terminal v0.4.16 Compiling termcolor v1.4.1 Compiling humantime v2.2.0 Compiling cargo-emit v0.2.1 Compiling diffsitter v0.9.0 (/tmp/pkgbuild/devel/diffsitter/work/diffsitter-0.9.0) warning: unused import: `anyhow::Result` --> build.rs:22:5 | 22 | use anyhow::Result; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::fmt::Write` --> build.rs:23:5 | 23 | use std::fmt::Write; | ^^^^^^^^^^^^^^^ warning: `diffsitter` (build script) generated 2 warnings Compiling env_logger v0.10.2 Compiling logging_timer_proc_macros v1.1.1 Compiling clap v4.5.37 Compiling uuid v1.16.0 Compiling strum_macros v0.27.1 Compiling pest_derive v2.8.0 Compiling toml v0.8.20 Compiling os_info v3.10.0 Compiling streaming-iterator v0.1.9 Compiling tree-sitter-language v0.1.5 Compiling strum v0.27.1 Compiling console v0.15.11 Compiling human-panic v2.0.2 Compiling json5 v0.4.1 error: proc-macro derive panicked --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:12:10 | 12 | #[derive(Parser)] | ^^^^^^ | = help: message: error parsing --> 4:40 | 4 | COMMENT = _{ "/*" ~ (!"*/" ~ ANY)* ~ "*/" | "//" ~ (!line_terminator ~ ANY)* } | ^--- | = expected `{`, `}`, `&`, `|`, `?`, `*`, or `+` error[E0432]: unresolved import `crate::de::Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/error.rs:5:5 | 5 | use crate::de::Rule; | ^^^^^^^^^^^^^^^ no `Rule` in `de` error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:27:28 | 27 | pair: Option>, | ^^^^ not found in this scope | help: you might be missing a type parameter | 26 | pub struct Deserializer<'de, Rule> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:38:34 | 38 | fn from_pair(pair: Pair<'de, Rule>) -> Self { | ^^^^ not found in this scope | help: you might be missing a type parameter | 30 | impl<'de, Rule> Deserializer<'de> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:251:31 | 251 | fn parse_bool(pair: &Pair<'_, Rule>) -> bool { | ^^^^ not found in this scope | help: you might be missing a type parameter | 251 | fn parse_bool(pair: &Pair<'_, Rule>) -> bool { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:259:42 | 259 | fn parse_string_component(pair: Pair<'_, Rule>) -> Result { | ^^^^ not found in this scope | help: you might be missing a type parameter | 259 | fn parse_string_component(pair: Pair<'_, Rule>) -> Result { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:330:32 | 330 | fn parse_string(pair: Pair<'_, Rule>) -> Result { | ^^^^ not found in this scope | help: you might be missing a type parameter | 330 | fn parse_string(pair: Pair<'_, Rule>) -> Result { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:337:54 | 337 | fn parse_char_escape_sequence<'a>(pair: &'a Pair<'_, Rule>) -> &'a str { | ^^^^ not found in this scope | help: you might be missing a type parameter | 337 | fn parse_char_escape_sequence<'a, Rule>(pair: &'a Pair<'_, Rule>) -> &'a str { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:349:33 | 349 | fn parse_number(pair: &Pair<'_, Rule>) -> Result { | ^^^^ not found in this scope | help: you might be missing a type parameter | 349 | fn parse_number(pair: &Pair<'_, Rule>) -> Result { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:369:34 | 369 | fn parse_integer(pair: &Pair<'_, Rule>) -> Result { | ^^^^ not found in this scope | help: you might be missing a type parameter | 369 | fn parse_integer(pair: &Pair<'_, Rule>) -> Result { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:402:31 | 402 | pairs: VecDeque>, | ^^^^ not found in this scope | help: you might be missing a type parameter | 401 | struct Seq<'de, Rule> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:406:32 | 406 | pub fn new(pair: Pair<'de, Rule>) -> Self { | ^^^^ not found in this scope | help: you might be missing a type parameter | 405 | impl<'de, Rule> Seq<'de> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:434:31 | 434 | pairs: VecDeque>, | ^^^^ not found in this scope | help: you might be missing a type parameter | 433 | struct Map<'de, Rule> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:438:32 | 438 | pub fn new(pair: Pair<'de, Rule>) -> Self { | ^^^^ not found in this scope | help: you might be missing a type parameter | 437 | impl<'de, Rule> Map<'de> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:475:21 | 475 | pair: Pair<'de, Rule>, | ^^^^ not found in this scope | help: you might be missing a type parameter | 474 | struct Enum<'de, Rule> { | ++++++ error[E0412]: cannot find type `Rule` in this scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:510:28 | 510 | pair: Option>, | ^^^^ not found in this scope | help: you might be missing a type parameter | 509 | struct Variant<'de, Rule> { | ++++++ error[E0599]: no function or associated item named `parse` found for struct `de::Parser` in the current scope --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:34:28 | 14 | struct Parser; | ------------- function or associated item `parse` not found for this struct ... 34 | let pair = Parser::parse(Rule::text, input)?.next().unwrap(); | ^^^^^ function or associated item not found in `de::Parser` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `parse`, perhaps you need to implement it: candidate #1: `pest::Parser` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:34:34 | 34 | let pair = Parser::parse(Rule::text, input)?.next().unwrap(); | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:546:17 | 546 | Rule::object => visitor.visit_map(Map::new(pair)), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:53:13 | 53 | Rule::null => visitor.visit_unit(), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:54:13 | 54 | Rule::boolean => visitor.visit_bool(parse_bool(&pair)), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:55:13 | 55 | Rule::string | Rule::identifier => visitor.visit_string(parse_string(pair)?), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:55:28 | 55 | Rule::string | Rule::identifier => visitor.visit_string(parse_string(pair)?), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:56:13 | 56 | Rule::number => { | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:63:13 | 63 | Rule::array => visitor.visit_seq(Seq::new(pair)), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:64:13 | 64 | Rule::object => visitor.visit_map(Map::new(pair)), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:228:13 | 228 | Rule::null => visitor.visit_none(), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:265:13 | 265 | Rule::char_literal => result.push_str(component.as_str()), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:266:13 | 266 | Rule::char_escape_sequence => result.push_str(parse_char_escape_sequence(&component)), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:267:13 | 267 | Rule::nul_escape_sequence => result.push_str("\u{0000}"), | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:268:13 | 268 | Rule::hex_escape_sequence => { | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:275:13 | 275 | Rule::unicode_escape_sequence => { | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:488:13 | 488 | Rule::string => { | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:492:13 | 492 | Rule::object => { | ^^^^ use of undeclared type `Rule` error[E0433]: failed to resolve: use of undeclared type `Rule` --> /tmp/pkgbuild/devel/diffsitter/work/vendor/json5-0.4.1/src/de.rs:533:17 | 533 | Rule::array => visitor.visit_seq(Seq::new(pair)), | ^^^^ use of undeclared type `Rule` Some errors have detailed explanations: E0412, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `json5` (lib) due to 35 previous errors warning: build failed, waiting for other jobs to finish... *** Error code 101 Stop. make[1]: stopped making "all" in /usr/pkgsrc/devel/diffsitter *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/devel/diffsitter