[INFO] cloning repository https://github.com/thiagopromano/rust-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiagopromano/rust-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopromano%2Frust-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopromano%2Frust-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2391f21ebeac4289ad659239370274c6f83d65f6 [INFO] checking thiagopromano/rust-calculator against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopromano%2Frust-calculator" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiagopromano/rust-calculator 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/thiagopromano/rust-calculator [INFO] finished tweaking git repo https://github.com/thiagopromano/rust-calculator [INFO] tweaked toml for git repo https://github.com/thiagopromano/rust-calculator written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/thiagopromano/rust-calculator 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 crossterm v0.17.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 29394f7b3af1bb198d5c7e2853b953b35630214c2ba8761a7480f1f141c94e9a [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" "29394f7b3af1bb198d5c7e2853b953b35630214c2ba8761a7480f1f141c94e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29394f7b3af1bb198d5c7e2853b953b35630214c2ba8761a7480f1f141c94e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29394f7b3af1bb198d5c7e2853b953b35630214c2ba8761a7480f1f141c94e9a", kill_on_drop: false }` [INFO] [stdout] 29394f7b3af1bb198d5c7e2853b953b35630214c2ba8761a7480f1f141c94e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1961443355a70611942a5c1eefafb79c9bfeeb7c67b5d764bf010340dc95417 [INFO] running `Command { std: "docker" "start" "-a" "f1961443355a70611942a5c1eefafb79c9bfeeb7c67b5d764bf010340dc95417", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Checking crossterm v0.17.5 [INFO] [stderr] Checking compilador-de-calculos v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lexer.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/token.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => panic!("unhandled type") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Captures` should have a snake case name [INFO] [stdout] --> src/lexer.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | Some(Captures) => Captures, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `captures` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:109:53 [INFO] [stdout] | [INFO] [stdout] 109 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:109:70 [INFO] [stdout] | [INFO] [stdout] 109 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), If(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:109:94 [INFO] [stdout] | [INFO] [stdout] 109 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/lexer.rs:109:116 [INFO] [stdout] | [INFO] [stdout] 109 | ...For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/lexer.rs:109:132 [INFO] [stdout] | [INFO] [stdout] 109 | ...to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31,... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:109:149 [INFO] [stdout] | [INFO] [stdout] 109 | ...string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Eq... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), If(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:109:181 [INFO] [stdout] | [INFO] [stdout] 109 | ... Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:109:201 [INFO] [stdout] | [INFO] [stdout] 109 | ...(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()),... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:109:223 [INFO] [stdout] | [INFO] [stdout] 109 | ...ring()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, Greate... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:109:240 [INFO] [stdout] | [INFO] [stdout] 109 | ...n(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:109:257 [INFO] [stdout] | [INFO] [stdout] 109 | ...30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), If(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:109:286 [INFO] [stdout] | [INFO] [stdout] 109 | ...n), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:115:70 [INFO] [stdout] | [INFO] [stdout] 115 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), If(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:115:94 [INFO] [stdout] | [INFO] [stdout] 115 | ... Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 2... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/lexer.rs:115:116 [INFO] [stdout] | [INFO] [stdout] 115 | ...For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/lexer.rs:115:132 [INFO] [stdout] | [INFO] [stdout] 115 | ...to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31,... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:115:149 [INFO] [stdout] | [INFO] [stdout] 115 | ...string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Eq... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), If(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:115:181 [INFO] [stdout] | [INFO] [stdout] 115 | ... Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:115:201 [INFO] [stdout] | [INFO] [stdout] 115 | ...(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()),... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:115:223 [INFO] [stdout] | [INFO] [stdout] 115 | ...ring()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, Greate... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Keyword` in this scope [INFO] [stdout] --> src/lexer.rs:115:240 [INFO] [stdout] | [INFO] [stdout] 115 | ...n(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Keyword; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ID` in this scope [INFO] [stdout] --> src/lexer.rs:115:257 [INFO] [stdout] | [INFO] [stdout] 115 | ...30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | If, [INFO] [stdout] | -- similarly named unit variant `If` defined here [INFO] [stdout] | [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | Operation(0, LessThan), Keyword(2, If), Keyword(5, For), ID(9, "a".to_string()), Operation(11, Equal), Number(13, 31), Number(18, 252), ID(22, "p3ssego0".to_string()), Operation(30, Not), Operation(31, Equal), Keyword(33, In), Keyword(36, In), If(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Operation` in this scope [INFO] [stdout] --> src/lexer.rs:115:286 [INFO] [stdout] | [INFO] [stdout] 115 | ...n), Keyword(36, In), ID(40, "amora".to_string()), Operation(45, GreaterThan) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 99 | use crate::token::Token::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compilador-de-calculos` due to 29 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/main.rs (5 fixes) [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" "f1961443355a70611942a5c1eefafb79c9bfeeb7c67b5d764bf010340dc95417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1961443355a70611942a5c1eefafb79c9bfeeb7c67b5d764bf010340dc95417", kill_on_drop: false }` [INFO] [stdout] f1961443355a70611942a5c1eefafb79c9bfeeb7c67b5d764bf010340dc95417