[INFO] cloning repository https://github.com/sithijaherath/final-project-programing-languages-
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sithijaherath/final-project-programing-languages-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsithijaherath%2Ffinal-project-programing-languages-", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsithijaherath%2Ffinal-project-programing-languages-'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 630fb2c498c1dfedaec973432697f45a2d6bf140
[INFO] testing sithijaherath/final-project-programing-languages- against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsithijaherath%2Ffinal-project-programing-languages-" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sithijaherath/final-project-programing-languages-
[INFO] finished tweaking git repo https://github.com/sithijaherath/final-project-programing-languages-
[INFO] tweaked toml for git repo https://github.com/sithijaherath/final-project-programing-languages- written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sithijaherath/final-project-programing-languages- on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sithijaherath/final-project-programing-languages- 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e0fc4e603d70d0a9181cea579fdbaf9f6639f631875ea5a3c5714f18c31a66e
[INFO] running `Command { std: "docker" "start" "-a" "4e0fc4e603d70d0a9181cea579fdbaf9f6639f631875ea5a3c5714f18c31a66e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e0fc4e603d70d0a9181cea579fdbaf9f6639f631875ea5a3c5714f18c31a66e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e0fc4e603d70d0a9181cea579fdbaf9f6639f631875ea5a3c5714f18c31a66e", kill_on_drop: false }`
[INFO] [stdout] 4e0fc4e603d70d0a9181cea579fdbaf9f6639f631875ea5a3c5714f18c31a66e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] aa8dda09b8238f57b0ea73667f43f2db49eb59118ddc2a4a9860d59cba16680a
[INFO] running `Command { std: "docker" "start" "-a" "aa8dda09b8238f57b0ea73667f43f2db49eb59118ddc2a4a9860d59cba16680a", kill_on_drop: false }`
[INFO] [stderr]    Compiling sithija_herath_mudiyanselage_appuhamy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stdout]    |     --------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stdout] 18 +     UnexpectedToken(()),    // When a token doesn't match what's expected
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnterminatedString` and `InvalidTableDefinition` are never constructed
[INFO] [stdout]   --> src/parser.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ParseError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     UnterminatedString,         // When a string literal isn't closed
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     InvalidTableDefinition,     // When CREATE TABLE syntax is wrong
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `peek`, `expect`, and `is_operator` are never used
[INFO] [stdout]   --> src/parser.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn peek(&mut self) -> Option<&Token> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn expect(&mut self, expected: Token) -> Result<(), ParseError> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn is_operator(token: &Token) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s
[INFO] running `Command { std: "docker" "inspect" "aa8dda09b8238f57b0ea73667f43f2db49eb59118ddc2a4a9860d59cba16680a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa8dda09b8238f57b0ea73667f43f2db49eb59118ddc2a4a9860d59cba16680a", kill_on_drop: false }`
[INFO] [stdout] aa8dda09b8238f57b0ea73667f43f2db49eb59118ddc2a4a9860d59cba16680a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1e49f422f664ec27c47e006a836bf61037f125cc5be04e976cb252038cf35223
[INFO] running `Command { std: "docker" "start" "-a" "1e49f422f664ec27c47e006a836bf61037f125cc5be04e976cb252038cf35223", kill_on_drop: false }`
[INFO] [stderr]    Compiling sithija_herath_mudiyanselage_appuhamy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stdout]    |     --------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stdout] 18 +     UnexpectedToken(()),    // When a token doesn't match what's expected
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnterminatedString` and `InvalidTableDefinition` are never constructed
[INFO] [stdout]   --> src/parser.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ParseError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     UnterminatedString,         // When a string literal isn't closed
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     InvalidTableDefinition,     // When CREATE TABLE syntax is wrong
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `peek`, `expect`, and `is_operator` are never used
[INFO] [stdout]   --> src/parser.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn peek(&mut self) -> Option<&Token> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn expect(&mut self, expected: Token) -> Result<(), ParseError> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn is_operator(token: &Token) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "1e49f422f664ec27c47e006a836bf61037f125cc5be04e976cb252038cf35223", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e49f422f664ec27c47e006a836bf61037f125cc5be04e976cb252038cf35223", kill_on_drop: false }`
[INFO] [stdout] 1e49f422f664ec27c47e006a836bf61037f125cc5be04e976cb252038cf35223
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a8ca2e2b41a205f49090493339b5b2408b07a80e299cfc13fc7be2deb54572fa
[INFO] running `Command { std: "docker" "start" "-a" "a8ca2e2b41a205f49090493339b5b2408b07a80e299cfc13fc7be2deb54572fa", kill_on_drop: false }`
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/parser.rs:18:21
[INFO] [stderr]    |
[INFO] [stderr] 18 |     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stderr]    |     --------------- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 18 -     UnexpectedToken(String),    // When a token doesn't match what's expected
[INFO] [stderr] 18 +     UnexpectedToken(()),    // When a token doesn't match what's expected
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variants `UnterminatedString` and `InvalidTableDefinition` are never constructed
[INFO] [stderr]   --> src/parser.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub enum ParseError {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 23 |     UnterminatedString,         // When a string literal isn't closed
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 24 |     InvalidTableDefinition,     // When CREATE TABLE syntax is wrong
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `peek`, `expect`, and `is_operator` are never used
[INFO] [stderr]   --> src/parser.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 30 | impl<'a> Parser<'a> {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 47 |     fn peek(&mut self) -> Option<&Token> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn expect(&mut self, expected: Token) -> Result<(), ParseError> {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     fn is_operator(token: &Token) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `sithija_herath_mudiyanselage_appuhamy` (bin "sithija_herath_mudiyanselage_appuhamy" test) generated 3 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/sithija_herath_mudiyanselage_appuhamy/190326c90326240a/deps/sithija_herath_mudiyanselage_appuhamy-190326c90326240a)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test parser::tests::test_create_table_with_check_constraints ... ok
[INFO] [stdout] test parser::tests::test_complex_check_constraints ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--bin sithija_herath_mudiyanselage_appuhamy`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- parser::tests::test_complex_check_constraints stdout ----
[INFO] [stdout] Starting CREATE TABLE parsing
[INFO] [stdout] Parsing table: employee
[INFO] [stdout] Parsing column: id
[INFO] [stdout] Column type parsed: Int
[INFO] [stdout] Parsing constraint, current token: Keyword(Primary)
[INFO] [stdout] Parsing constraint, current token: Comma
[INFO] [stdout] Constraints parsed: [PrimaryKey]
[INFO] [stdout] Column added to list
[INFO] [stdout] Found comma, advancing to next column
[INFO] [stdout] Parsing column: name
[INFO] [stdout] Column type parsed: Varchar(100)
[INFO] [stdout] Parsing constraint, current token: Keyword(Not)
[INFO] [stdout] Parsing constraint, current token: Comma
[INFO] [stdout] Constraints parsed: [NotNull]
[INFO] [stdout] Column added to list
[INFO] [stdout] Found comma, advancing to next column
[INFO] [stdout] Parsing column: salary
[INFO] [stdout] Column type parsed: Int
[INFO] [stdout] Parsing constraint, current token: Keyword(Check)
[INFO] [stdout] Found CHECK constraint
[INFO] [stdout] Parsing expression with precedence 0, current token: Identifier("salary")
[INFO] [stdout] Parsing binary operation with precedence 0, current token: GreaterThanOrEqual
[INFO] [stdout] Parsing expression with precedence 6, current token: Number(30000)
[INFO] [stdout] Parsing binary operation with precedence 6, current token: RightParentheses
[INFO] [stdout] CHECK constraint parsed successfully: BinaryOperation { left_operand: Identifier("salary"), operator: GreaterThanOrEqual, right_operand: Number(30000) }
[INFO] [stdout] Parsing constraint, current token: Comma
[INFO] [stdout] Constraints parsed: [Check(BinaryOperation { left_operand: Identifier("salary"), operator: GreaterThanOrEqual, right_operand: Number(30000) })]
[INFO] [stdout] Column added to list
[INFO] [stdout] Found comma, advancing to next column
[INFO] [stdout] Parsing column: age
[INFO] [stdout] Column type parsed: Int
[INFO] [stdout] Parsing constraint, current token: Keyword(Check)
[INFO] [stdout] Found CHECK constraint
[INFO] [stdout] Parsing expression with precedence 0, current token: LeftParentheses
[INFO] [stdout] Parsing expression with precedence 0, current token: Identifier("age")
[INFO] [stdout] Parsing binary operation with precedence 0, current token: GreaterThanOrEqual
[INFO] [stdout] Parsing expression with precedence 6, current token: Number(18)
[INFO] [stdout] Parsing binary operation with precedence 6, current token: Keyword(And)
[INFO] [stdout] Parsing expression with precedence 5, current token: Identifier("age")
[INFO] [stdout] Parsing binary operation with precedence 5, current token: LessThan
[INFO] [stdout] Parsing expression with precedence 6, current token: Number(65)
[INFO] [stdout] Parsing binary operation with precedence 6, current token: RightParentheses
[INFO] [stdout] Parsing binary operation with precedence 0, current token: Keyword(Or)
[INFO] [stdout] Parsing expression with precedence 4, current token: LeftParentheses
[INFO] [stdout] Parsing expression with precedence 0, current token: Identifier("age")
[INFO] [stdout] Parsing binary operation with precedence 0, current token: GreaterThanOrEqual
[INFO] [stdout] Parsing expression with precedence 6, current token: Number(65)
[INFO] [stdout] Parsing binary operation with precedence 6, current token: Keyword(And)
[INFO] [stdout] Parsing expression with precedence 5, current token: Identifier("salary")
[INFO] [stdout] Parsing binary operation with precedence 5, current token: GreaterThanOrEqual
[INFO] [stdout] Parsing expression with precedence 6, current token: Number(50000)
[INFO] [stdout] Parsing binary operation with precedence 6, current token: RightParentheses
[INFO] [stdout] Parsing binary operation with precedence 4, current token: RightParentheses
[INFO] [stdout] CHECK constraint parsed successfully: BinaryOperation { left_operand: BinaryOperation { left_operand: BinaryOperation { left_operand: Identifier("age"), operator: GreaterThanOrEqual, right_operand: Number(18) }, operator: And, right_operand: BinaryOperation { left_operand: Identifier("age"), operator: LessThan, right_operand: Number(65) } }, operator: Or, right_operand: BinaryOperation { left_operand: BinaryOperation { left_operand: Identifier("age"), operator: GreaterThanOrEqual, right_operand: Number(65) }, operator: And, right_operand: BinaryOperation { left_operand: Identifier("salary"), operator: GreaterThanOrEqual, right_operand: Number(50000) } } }
[INFO] [stdout] Parsing constraint, current token: Comma
[INFO] [stdout] Constraints parsed: [Check(BinaryOperation { left_operand: BinaryOperation { left_operand: BinaryOperation { left_operand: Identifier("age"), operator: GreaterThanOrEqual, right_operand: Number(18) }, operator: And, right_operand: BinaryOperation { left_operand: Identifier("age"), operator: LessThan, right_operand: Number(65) } }, operator: Or, right_operand: BinaryOperation { left_operand: BinaryOperation { left_operand: Identifier("age"), operator: GreaterThanOrEqual, right_operand: Number(65) }, operator: And, right_operand: BinaryOperation { left_operand: Identifier("salary"), operator: GreaterThanOrEqual, right_operand: Number(50000) } } })]
[INFO] [stdout] Column added to list
[INFO] [stdout] Found comma, advancing to next column
[INFO] [stdout] Parsing column: bonus
[INFO] [stdout] Column type parsed: Int
[INFO] [stdout] Parsing constraint, current token: Keyword(Check)
[INFO] [stdout] Found CHECK constraint
[INFO] [stdout] Parsing expression with precedence 0, current token: Identifier("bonus")
[INFO] [stdout] Parsing binary operation with precedence 0, current token: LessThanOrEqual
[INFO] [stdout] Parsing expression with precedence 6, current token: Identifier("salary")
[INFO] [stdout] Parsing binary operation with precedence 6, current token: Star
[INFO] [stdout] Parsing expression with precedence 8, current token: Number(0)
[INFO] [stdout] Parsing binary operation with precedence 8, current token: Invalid('.')
[INFO] [stdout] Expected ) after CHECK expression, got: Invalid('.')
[INFO] [stdout] 
[INFO] [stdout] thread 'parser::tests::test_complex_check_constraints' (17) panicked at src/parser.rs:690:23:
[INFO] [stdout] Failed to parse complex statement: UnmatchedParentheses
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5d0ae3a2bcd2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d0ae3a2bcd2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d0ae3a2bcd2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5d0ae3a2bcd2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5d0ae3a40f2a - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5d0ae3a40f2a - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x5d0ae3a30b06 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5d0ae3a30b06 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5d0ae3a0a19f - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5d0ae3a0a19f - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5d0ae3a24009 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5d0ae39bf8be - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5d0ae39bf8be - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5d0ae3a241c2 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5d0ae3a241c2 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5d0ae3a0a258 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5d0ae3a01c29 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5d0ae3a0b0ad - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5d0ae3a415dc - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5d0ae39a9e90 - sithija_herath_mudiyanselage_appuhamy[d7f63b9a5cd0c94e]::parser::tests::test_complex_check_constraints
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:690:23
[INFO] [stdout]   20:     0x5d0ae39a7947 - sithija_herath_mudiyanselage_appuhamy[d7f63b9a5cd0c94e]::parser::tests::test_complex_check_constraints::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:655:40
[INFO] [stdout]   21:     0x5d0ae39ac586 - <sithija_herath_mudiyanselage_appuhamy[d7f63b9a5cd0c94e]::parser::tests::test_complex_check_constraints::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5d0ae39b3c6b - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5d0ae39b3c6b - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   24:     0x5d0ae39c04ca - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   25:     0x5d0ae39c04ca - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   26:     0x5d0ae39c04ca - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x5d0ae39c04ca - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5d0ae39c04ca - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5d0ae39c04ca - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   30:     0x5d0ae39c04ca - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   31:     0x5d0ae39ba994 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   32:     0x5d0ae39ba994 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5d0ae39c2fc2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   34:     0x5d0ae39c2fc2 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   35:     0x5d0ae39c2fc2 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x5d0ae39c2fc2 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5d0ae39c2fc2 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5d0ae39c2fc2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   39:     0x5d0ae39c2fc2 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5d0ae3a2b57f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   41:     0x5d0ae3a2b57f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   42:     0x7662388d9aa4 - <unknown>
[INFO] [stdout]   43:     0x766238966a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     parser::tests::test_complex_check_constraints
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a8ca2e2b41a205f49090493339b5b2408b07a80e299cfc13fc7be2deb54572fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8ca2e2b41a205f49090493339b5b2408b07a80e299cfc13fc7be2deb54572fa", kill_on_drop: false }`
[INFO] [stdout] a8ca2e2b41a205f49090493339b5b2408b07a80e299cfc13fc7be2deb54572fa
