[INFO] cloning repository https://github.com/carsonmyers/lsapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carsonmyers/lsapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarsonmyers%2Flsapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarsonmyers%2Flsapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df5b4c69b463ad77cd0accb7cee0fb69e0f30234 [INFO] checking carsonmyers/lsapp against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarsonmyers%2Flsapp" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carsonmyers/lsapp on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carsonmyers/lsapp [INFO] finished tweaking git repo https://github.com/carsonmyers/lsapp [INFO] tweaked toml for git repo https://github.com/carsonmyers/lsapp written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/carsonmyers/lsapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indenter v0.3.0 [INFO] [stderr] Downloaded tracing-error v0.1.2 [INFO] [stderr] Downloaded shellexpand v2.0.0 [INFO] [stderr] Downloaded os_str_bytes v2.3.0 [INFO] [stderr] Downloaded thiserror v1.0.18 [INFO] [stderr] Downloaded thiserror-impl v1.0.18 [INFO] [stderr] Downloaded color-backtrace v0.4.1 [INFO] [stderr] Downloaded eyre v0.4.2 [INFO] [stderr] Downloaded color-spantrace v0.1.1 [INFO] [stderr] Downloaded color-eyre v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29cd4c92e84fb12e529e8194e18961589f6619e0796fa3fcd507b947e7ef3085 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29cd4c92e84fb12e529e8194e18961589f6619e0796fa3fcd507b947e7ef3085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29cd4c92e84fb12e529e8194e18961589f6619e0796fa3fcd507b947e7ef3085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cd4c92e84fb12e529e8194e18961589f6619e0796fa3fcd507b947e7ef3085", kill_on_drop: false }` [INFO] [stdout] 29cd4c92e84fb12e529e8194e18961589f6619e0796fa3fcd507b947e7ef3085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb5a35ecdbae956ca67052fba659b46a6885f0cbbfc7a2dca54c791a14530ca0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb5a35ecdbae956ca67052fba659b46a6885f0cbbfc7a2dca54c791a14530ca0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling eyre v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking tracing-subscriber v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking color-backtrace v0.4.1 [INFO] [stderr] Checking shellexpand v2.0.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.18 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking thiserror v1.0.18 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.1 [INFO] [stderr] Checking color-eyre v0.3.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking lsapp v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `tokens` [INFO] [stdout] --> src/parser/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | fn match_text(&mut self, tok tokens::Token) -> Option { [INFO] [stdout] | ^^^^^^ expected one of `:`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tokens.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Debug for Token { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/parser/tree.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::span::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser/tree.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub tokens: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Debug for Node { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | first = true; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if !first { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | first = false; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Debug for Section { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl Debug for Entry { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl Debug for ValuePart { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/parser/tree.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | &Literal(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValuePart::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | &Literal(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Parameter` in this scope [INFO] [stdout] --> src/parser/tree.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | &Parameter(c) => fmt.write_fmt("%{}", c), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValuePart::Parameter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | &Parameter(c) => fmt.write_fmt("%{}", c), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl Debug for ValueKind { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Simple` in this scope [INFO] [stdout] --> src/parser/tree.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | &Simple(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValueKind::Simple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | &Simple(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Exec` in this scope [INFO] [stdout] --> src/parser/tree.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | &Exec(ss) => fmt.write_fmt("EXEC({})", ss.join(" ")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValueKind::Exec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | &Exec(ss) => fmt.write_fmt("EXEC({})", ss.join(" ")), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl Debug for Value { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenData` in this scope [INFO] [stdout] --> src/parser/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | data: TokenData<'a>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tokens::TokenData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenData` [INFO] [stdout] --> src/parser/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Parser { data: TokenData::new(data) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tokens::TokenData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/parser/mod.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Section; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/parser/mod.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | fn match_heading(&mut self) -> Result
{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Section; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/parser/mod.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | fn match_entry(&mut self) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Entry; [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `len` in this scope [INFO] [stdout] --> src/parser/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if len(self.fwd) == 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/parser/mod.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] | [INFO] [stdout] = note: assuming a `'static` lifetime... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Report`, `Result` [INFO] [stdout] --> src/parser/error.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use color_eyre::{Report, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::WrapErr` [INFO] [stdout] --> src/parser/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eyre::WrapErr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/parser/tokens.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::{Parser, State}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Report` [INFO] [stdout] --> src/parser/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use color_eyre::{Report, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/parser/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokens::Tokens` [INFO] [stdout] --> src/parser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokens::Tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0412, E0423, E0425, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsapp` due to 29 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `tokens` [INFO] [stdout] --> src/parser/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | fn match_text(&mut self, tok tokens::Token) -> Option { [INFO] [stdout] | ^^^^^^ expected one of `:`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tokens.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Debug for Token { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/parser/tree.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::span::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser/tree.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub tokens: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Debug for Node { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | first = true; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if !first { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first` in this scope [INFO] [stdout] --> src/parser/tree.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | first = false; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Debug for Section { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl Debug for Entry { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl Debug for ValuePart { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/parser/tree.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | &Literal(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValuePart::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | &Literal(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Parameter` in this scope [INFO] [stdout] --> src/parser/tree.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | &Parameter(c) => fmt.write_fmt("%{}", c), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValuePart::Parameter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | &Parameter(c) => fmt.write_fmt("%{}", c), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl Debug for ValueKind { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Simple` in this scope [INFO] [stdout] --> src/parser/tree.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | &Simple(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValueKind::Simple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | &Simple(s) => fmt.write_fmt("\"{}\"", s), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Exec` in this scope [INFO] [stdout] --> src/parser/tree.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | &Exec(ss) => fmt.write_fmt("EXEC({})", ss.join(" ")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::ValueKind::Exec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `fmt` [INFO] [stdout] --> src/parser/tree.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | &Exec(ss) => fmt.write_fmt("EXEC({})", ss.join(" ")), [INFO] [stdout] | ^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `fmt::write_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/parser/tree.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl Debug for Value { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::tree::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenData` in this scope [INFO] [stdout] --> src/parser/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | data: TokenData<'a>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tokens::TokenData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenData` [INFO] [stdout] --> src/parser/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Parser { data: TokenData::new(data) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tokens::TokenData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/parser/mod.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Section; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Section` in this scope [INFO] [stdout] --> src/parser/mod.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | fn match_heading(&mut self) -> Result
{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Section; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/parser/mod.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | fn match_entry(&mut self) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::tree::Entry; [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `len` in this scope [INFO] [stdout] --> src/parser/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if len(self.fwd) == 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/parser/mod.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] | [INFO] [stdout] = note: assuming a `'static` lifetime... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Report`, `Result` [INFO] [stdout] --> src/parser/error.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use color_eyre::{Report, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::WrapErr` [INFO] [stdout] --> src/parser/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eyre::WrapErr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Report` [INFO] [stdout] --> src/parser/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use color_eyre::{Report, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/parser/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokens::Tokens` [INFO] [stdout] --> src/parser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokens::Tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0412, E0423, E0425, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bb5a35ecdbae956ca67052fba659b46a6885f0cbbfc7a2dca54c791a14530ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5a35ecdbae956ca67052fba659b46a6885f0cbbfc7a2dca54c791a14530ca0", kill_on_drop: false }` [INFO] [stdout] bb5a35ecdbae956ca67052fba659b46a6885f0cbbfc7a2dca54c791a14530ca0