[INFO] cloning repository https://github.com/paxromana96/lisp_compiler_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paxromana96/lisp_compiler_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Flisp_compiler_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Flisp_compiler_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90fbbf2891f5cbb7e805c93ecb6f9dc1d7dad987 [INFO] checking paxromana96/lisp_compiler_rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Flisp_compiler_rust" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paxromana96/lisp_compiler_rust 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/paxromana96/lisp_compiler_rust [INFO] finished tweaking git repo https://github.com/paxromana96/lisp_compiler_rust [INFO] tweaked toml for git repo https://github.com/paxromana96/lisp_compiler_rust written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/paxromana96/lisp_compiler_rust 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] b7c9a4e6e29c072a2908f9f403714d052a4d716f9a4b2d143e10a223fc52353d [INFO] running `Command { std: "docker" "start" "-a" "b7c9a4e6e29c072a2908f9f403714d052a4d716f9a4b2d143e10a223fc52353d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7c9a4e6e29c072a2908f9f403714d052a4d716f9a4b2d143e10a223fc52353d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c9a4e6e29c072a2908f9f403714d052a4d716f9a4b2d143e10a223fc52353d", kill_on_drop: false }` [INFO] [stdout] b7c9a4e6e29c072a2908f9f403714d052a4d716f9a4b2d143e10a223fc52353d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 2de23c2cbb9ab409eab8652a86eecbc7a0712777149b384a6432a781bbf95bb6 [INFO] running `Command { std: "docker" "start" "-a" "2de23c2cbb9ab409eab8652a86eecbc7a0712777149b384a6432a781bbf95bb6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lisp_compiler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/parser/mod.rs (1 fix) [INFO] [stderr] Fixed src/ast/mod.rs (1 fix) [INFO] [stderr] Fixed src/parser/tree.rs (1 fix) [INFO] [stdout] warning: unused import: `crate::parser::traits` [INFO] [stdout] --> src/ast/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits` [INFO] [stdout] --> src/parser/tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/errors.rs (2 fixes) [INFO] [stderr] Fixed src/ast/mod.rs (7 fixes) [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/ast/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preorder_traversal` [INFO] [stdout] --> src/ast/mod.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn preorder_traversal<'a>(&'a self) -> PreOrderAstTraversal<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fmt_errors` [INFO] [stdout] --> src/ast/mod.rs:536:4 [INFO] [stdout] | [INFO] [stdout] 536 | fn fmt_errors(errors: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap` [INFO] [stdout] --> src/ast/mod.rs:543:4 [INFO] [stdout] | [INFO] [stdout] 543 | fn unwrap(val: Result>) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `i32` [INFO] [stdout] --> src/lexer/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn i32(val: i32, loc: Range) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_lexes_to` [INFO] [stdout] --> src/lexer/mod.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn assert_lexes_to(text: &str, expected_tokens: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:183:51 [INFO] [stdout] | [INFO] [stdout] 183 | let actual_ast: AST = "(+ 1 (+ 2 3))".chars().lex().parse().unwrap().into(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | .lex() [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:381:46 [INFO] [stdout] | [INFO] [stdout] 381 | let parse_tree = "(- (- 1 2) 3)".chars().lex().parse().unwrap(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:552:48 [INFO] [stdout] | [INFO] [stdout] 552 | let parse_tree = match "( + 1 2 )".chars().lex().parse() { [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:588:64 [INFO] [stdout] | [INFO] [stdout] 588 | let parse_tree = match "( + 1 2 )\n( - (* 3 4) 5)".chars().lex().parse() { [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:667:49 [INFO] [stdout] | [INFO] [stdout] 667 | let parse_tree = unwrap("( + 1 2 )".chars().lex().parse()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:674:48 [INFO] [stdout] | [INFO] [stdout] 674 | let _ast: AST = unwrap("( + 1 2 )".chars().lex().parse()).into(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:679:60 [INFO] [stdout] | [INFO] [stdout] 679 | let _ast: AST = unwrap("(+\t 1 (\n- 2\r\n 3))".chars().lex().parse()).into(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:684:49 [INFO] [stdout] | [INFO] [stdout] 684 | let left: AST = unwrap(" ( + 1 2 )".chars().lex().parse()).into(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:685:49 [INFO] [stdout] | [INFO] [stdout] 685 | let right: AST = unwrap("( + 1 2 )".chars().lex().parse()).into(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:691:46 [INFO] [stdout] | [INFO] [stdout] 691 | let ast: AST = match "( + 1 2 )".chars().lex().parse() { [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/ast/mod.rs:703:51 [INFO] [stdout] | [INFO] [stdout] 703 | let ast: AST = match "( + 1 (- 2 3))".chars().lex().parse() { [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/mod.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | lexer: text.chars().lex().peekable(), [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | let e = Expr::Terminal("a".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:203:43 [INFO] [stdout] | [INFO] [stdout] 203 | let plus = Expr::Terminal("+".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | let minus = Expr::Terminal("-".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:205:42 [INFO] [stdout] | [INFO] [stdout] 205 | let one = Expr::Terminal("1".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | let two = Expr::Terminal("2".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | let a = Expr::Terminal("a".chars().lex().next().unwrap().unwrap()); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | let parse_tree = "(+ 1 2)".chars().lex().parse().unwrap(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:286:49 [INFO] [stdout] | [INFO] [stdout] 286 | let parse_tree = "(+ 1 2)\n(- 3 4)".chars().lex().parse().unwrap(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lex` found for struct `Chars` in the current scope [INFO] [stdout] --> src/parser/tree.rs:309:46 [INFO] [stdout] | [INFO] [stdout] 309 | let parse_tree = "(+ (- 1 2) a)".chars().lex().parse().unwrap(); [INFO] [stdout] | ^^^ method not found in `Chars<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn lex(self) -> Lexer; [INFO] [stdout] | --- the method is available for `Chars<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::lexer::traits::Lexable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::traits` [INFO] [stdout] --> src/ast/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits` [INFO] [stdout] --> src/parser/tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lisp_compiler` due to 23 previous errors; 2 warnings emitted [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" "2de23c2cbb9ab409eab8652a86eecbc7a0712777149b384a6432a781bbf95bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de23c2cbb9ab409eab8652a86eecbc7a0712777149b384a6432a781bbf95bb6", kill_on_drop: false }` [INFO] [stdout] 2de23c2cbb9ab409eab8652a86eecbc7a0712777149b384a6432a781bbf95bb6