[INFO] cloning repository https://github.com/kevlarr/rusty-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevlarr/rusty-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevlarr%2Frusty-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevlarr%2Frusty-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cfcecf677b91ae35a487ca1628f569bed545573 [INFO] building kevlarr/rusty-calc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevlarr%2Frusty-calc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevlarr/rusty-calc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kevlarr/rusty-calc [INFO] finished tweaking git repo https://github.com/kevlarr/rusty-calc [INFO] tweaked toml for git repo https://github.com/kevlarr/rusty-calc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kevlarr/rusty-calc 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b5046af31820c1b6bb522d12df5d2ad7109b4bf4443f6f14e2f20f99601544 [INFO] running `Command { std: "docker" "start" "-a" "91b5046af31820c1b6bb522d12df5d2ad7109b4bf4443f6f14e2f20f99601544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b5046af31820c1b6bb522d12df5d2ad7109b4bf4443f6f14e2f20f99601544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b5046af31820c1b6bb522d12df5d2ad7109b4bf4443f6f14e2f20f99601544", kill_on_drop: false }` [INFO] [stdout] 91b5046af31820c1b6bb522d12df5d2ad7109b4bf4443f6f14e2f20f99601544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454329d92661f19306d9b8d525d756e06cc5b1e55eaea4f0aeeea7078e0a6a0e [INFO] running `Command { std: "docker" "start" "-a" "454329d92661f19306d9b8d525d756e06cc5b1e55eaea4f0aeeea7078e0a6a0e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustycalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ParseResult` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use types::{Binary, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser/syntax.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | expr => { [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: `next` [INFO] [stdout] --> src/parser/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let next: Option<&Token> = tokens.peek().map(|t| t.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last` is never used [INFO] [stdout] --> src/lexer.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl TokenSequence { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn last(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Token` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | let next: Option<&Token> = tokens.peek().map(|t| t.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustycalc::types::Operation` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustycalc::types::Operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "454329d92661f19306d9b8d525d756e06cc5b1e55eaea4f0aeeea7078e0a6a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454329d92661f19306d9b8d525d756e06cc5b1e55eaea4f0aeeea7078e0a6a0e", kill_on_drop: false }` [INFO] [stdout] 454329d92661f19306d9b8d525d756e06cc5b1e55eaea4f0aeeea7078e0a6a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0e3608fa6988415c729a06b4de7cfd664cca3d6a93a1ddcdbee15f0112f5ee6 [INFO] running `Command { std: "docker" "start" "-a" "f0e3608fa6988415c729a06b4de7cfd664cca3d6a93a1ddcdbee15f0112f5ee6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused import: `ParseResult` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use types::{Binary, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser/syntax.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | expr => { [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: `next` [INFO] [stdout] --> src/parser/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let next: Option<&Token> = tokens.peek().map(|t| t.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustycalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `last` is never used [INFO] [stdout] --> src/lexer.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl TokenSequence { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn last(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Token` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | let next: Option<&Token> = tokens.peek().map(|t| t.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustycalc::types::Operation` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustycalc::types::Operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in module `super` [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(super::add(*x, *y), Ok(x + y), "{} + {}", x, y); [INFO] [stdout] | ^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in module `super` [INFO] [stdout] --> src/lib.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(super::subtract(*x, *y), Ok(x - y), "{} - {}", x, y); [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `multiply` in module `super` [INFO] [stdout] --> src/lib.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(super::multiply(*x, *y), Ok(x * y), "{} * {}", x, y); [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `divide` in module `super` [INFO] [stdout] --> src/lib.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(super::divide(*x, *y), Ok(x / y), "{} * {}", x, y); [INFO] [stdout] | ^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseResult` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use types::{Binary, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | assert(vec![Tk::Num(15)], Ex::Literal(15)); [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | Ex::SubExpr(Box::new(Ex::Literal(15))), [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | (Sy::Caret, Op::Exp), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | (Sy::Percent, Op::Mod), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Ex::Literal(15), [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | Ex::Literal(0)) [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | (Sy::Caret, Op::Exp), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | (Sy::Percent, Op::Mod), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | Ex::Literal(15), [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | Ex::Literal(0), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:210:47 [INFO] [stdout] | [INFO] [stdout] 210 | Ex::Negation(Box::new(Ex::Literal(15))), [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:252:68 [INFO] [stdout] | [INFO] [stdout] 252 | Ex::SubExpr(Box::new(Ex::Negation(Box::new(Ex::Literal(15))))), [INFO] [stdout] | ----------- ^^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:265:29 [INFO] [stdout] | [INFO] [stdout] 265 | (Sy::Caret, Op::Exp), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | (Sy::Percent, Op::Mod), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:280:55 [INFO] [stdout] | [INFO] [stdout] 280 | Ex::Negation(Box::new(Ex::Literal(5))), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | (Sy::Caret, Op::Exp), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | (Sy::Percent, Op::Mod), [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:310:37 [INFO] [stdout] | [INFO] [stdout] 310 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | Ex::Literal(3), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:315:33 [INFO] [stdout] | [INFO] [stdout] 315 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | Ex::Literal(3), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:341:33 [INFO] [stdout] | [INFO] [stdout] 341 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | Ex::Literal(3), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:398:37 [INFO] [stdout] | [INFO] [stdout] 398 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:400:37 [INFO] [stdout] | [INFO] [stdout] 400 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:438:45 [INFO] [stdout] | [INFO] [stdout] 438 | ... Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:440:45 [INFO] [stdout] | [INFO] [stdout] 440 | ... Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:443:29 [INFO] [stdout] | [INFO] [stdout] 443 | Op::Exp, [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | ... Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:448:45 [INFO] [stdout] | [INFO] [stdout] 448 | ... Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:474:33 [INFO] [stdout] | [INFO] [stdout] 474 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:494:33 [INFO] [stdout] | [INFO] [stdout] 494 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:496:33 [INFO] [stdout] | [INFO] [stdout] 496 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:521:37 [INFO] [stdout] | [INFO] [stdout] 521 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:523:37 [INFO] [stdout] | [INFO] [stdout] 523 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:526:33 [INFO] [stdout] | [INFO] [stdout] 526 | Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:554:33 [INFO] [stdout] | [INFO] [stdout] 554 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:557:37 [INFO] [stdout] | [INFO] [stdout] 557 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | ... Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:561:33 [INFO] [stdout] | [INFO] [stdout] 561 | ... Op::Exp, [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:562:41 [INFO] [stdout] | [INFO] [stdout] 562 | ... Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:587:29 [INFO] [stdout] | [INFO] [stdout] 587 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:591:37 [INFO] [stdout] | [INFO] [stdout] 591 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:594:41 [INFO] [stdout] | [INFO] [stdout] 594 | ... Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | ... Op::Exp, [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:596:41 [INFO] [stdout] | [INFO] [stdout] 596 | ... Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:600:33 [INFO] [stdout] | [INFO] [stdout] 600 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:624:33 [INFO] [stdout] | [INFO] [stdout] 624 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:626:33 [INFO] [stdout] | [INFO] [stdout] 626 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 631 | Op::Exp, [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:632:33 [INFO] [stdout] | [INFO] [stdout] 632 | Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:651:33 [INFO] [stdout] | [INFO] [stdout] 651 | Ex::Literal(1), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:654:37 [INFO] [stdout] | [INFO] [stdout] 654 | Ex::Literal(5), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Exp` found for enum `syntax::Operation` in the current scope [INFO] [stdout] --> src/parser/mod.rs:655:29 [INFO] [stdout] | [INFO] [stdout] 655 | Op::Exp, [INFO] [stdout] | ^^^ variant or associated item not found in `Operation` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/syntax.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Operation { [INFO] [stdout] | ------------------ variant or associated item `Exp` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:656:37 [INFO] [stdout] | [INFO] [stdout] 656 | Ex::Literal(2), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:660:29 [INFO] [stdout] | [INFO] [stdout] 660 | Ex::Literal(4), [INFO] [stdout] | ----------- ^ expected `Binary`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parser/syntax.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Literal(Binary), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser/syntax.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | expr => { [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: `next` [INFO] [stdout] --> src/parser/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let next: Option<&Token> = tokens.peek().map(|t| t.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustycalc` (lib test) due to 74 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0e3608fa6988415c729a06b4de7cfd664cca3d6a93a1ddcdbee15f0112f5ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e3608fa6988415c729a06b4de7cfd664cca3d6a93a1ddcdbee15f0112f5ee6", kill_on_drop: false }` [INFO] [stdout] f0e3608fa6988415c729a06b4de7cfd664cca3d6a93a1ddcdbee15f0112f5ee6