[INFO] fetching crate faster-pest 0.2.0-alpha.1... [INFO] testing faster-pest-0.2.0-alpha.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate faster-pest 0.2.0-alpha.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate faster-pest 0.2.0-alpha.1 [INFO] finished tweaking crates.io crate faster-pest 0.2.0-alpha.1 [INFO] tweaked toml for crates.io crate faster-pest 0.2.0-alpha.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate faster-pest 0.2.0-alpha.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate faster-pest 0.2.0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded faster-pest-generator v0.2.0-alpha.1 [INFO] [stderr] Downloaded faster-pest-derive v0.2.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9a3246e10c4ce21773fd8af405d9ff9502681234d5a2fb1701293d56644ae49 [INFO] running `Command { std: "docker" "start" "-a" "d9a3246e10c4ce21773fd8af405d9ff9502681234d5a2fb1701293d56644ae49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9a3246e10c4ce21773fd8af405d9ff9502681234d5a2fb1701293d56644ae49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a3246e10c4ce21773fd8af405d9ff9502681234d5a2fb1701293d56644ae49", kill_on_drop: false }` [INFO] [stdout] d9a3246e10c4ce21773fd8af405d9ff9502681234d5a2fb1701293d56644ae49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d72286de6780649351fd895de50a3283df8dae77643112cfa446a0e36145ede4 [INFO] running `Command { std: "docker" "start" "-a" "d72286de6780649351fd895de50a3283df8dae77643112cfa446a0e36145ede4", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling faster-pest-generator v0.2.0-alpha.1 [INFO] [stderr] Compiling faster-pest-derive v0.2.0-alpha.1 [INFO] [stderr] Compiling faster-pest v0.2.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ident.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.47s [INFO] running `Command { std: "docker" "inspect" "d72286de6780649351fd895de50a3283df8dae77643112cfa446a0e36145ede4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72286de6780649351fd895de50a3283df8dae77643112cfa446a0e36145ede4", kill_on_drop: false }` [INFO] [stdout] d72286de6780649351fd895de50a3283df8dae77643112cfa446a0e36145ede4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b29243343cb779bcf305657a8eb7e11d81eb21a61970d4ee5ff28b65d5974847 [INFO] running `Command { std: "docker" "start" "-a" "b29243343cb779bcf305657a8eb7e11d81eb21a61970d4ee5ff28b65d5974847", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ident.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling faster-pest v0.2.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/ini/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not read grammar file at "faster-pest/examples/ini/grammar.pest" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/csv/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not read grammar file at "faster-pest/examples/csv/grammar.pest" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/po/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not read grammar file at "faster-pest/examples/po/grammar.pest" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/lightgrep/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not read grammar file at "faster-pest/examples/lightgrep/grammar.pest" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/json/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not read grammar file at "faster-pest/examples/json/grammar.pest" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/po/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_file` found for struct `POParser` in the current scope [INFO] [stdout] --> examples/po/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct POParser; [INFO] [stdout] | ------------------- function or associated item `parse_file` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let output = POParser::parse_file(&unparsed_file).map_err(|e| e.print(unparsed_file.as_str())).expect("unsuccessful parse"); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `POParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `CSVParser` in the current scope [INFO] [stdout] --> examples/csv/main.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 5 | struct CSVParser { [INFO] [stdout] | ---------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let file = CSVParser::parse(Rule::file, &unparsed_file) [INFO] [stdout] | ^^^^^ function or associated item not found in `CSVParser` [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 `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `pest::parser::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/csv/main.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let file = CSVParser::parse(Rule::file, &unparsed_file) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> examples/json/main.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_ident_ref(value: IdentRef<'i, Ident>) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl<'i, Ident> Value<'i> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> examples/json/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | fn unescape<'i>(s: IdentRef<'i, Ident>) -> Cow<'i, str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn unescape<'i, Ident>(s: IdentRef<'i, Ident>) -> Cow<'i, str> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/po/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Rule::entry => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/csv/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Rule::record => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `faster-pest` (example "po") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `faster-pest` (example "csv") due to 4 previous errors [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> examples/lightgrep/main.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_ident_ref(value: IdentRef) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | impl ExpressionRationnelle { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `INIParser` in the current scope [INFO] [stdout] --> examples/ini/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct INIParser; [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let file = INIParser::parse(Rule::file, &unparsed_file) [INFO] [stdout] | ^^^^^ function or associated item not found in `INIParser` [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 `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `pest::parser::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/ini/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let file = INIParser::parse(Rule::file, &unparsed_file) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/ini/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Rule::property => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/ini/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Rule::section => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ident.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn root(&self) -> IdentRef<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `faster-pest` (example "ini") due to 5 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `parse_file` found for struct `JsonParser` in the current scope [INFO] [stdout] --> examples/json/main.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct JsonParser; [INFO] [stdout] | --------------------- function or associated item `parse_file` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let output = JsonParser::parse_file(&unparsed_file).map_err(|e| e.print(unparsed_file.as_str())).expect("unsuccessful parse"); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `JsonParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Rule::string => Value::String(unescape(value)), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Rule::number => Value::Number(value.as_str().parse().expect("number")), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Rule::boolean => Value::Boolean(value.as_str() == "true"), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Rule::array => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Rule::object => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Rule::null => Value::Null, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Rule::property | Rule::file | Rule::escaped_char => unreachable!(), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | Rule::property | Rule::file | Rule::escaped_char => unreachable!(), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/json/main.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | Rule::property | Rule::file | Rule::escaped_char => unreachable!(), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `faster-pest` (example "json") due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | debug_assert!(element_ens_lettre.as_rule() == Rule::element_ens_lettre); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_file` found for struct `LightgrepParser` in the current scope [INFO] [stdout] --> examples/lightgrep/main.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LightgrepParser; [INFO] [stdout] | -------------------------- function or associated item `parse_file` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let output = LightgrepParser::parse_file(&unparsed_file).map_err(|e| e.print(unparsed_file.as_str())).expect("unsuccessful parse"); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `LightgrepParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Rule::er => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Rule::erc => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Rule::erb => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | Rule::er => ExpressionRationnelle::from_ident_ref(ere), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | ... Rule::caractere | Rule::caractere_echape => ExpressionRationnelle::Lettre(ere.as_str().chars().next().expect("caractere")), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | ... Rule::caractere | Rule::caractere_echape => ExpressionRationnelle::Lettre(ere.as_str().chars().next().expect("caractere")), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Rule::joker => ExpressionRationnelle::Joker, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Rule::ens_lettre => ExpressionRationnelle::from_ident_ref(ere), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> examples/lightgrep/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Rule::ens_lettre => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `faster-pest` (example "lightgrep") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "b29243343cb779bcf305657a8eb7e11d81eb21a61970d4ee5ff28b65d5974847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29243343cb779bcf305657a8eb7e11d81eb21a61970d4ee5ff28b65d5974847", kill_on_drop: false }` [INFO] [stdout] b29243343cb779bcf305657a8eb7e11d81eb21a61970d4ee5ff28b65d5974847