[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] testing kevlarr/rusty-calc against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevlarr%2Frusty-calc" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevlarr/rusty-calc on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-115/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 101dc73999ae0bdd85145a98138c9e624a904504c5fd042ebdd09a8a8318c3c7 [INFO] running `Command { std: "docker" "start" "-a" "101dc73999ae0bdd85145a98138c9e624a904504c5fd042ebdd09a8a8318c3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "101dc73999ae0bdd85145a98138c9e624a904504c5fd042ebdd09a8a8318c3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101dc73999ae0bdd85145a98138c9e624a904504c5fd042ebdd09a8a8318c3c7", kill_on_drop: false }` [INFO] [stdout] 101dc73999ae0bdd85145a98138c9e624a904504c5fd042ebdd09a8a8318c3c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 471b96b4fe5e78c49309b8b0687ab1bf76d876c05b47eae34282e1ab4b1f9030 [INFO] running `Command { std: "docker" "start" "-a" "471b96b4fe5e78c49309b8b0687ab1bf76d876c05b47eae34282e1ab4b1f9030", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/lexer.rs:36:8 [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: 4 warnings emitted [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.16s [INFO] running `Command { std: "docker" "inspect" "471b96b4fe5e78c49309b8b0687ab1bf76d876c05b47eae34282e1ab4b1f9030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471b96b4fe5e78c49309b8b0687ab1bf76d876c05b47eae34282e1ab4b1f9030", kill_on_drop: false }` [INFO] [stdout] 471b96b4fe5e78c49309b8b0687ab1bf76d876c05b47eae34282e1ab4b1f9030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcd970a36e922a03920581c3812be96beb5f40d4a498ca51ed711ffbb47f15f6 [INFO] running `Command { std: "docker" "start" "-a" "dcd970a36e922a03920581c3812be96beb5f40d4a498ca51ed711ffbb47f15f6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/lexer.rs:36:8 [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: 4 warnings emitted [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [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 `syntax::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 here [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 struct `binary::Binary`, found integer [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 struct `binary::Binary`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 74 previous errors; 1 warning emitted [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` due to 75 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dcd970a36e922a03920581c3812be96beb5f40d4a498ca51ed711ffbb47f15f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd970a36e922a03920581c3812be96beb5f40d4a498ca51ed711ffbb47f15f6", kill_on_drop: false }` [INFO] [stdout] dcd970a36e922a03920581c3812be96beb5f40d4a498ca51ed711ffbb47f15f6