[INFO] cloning repository https://github.com/FelixReinhard/Lucid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FelixReinhard/Lucid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixReinhard%2FLucid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixReinhard%2FLucid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73b51b286192fe9a8bbdb6c690af8901c13e596f [INFO] building FelixReinhard/Lucid against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixReinhard%2FLucid" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FelixReinhard/Lucid on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FelixReinhard/Lucid [INFO] finished tweaking git repo https://github.com/FelixReinhard/Lucid [INFO] tweaked toml for git repo https://github.com/FelixReinhard/Lucid written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FelixReinhard/Lucid already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42f665e43d9d21d339382082345e17fcc6a246aa79fbdc230d3be4afcdbc4578 [INFO] running `Command { std: "docker" "start" "-a" "42f665e43d9d21d339382082345e17fcc6a246aa79fbdc230d3be4afcdbc4578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f665e43d9d21d339382082345e17fcc6a246aa79fbdc230d3be4afcdbc4578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f665e43d9d21d339382082345e17fcc6a246aa79fbdc230d3be4afcdbc4578", kill_on_drop: false }` [INFO] [stdout] 42f665e43d9d21d339382082345e17fcc6a246aa79fbdc230d3be4afcdbc4578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd961f7b3ffc6475bd8cbf4c145dc022422494b1a143b16809af2d9b90d144ea [INFO] running `Command { std: "docker" "start" "-a" "bd961f7b3ffc6475bd8cbf4c145dc022422494b1a143b16809af2d9b90d144ea", kill_on_drop: false }` [INFO] [stderr] Compiling lucid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | RuntimeMessage(&'static str), [INFO] [stdout] | -------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LangError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 13 | RuntimeMessage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | UnknownParsing(&'static str), [INFO] [stdout] | -------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LangError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 16 | UnknownParsing(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_method` is never read [INFO] [stdout] --> src/compiler/functions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub is_method: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "bd961f7b3ffc6475bd8cbf4c145dc022422494b1a143b16809af2d9b90d144ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd961f7b3ffc6475bd8cbf4c145dc022422494b1a143b16809af2d9b90d144ea", kill_on_drop: false }` [INFO] [stdout] bd961f7b3ffc6475bd8cbf4c145dc022422494b1a143b16809af2d9b90d144ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941559c8096db1c480f38d753ded8d7d24c9c4605d9f6cf7a600580b7de03275 [INFO] running `Command { std: "docker" "start" "-a" "941559c8096db1c480f38d753ded8d7d24c9c4605d9f6cf7a600580b7de03275", kill_on_drop: false }` [INFO] [stderr] Compiling lucid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LangError` and `Value` [INFO] [stdout] --> src/vm/vm_tests.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::{Value, Constant, LangError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let res = lexer::lex(String::from("(){}[]")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^------------------------ argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | let res = lexer::lex(String::from("(){}[]"), /* String */).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let res = lexer::lex(String::from("+ ++ += - -- -= /= *=")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^--------------------------------------- argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 32 | let res = lexer::lex(String::from("+ ++ += - -- -= /= *="), /* String */).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let res = lexer::lex(String::from("||&&|& ")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^------------------------- argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 48 | let res = lexer::lex(String::from("||&&|& "), /* String */).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let res = lexer::lex(String::from("=>=! =")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^------------------------ argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | let res = lexer::lex(String::from("=>=! ="), /* String */).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let res = lexer::lex(String::from( [INFO] [stdout] | _______________^^^^^^^^^^- [INFO] [stdout] 64 | | "=> = *= /= -= += | & || && == != <= < >= > << >> + - * / % ** ! ++ --", [INFO] [stdout] 65 | | )) [INFO] [stdout] | |______- argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 63 ~ let res = lexer::lex(String::from( [INFO] [stdout] 64 + "=> = *= /= -= += | & || && == != <= < >= > << >> + - * / % ** ! ++ --", [INFO] [stdout] 65 + ), /* String */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let res = lexer::lex(String::from("420")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^--------------------- argument #2 of type `String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 101 | let res = lexer::lex(String::from("420"), /* String */).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 105 | let res = lex!("042"); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 109 | let res = lex!("4.2="); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 116 | let res = lex!("-42"); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 123 | let res = lex!("// Hello \n ="); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 130 | let res = lex!("/**/ ="); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 137 | let res = lex!("0xff"); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 141 | let res = lex!("0b10"); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 149 | let _ = lex!("0x"); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 150 | let _ = lex!("0b"); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 154 | let res = lex!("\"Hello World\" "); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 162 | let res = lex!(" \" \\n \\t \\r \\\\ \""); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lexing/lexer_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l)).unwrap() [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `String` is missing [INFO] [stdout] ... [INFO] [stdout] 170 | let res = lex!( [INFO] [stdout] | _______________- [INFO] [stdout] 171 | | "struct self fn let while Fn new int float bool str if else return import null or and" [INFO] [stdout] 172 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lexing/lexer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn lex(code: String, filename: String) -> Result, LangError> { [INFO] [stdout] | ^^^ ------------ ---------------- [INFO] [stdout] = note: this error originates in the macro `lex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | lexer::lex(String::from($l), /* String */).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `DEBUG` found for enum `instructions::Instruction` in the current scope [INFO] [stdout] --> src/vm/vm_tests.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | chunk.push_instruction(Instruction::DEBUG); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/vm/instructions.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Instruction { [INFO] [stdout] | -------------------- variant or associated item `DEBUG` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/vm/vm_tests.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let _ = interpret(chunk); [INFO] [stdout] | ^^^^^^^^^------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/vm/core.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn interpret(chunk: Chunk, print_stack: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | let _ = interpret(chunk, /* bool */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `DEBUG` found for enum `instructions::Instruction` in the current scope [INFO] [stdout] --> src/vm/vm_tests.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | chunk.push_instruction(Instruction::DEBUG); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/vm/instructions.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Instruction { [INFO] [stdout] | -------------------- variant or associated item `DEBUG` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/vm/vm_tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let _ = interpret(chunk); [INFO] [stdout] | ^^^^^^^^^------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/vm/core.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn interpret(chunk: Chunk, print_stack: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 39 | let _ = interpret(chunk, /* bool */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `DEBUG` found for enum `instructions::Instruction` in the current scope [INFO] [stdout] --> src/vm/vm_tests.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | chunk.push_instruction(Instruction::DEBUG); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/vm/instructions.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Instruction { [INFO] [stdout] | -------------------- variant or associated item `DEBUG` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/vm/vm_tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = interpret(chunk); [INFO] [stdout] | ^^^^^^^^^------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/vm/core.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn interpret(chunk: Chunk, print_stack: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | let _ = interpret(chunk, /* bool */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lucid` (bin "lucid" test) due to 24 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "941559c8096db1c480f38d753ded8d7d24c9c4605d9f6cf7a600580b7de03275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941559c8096db1c480f38d753ded8d7d24c9c4605d9f6cf7a600580b7de03275", kill_on_drop: false }` [INFO] [stdout] 941559c8096db1c480f38d753ded8d7d24c9c4605d9f6cf7a600580b7de03275