[INFO] cloning repository https://github.com/Ocrap7/parsely [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ocrap7/parsely" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fparsely", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fparsely'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 572610589b862cfe5138f1671e66bf0ca1bfd45f [INFO] checking Ocrap7/parsely/572610589b862cfe5138f1671e66bf0ca1bfd45f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fparsely" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ocrap7/parsely on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ocrap7/parsely [INFO] finished tweaking git repo https://github.com/Ocrap7/parsely [INFO] tweaked toml for git repo https://github.com/Ocrap7/parsely written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ocrap7/parsely 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a88fb19ecf8edb1eb0df3fd809596178a6158e41e7f5a7e26396df7cc031635 [INFO] running `Command { std: "docker" "start" "-a" "1a88fb19ecf8edb1eb0df3fd809596178a6158e41e7f5a7e26396df7cc031635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a88fb19ecf8edb1eb0df3fd809596178a6158e41e7f5a7e26396df7cc031635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a88fb19ecf8edb1eb0df3fd809596178a6158e41e7f5a7e26396df7cc031635", kill_on_drop: false }` [INFO] [stdout] 1a88fb19ecf8edb1eb0df3fd809596178a6158e41e7f5a7e26396df7cc031635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bdf2f244657ace7cb76f41a345742d342aae0180117c6d7f7c7d6717a8d990e [INFO] running `Command { std: "docker" "start" "-a" "3bdf2f244657ace7cb76f41a345742d342aae0180117c6d7f7c7d6717a8d990e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling inkwell v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#bbe1f3d7) [INFO] [stderr] Checking parsely-lexer v0.1.0 (/opt/rustwide/workdir/parsely_lexer) [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking parsely-parser v0.1.0 (/opt/rustwide/workdir/parsely_parser) [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> parsely_parser/src/expression.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | let expr: Expression = stream.parse().expect("Parse error!"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> parsely_parser/src/expression.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let expr: Expression = stream.parse().expect("Parse error!"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParseGrouped` is never used [INFO] [stdout] --> parsely_parser/src/tokens.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub trait ParseGrouped { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParseGrouped` is never used [INFO] [stdout] --> parsely_parser/src/tokens.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub trait ParseGrouped { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling inkwell_internals v0.8.0 (https://github.com/TheDan64/inkwell?branch=master#bbe1f3d7) [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling llvm-sys v150.1.2 [INFO] [stderr] Checking parsely-gen v0.1.0 (/opt/rustwide/workdir/parsely_gen) [INFO] [stdout] error[E0432]: unresolved import `parsely_parser::item::TokenCache` [INFO] [stdout] --> parsely_gen/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | item::{Program, TokenCache} [INFO] [stdout] | ^^^^^^^^^^ no `TokenCache` in `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parsely_parser::item::TokenCache` [INFO] [stdout] --> parsely_gen/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | item::{Program, TokenCache} [INFO] [stdout] | ^^^^^^^^^^ no `TokenCache` in `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `parsely_parser::expression::BinOperator`, `parsely_parser::expression::BinOrUnary`, `parsely_parser::expression::ByOrImpl`, `parsely_parser::expression::UnaryOperator` [INFO] [stdout] --> parsely_gen/src/expression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | BinOperator, BinOrUnary, ByOrImpl, Expression, Literal, UnaryOperator, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ no `UnaryOperator` in `expression` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ByOrImpl` in `expression` [INFO] [stdout] | | no `BinOrUnary` in `expression` [INFO] [stdout] | no `BinOperator` in `expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `parsely_parser::expression::BinOperator`, `parsely_parser::expression::BinOrUnary`, `parsely_parser::expression::ByOrImpl`, `parsely_parser::expression::UnaryOperator` [INFO] [stdout] --> parsely_gen/src/expression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | BinOperator, BinOrUnary, ByOrImpl, Expression, Literal, UnaryOperator, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ no `UnaryOperator` in `expression` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ByOrImpl` in `expression` [INFO] [stdout] | | no `BinOrUnary` in `expression` [INFO] [stdout] | no `BinOperator` in `expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parsely_parser::item::Noun` [INFO] [stdout] --> parsely_gen/src/item.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | item::Noun, [INFO] [stdout] | ^^^^^^^^^^ no `Noun` in `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parsely_parser::item::Noun` [INFO] [stdout] --> parsely_gen/src/item.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | item::Noun, [INFO] [stdout] | ^^^^^^^^^^ no `Noun` in `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> parsely_gen/src/module.rs:32:82 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'ctx> Module<'ctx> { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] 32 | pub fn new(name: impl ToString, context: &'ctx inkwell::context::Context) -> Module { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> parsely_gen/src/module.rs:32:82 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'ctx> Module<'ctx> { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] 32 | pub fn new(name: impl ToString, context: &'ctx inkwell::context::Context) -> Module { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | ValOrExpr::Expr(expr) => expr.as_span(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | ValOrExpr::Expr(expr) => expr.as_span(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Expression::Value(lit) => self.gen_literal(&lit.lit), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Expression::Value(lit) => self.gen_literal(&lit.lit), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ValueOf` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | Expression::ValueOf(v) => { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ValueOf` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | Expression::ValueOf(v) => { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Result` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Expression::Result(res) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Result` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Expression::Result(res) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:206:77 [INFO] [stdout] | [INFO] [stdout] 206 | _ => Err(raise!(@mismatch => self, left_span, right_raw.as_span())).caught(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:206:77 [INFO] [stdout] | [INFO] [stdout] 206 | _ => Err(raise!(@mismatch => self, left_span, right_raw.as_span())).caught(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:213:64 [INFO] [stdout] | [INFO] [stdout] 213 | let ValOrExpr::Expr(expr @ Expression::Function(f)) = expr_raw else { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `parsely_parser::expression::Expression` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:213:64 [INFO] [stdout] | [INFO] [stdout] 213 | let ValOrExpr::Expr(expr @ Expression::Function(f)) = expr_raw else { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:227:73 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map_err(|_| raise!(@mismatch => self, expr.as_span())); [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Expression`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/expression.rs:227:73 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map_err(|_| raise!(@mismatch => self, expr.as_span())); [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Expression` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_parser/src/expression.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Expression { [INFO] [stdout] | ------------------- doesn't satisfy `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] which is required by `&parsely_parser::expression::Expression: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Bool` found for enum `parsely_parser::expression::Literal` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | Literal::Bool(b) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Bool` found for enum `parsely_parser::expression::Literal` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | Literal::Bool(b) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parsely_gen/src/expression.rs:253:49 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(ty.into_int_type().const_int(i.value, false).as_value(ty)) [INFO] [stdout] | --------- ^^^^^^^ expected `u64`, found `Int` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/bbe1f3d/src/types/int_type.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn const_int(self, value: u64, sign_extend: bool) -> IntValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parsely_gen/src/expression.rs:253:49 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(ty.into_int_type().const_int(i.value, false).as_value(ty)) [INFO] [stdout] | --------- ^^^^^^^ expected `u64`, found `Int` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/bbe1f3d/src/types/int_type.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn const_int(self, value: u64, sign_extend: bool) -> IntValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parsely_gen/src/expression.rs:257:53 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(ty.into_float_type().const_float(f.value).as_value(ty)) [INFO] [stdout] | ----------- ^^^^^^^ expected `f64`, found `Float` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/bbe1f3d/src/types/float_type.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn const_float(self, value: f64) -> FloatValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parsely_gen/src/expression.rs:257:53 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(ty.into_float_type().const_float(f.value).as_value(ty)) [INFO] [stdout] | ----------- ^^^^^^^ expected `f64`, found `Float` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/bbe1f3d/src/types/float_type.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn const_float(self, value: f64) -> FloatValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 270 | let array_vals: Vec<_> = s [INFO] [stdout] | __________________________________________- [INFO] [stdout] 271 | | .value [INFO] [stdout] 272 | | .chars() [INFO] [stdout] | | -^^^^^ method not found in `String` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 272 | .value.chars() [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 270 | let array_vals: Vec<_> = s [INFO] [stdout] | __________________________________________- [INFO] [stdout] 271 | | .value [INFO] [stdout] 272 | | .chars() [INFO] [stdout] | | -^^^^^ method not found in `String` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 272 | .value.chars() [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | .array_type(s.value.len() as _) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 280 | .array_type(s.value.value.len() as _) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | .array_type(s.value.len() as _) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 280 | .array_type(s.value.value.len() as _) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:282:60 [INFO] [stdout] | [INFO] [stdout] 282 | .as_value(base_type.array_type(s.value.len() as _))); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 282 | .as_value(base_type.array_type(s.value.value.len() as _))); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `parsely_lexer::tokens::String` in the current scope [INFO] [stdout] --> parsely_gen/src/expression.rs:282:60 [INFO] [stdout] | [INFO] [stdout] 282 | .as_value(base_type.array_type(s.value.len() as _))); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 282 | .as_value(base_type.array_type(s.value.value.len() as _))); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Definition` found for enum `TopLevelItem` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | TopLevelItem::Definition(def) => match def.what.noun { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `TopLevelItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Definition` found for enum `TopLevelItem` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | TopLevelItem::Definition(def) => match def.what.noun { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `TopLevelItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Definition` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | Statement::Definition(def) => match def.what.noun { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Execute` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | Statement::Execute(exe) => match &exe.what.noun { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Definition` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | Statement::Definition(def) => match def.what.noun { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Execute` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | Statement::Execute(exe) => match &exe.what.noun { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Evaluate` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | Statement::Evaluate(eval) => { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Evaluate` found for enum `Statement` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | Statement::Evaluate(eval) => { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Const` found for struct `VariableInit` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | VariableInit::Const(c) => self.gen_expression(&c.value), [INFO] [stdout] | ^^^^^ associated item not found in `VariableInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Const` found for struct `VariableInit` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | VariableInit::Const(c) => self.gen_expression(&c.value), [INFO] [stdout] | ^^^^^ associated item not found in `VariableInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Mutable` found for struct `VariableInit` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | VariableInit::Mutable(c) => self.gen_expression(&c.value), [INFO] [stdout] | ^^^^^^^ associated item not found in `VariableInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Mutable` found for struct `VariableInit` in the current scope [INFO] [stdout] --> parsely_gen/src/item.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | VariableInit::Mutable(c) => self.gen_expression(&c.value), [INFO] [stdout] | ^^^^^^^ associated item not found in `VariableInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Float` found for enum `parsely_parser::types::Type` in the current scope [INFO] [stdout] --> parsely_gen/src/types.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | types::Type::Float(_) => Ok(self.context.f64_type().to_type()), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Bool` found for enum `parsely_parser::types::Type` in the current scope [INFO] [stdout] --> parsely_gen/src/types.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | types::Type::Bool(_) => Ok(self.context.bool_type().to_type()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `base_type` on type `&TypeArray` [INFO] [stdout] --> parsely_gen/src/types.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let ty = self.gen_type(&a.base_type)?; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Float` found for enum `parsely_parser::types::Type` in the current scope [INFO] [stdout] --> parsely_gen/src/types.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | types::Type::Float(_) => Ok(self.context.f64_type().to_type()), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Bool` found for enum `parsely_parser::types::Type` in the current scope [INFO] [stdout] --> parsely_gen/src/types.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | types::Type::Bool(_) => Ok(self.context.bool_type().to_type()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `base_type` on type `&TypeArray` [INFO] [stdout] --> parsely_gen/src/types.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let ty = self.gen_type(&a.base_type)?; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | Diagnostic::SymbolNotFound(ident) => ident.as_span(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | Diagnostic::SymbolNotFound(ident) => ident.as_span(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | ident.as_span().end.line.to_string().len() [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `path` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | program.path.to_str().unwrap(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | ident.as_span().end.line.to_string().len() [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `path` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | program.path.to_str().unwrap(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for reference `&Span` in the current scope [INFO] [stdout] --> parsely_gen/src/lib.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | assert!(peeked.contains(highlight)); [INFO] [stdout] | ^^^^^^^^ method not found in `&Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for reference `&Span` in the current scope [INFO] [stdout] --> parsely_gen/src/lib.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | assert!(peeked.contains(highlight)); [INFO] [stdout] | ^^^^^^^^ method not found in `&Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tokens` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | let start_token = &program.tokens[(token_index - LINE_PEEK).max(token_range.0.start)]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tokens` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let end_token = &program.tokens[(token_index + LINE_PEEK).min(token_range.0.end - 1)]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tokens` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | let start_token = &program.tokens[(token_index - LINE_PEEK).max(token_range.0.start)]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tokens` on type `&Program` [INFO] [stdout] --> parsely_gen/src/lib.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let end_token = &program.tokens[(token_index + LINE_PEEK).min(token_range.0.end - 1)]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source_lines_slice` found for reference `&Program` in the current scope [INFO] [stdout] --> parsely_gen/src/lib.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 218 | let lines = program [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | .source_lines_slice(&peeked_span) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^ method not found in `&Program` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | let span = ident.as_span(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source_lines_slice` found for reference `&Program` in the current scope [INFO] [stdout] --> parsely_gen/src/lib.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 218 | let lines = program [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | .source_lines_slice(&peeked_span) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^ method not found in `&Program` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_span` exists for reference `&Ident`, but its trait bounds were not satisfied [INFO] [stdout] --> parsely_gen/src/lib.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | let span = ident.as_span(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `&Ident` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/parsely_lexer/src/tokens.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Ident { [INFO] [stdout] | ---------------- doesn't satisfy `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] which is required by `&parsely_lexer::tokens::Ident: AsSpan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsSpan` [INFO] [stdout] --> parsely_gen/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AsSpan, Span, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsSpan` [INFO] [stdout] --> parsely_gen/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AsSpan, Span, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parsely-gen` (lib) due to 34 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `parsely-gen` (lib test) due to 34 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3bdf2f244657ace7cb76f41a345742d342aae0180117c6d7f7c7d6717a8d990e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdf2f244657ace7cb76f41a345742d342aae0180117c6d7f7c7d6717a8d990e", kill_on_drop: false }` [INFO] [stdout] 3bdf2f244657ace7cb76f41a345742d342aae0180117c6d7f7c7d6717a8d990e