[INFO] cloning repository https://github.com/johron/zelkel-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johron/zelkel-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohron%2Fzelkel-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohron%2Fzelkel-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29d997f39051316520723a22b571d66c5cc312e0 [INFO] testing johron/zelkel-runtime against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohron%2Fzelkel-runtime" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/johron/zelkel-runtime [INFO] finished tweaking git repo https://github.com/johron/zelkel-runtime [INFO] tweaked toml for git repo https://github.com/johron/zelkel-runtime written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/johron/zelkel-runtime on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/johron/zelkel-runtime 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syscalls v0.6.18 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2f2f1b8b15f96eecd102a3dce6cfbb2890a7aa22417673b01d6f3622a95ca1 [INFO] running `Command { std: "docker" "start" "-a" "be2f2f1b8b15f96eecd102a3dce6cfbb2890a7aa22417673b01d6f3622a95ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2f2f1b8b15f96eecd102a3dce6cfbb2890a7aa22417673b01d6f3622a95ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2f2f1b8b15f96eecd102a3dce6cfbb2890a7aa22417673b01d6f3622a95ca1", kill_on_drop: false }` [INFO] [stdout] be2f2f1b8b15f96eecd102a3dce6cfbb2890a7aa22417673b01d6f3622a95ca1 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dac312614560bd3ebda7b1669f8a5ddcbb4a5af827d27ab1f67719cd03340a35 [INFO] running `Command { std: "docker" "start" "-a" "dac312614560bd3ebda7b1669f8a5ddcbb4a5af827d27ab1f67719cd03340a35", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling syscalls v0.6.18 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zelkel-vm v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.31s [INFO] running `Command { std: "docker" "inspect" "dac312614560bd3ebda7b1669f8a5ddcbb4a5af827d27ab1f67719cd03340a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac312614560bd3ebda7b1669f8a5ddcbb4a5af827d27ab1f67719cd03340a35", kill_on_drop: false }` [INFO] [stdout] dac312614560bd3ebda7b1669f8a5ddcbb4a5af827d27ab1f67719cd03340a35 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fad10703024d839721779055d2ad989cfccc34817d64d59179c4c18a3fb8b3ec [INFO] running `Command { std: "docker" "start" "-a" "fad10703024d839721779055d2ad989cfccc34817d64d59179c4c18a3fb8b3ec", kill_on_drop: false }` [INFO] [stderr] Compiling zelkel-vm v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::Token { kind: "integer", value: lexer::TokenValue::Integer(5) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, Error>` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 7 | | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] 8 | | lexer::Token { kind: "integer", value: lexer::TokenValue::Integer(5) }, [INFO] [stdout] 9 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______Result, Error> [INFO] [stdout] | Result, Error> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Error` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Error` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(PartialEq)] [INFO] [stdout] 8 | struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, Error>` [INFO] [stdout] --> src/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(result, Err("Unexpected character: '?'".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result, Error> [INFO] [stdout] | Result<_, String> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result, Error>` doesn't implement `PartialEq>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | lexer::Token { kind: "string", value: lexer::TokenValue::String("hello".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, Error>` [INFO] [stdout] --> src/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 22 | | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] 23 | | lexer::Token { kind: "string", value: lexer::TokenValue::String("hello".to_string()) }, [INFO] [stdout] 24 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______Result, Error> [INFO] [stdout] | Result, Error> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Error` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Error` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(PartialEq)] [INFO] [stdout] 8 | struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lexer::Token { kind: "float", value: lexer::TokenValue::Float(3.14) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, Error>` [INFO] [stdout] --> src/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 31 | | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] 32 | | lexer::Token { kind: "float", value: lexer::TokenValue::Float(3.14) }, [INFO] [stdout] 33 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______Result, Error> [INFO] [stdout] | Result, Error> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Error` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Error` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(PartialEq)] [INFO] [stdout] 8 | struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | lexer::Token { kind: "integer", value: lexer::TokenValue::Integer(5) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `parser::InstructionKind::Psh` [INFO] [stdout] --> src/tests.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | kind: parser::InstructionKind::Psh(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Psh, [INFO] [stdout] | --- enum variant `parser::InstructionKind::Psh` defined here [INFO] [stdout] | [INFO] [stdout] help: `parser::InstructionKind::Psh` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 45 - kind: parser::InstructionKind::Psh(), [INFO] [stdout] 45 + kind: parser::InstructionKind::Psh, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 44 | | parser::Instruction { [INFO] [stdout] 45 | | kind: parser::InstructionKind::Psh(), [INFO] [stdout] 46 | | params: vec![parser::ValueType::Integer(5)], [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______Result [INFO] [stdout] | Result, _> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result` doesn't implement `PartialEq, _>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | lexer::Token { kind: "float", value: lexer::TokenValue::Float(3.14) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `parser::InstructionKind::Psh` [INFO] [stdout] --> src/tests.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | kind: parser::InstructionKind::Psh(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Psh, [INFO] [stdout] | --- enum variant `parser::InstructionKind::Psh` defined here [INFO] [stdout] | [INFO] [stdout] help: `parser::InstructionKind::Psh` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 60 - kind: parser::InstructionKind::Psh(), [INFO] [stdout] 60 + kind: parser::InstructionKind::Psh, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/tests.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 59 | | parser::Instruction { [INFO] [stdout] 60 | | kind: parser::InstructionKind::Psh(), [INFO] [stdout] 61 | | params: vec![parser::ValueType::Float(3.14)], [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______Result [INFO] [stdout] | Result, _> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result` doesn't implement `PartialEq, _>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("psh".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | lexer::Token { kind: "string", value: lexer::TokenValue::String("hello".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `parser::InstructionKind::Psh` [INFO] [stdout] --> src/tests.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | kind: parser::InstructionKind::Psh(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Psh, [INFO] [stdout] | --- enum variant `parser::InstructionKind::Psh` defined here [INFO] [stdout] | [INFO] [stdout] help: `parser::InstructionKind::Psh` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 75 - kind: parser::InstructionKind::Psh(), [INFO] [stdout] 75 + kind: parser::InstructionKind::Psh, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/tests.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 74 | | parser::Instruction { [INFO] [stdout] 75 | | kind: parser::InstructionKind::Psh(), [INFO] [stdout] 76 | | params: vec![parser::ValueType::String("hello".to_string())], [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______Result [INFO] [stdout] | Result, _> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result` doesn't implement `PartialEq, _>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Token` [INFO] [stdout] --> src/tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | lexer::Token { kind: "identifier", value: lexer::TokenValue::Identifier("add".to_string()) }, [INFO] [stdout] | ^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/tests.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / assert_eq!(result, Ok(vec![ [INFO] [stdout] 88 | | parser::Instruction { [INFO] [stdout] 89 | | kind: parser::InstructionKind::Add, [INFO] [stdout] 90 | | params: vec![], [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | ])); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______Result [INFO] [stdout] | Result, _> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result` doesn't implement `PartialEq, _>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `parser::InstructionKind::Psh` [INFO] [stdout] --> src/tests.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | kind: parser::InstructionKind::Psh(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Psh, [INFO] [stdout] | --- enum variant `parser::InstructionKind::Psh` defined here [INFO] [stdout] | [INFO] [stdout] help: `parser::InstructionKind::Psh` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 99 - kind: parser::InstructionKind::Psh(), [INFO] [stdout] 99 + kind: parser::InstructionKind::Psh, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `parser::InstructionKind::Psh` [INFO] [stdout] --> src/tests.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | kind: parser::InstructionKind::Psh(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Psh, [INFO] [stdout] | --- enum variant `parser::InstructionKind::Psh` defined here [INFO] [stdout] | [INFO] [stdout] help: `parser::InstructionKind::Psh` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 103 - kind: parser::InstructionKind::Psh(), [INFO] [stdout] 103 + kind: parser::InstructionKind::Psh, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `col` and `line` in initializer of `Instruction` [INFO] [stdout] --> src/tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | parser::Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ missing `col` and `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | let result = evaluator::evaluate(nodes); [INFO] [stdout] | ------------------- ^^^^^ expected `ParserRet`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ParserRet` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluator.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn evaluate(parsed: ParserRet) -> Result<(Vec, i32), Error> { [INFO] [stdout] | ^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(Vec, i32), Error>` [INFO] [stdout] --> src/tests.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(result, Ok(vec![parser::ValueType::Integer(8)])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result<(Vec, i32), Error> [INFO] [stdout] | Result, _> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Result<(Vec, i32), Error>` doesn't implement `PartialEq, _>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0369, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zelkel-vm` (bin "zelkel-vm" test) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "fad10703024d839721779055d2ad989cfccc34817d64d59179c4c18a3fb8b3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad10703024d839721779055d2ad989cfccc34817d64d59179c4c18a3fb8b3ec", kill_on_drop: false }` [INFO] [stdout] fad10703024d839721779055d2ad989cfccc34817d64d59179c4c18a3fb8b3ec