[INFO] cloning repository https://github.com/Grinshpon/Maroon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grinshpon/Maroon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2FMaroon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2FMaroon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fd53382138354c9127b23585312e73bd0d7fc50 [INFO] testing Grinshpon/Maroon against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2FMaroon" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grinshpon/Maroon on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grinshpon/Maroon [INFO] finished tweaking git repo https://github.com/Grinshpon/Maroon [INFO] tweaked toml for git repo https://github.com/Grinshpon/Maroon written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/Grinshpon/Maroon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0587381d0bb56f4881b08f79917d10877830200641485ccaaa03ad59b5898873 [INFO] running `Command { std: "docker" "start" "-a" "0587381d0bb56f4881b08f79917d10877830200641485ccaaa03ad59b5898873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0587381d0bb56f4881b08f79917d10877830200641485ccaaa03ad59b5898873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0587381d0bb56f4881b08f79917d10877830200641485ccaaa03ad59b5898873", kill_on_drop: false }` [INFO] [stdout] 0587381d0bb56f4881b08f79917d10877830200641485ccaaa03ad59b5898873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49d0e7588696c88a10ec79e602df75699c90bf915082cd8df7275030461a49e2 [INFO] running `Command { std: "docker" "start" "-a" "49d0e7588696c88a10ec79e602df75699c90bf915082cd8df7275030461a49e2", kill_on_drop: false }` [INFO] [stderr] Compiling maroon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 190 | / loop { [INFO] [stdout] 191 | | match tokens.peek() { [INFO] [stdout] 192 | | Some(Token::CBRACKET(line)) => { [INFO] [stdout] 193 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 201 | | }; [INFO] [stdout] 202 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 203 | Err(ParseError::Unknown(2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 209 | / loop { [INFO] [stdout] 210 | | match tokens.peek() { [INFO] [stdout] 211 | | Some(Token::CPAREN(line)) => { [INFO] [stdout] 212 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 222 | Err(ParseError::Unknown(3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | SExpr::Main(sexprs) => Err(UnimplementedFeature(0,1)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | SExpr::Int(line, i) => Ok(LuaExpr(Expr::Lit(Literal::Int(i)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | SExpr::Float(line, f) => Ok(LuaExpr(Expr::Lit(Literal::Float(f)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | SExpr::Bool(line, b) => Ok(LuaExpr(Expr::Lit(Literal::Bool(b)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | SExpr::Str(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | SExpr::Char(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:413:18 [INFO] [stdout] | [INFO] [stdout] 413 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | SExpr::List(line, sexprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | SExpr::Func(line, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | SExpr::Int(line, i) => Ok(LuaLiteral(Literal::Int(i))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | SExpr::Float(line, f) => Ok(LuaLiteral(Literal::Float(f))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | SExpr::Bool(line, b) => Ok(LuaLiteral(Literal::Bool(b))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | SExpr::Str(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | SExpr::Char(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/genlua.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:477:23 [INFO] [stdout] | [INFO] [stdout] 477 | SExpr::List(line, sexprs) => Err(UnimplementedFeature(line,6)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | SExpr::Stmt(line, sexprs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/genlua.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | SExpr::Builtin(line, std) => Err(UnimplementedFeature(line,9)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUILTINS` [INFO] [stdout] --> src/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] 19 | | ".", ":", "+", "-", "*", "/", "//", "^", "pow", "sqrt", [INFO] [stdout] 20 | | "and", "or", "not", "==", "!=", "&&", "||", "!", [INFO] [stdout] 21 | | "print", "type", [INFO] [stdout] 22 | | "do", "for", "while", "if", "then", "else", "end", // 'then', 'else', 'end' are not KEYWORDS but cannot be used for lua compat [INFO] [stdout] 23 | | ];//todo: bitwise operators [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Module` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/genlua.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "49d0e7588696c88a10ec79e602df75699c90bf915082cd8df7275030461a49e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d0e7588696c88a10ec79e602df75699c90bf915082cd8df7275030461a49e2", kill_on_drop: false }` [INFO] [stdout] 49d0e7588696c88a10ec79e602df75699c90bf915082cd8df7275030461a49e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03307558323aedc3c9e8f4345f541fd4b222df73fa7fbbaa68dc1661e03c457a [INFO] running `Command { std: "docker" "start" "-a" "03307558323aedc3c9e8f4345f541fd4b222df73fa7fbbaa68dc1661e03c457a", kill_on_drop: false }` [INFO] [stderr] Compiling maroon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 190 | / loop { [INFO] [stdout] 191 | | match tokens.peek() { [INFO] [stdout] 192 | | Some(Token::CBRACKET(line)) => { [INFO] [stdout] 193 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 201 | | }; [INFO] [stdout] 202 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 203 | Err(ParseError::Unknown(2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 209 | / loop { [INFO] [stdout] 210 | | match tokens.peek() { [INFO] [stdout] 211 | | Some(Token::CPAREN(line)) => { [INFO] [stdout] 212 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 222 | Err(ParseError::Unknown(3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | SExpr::Main(sexprs) => Err(UnimplementedFeature(0,1)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | SExpr::Int(line, i) => Ok(LuaExpr(Expr::Lit(Literal::Int(i)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | SExpr::Float(line, f) => Ok(LuaExpr(Expr::Lit(Literal::Float(f)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | SExpr::Bool(line, b) => Ok(LuaExpr(Expr::Lit(Literal::Bool(b)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | SExpr::Str(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | SExpr::Char(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:413:18 [INFO] [stdout] | [INFO] [stdout] 413 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | SExpr::List(line, sexprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | SExpr::Func(line, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | SExpr::Int(line, i) => Ok(LuaLiteral(Literal::Int(i))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | SExpr::Float(line, f) => Ok(LuaLiteral(Literal::Float(f))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | SExpr::Bool(line, b) => Ok(LuaLiteral(Literal::Bool(b))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | SExpr::Str(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | SExpr::Char(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/genlua.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:477:23 [INFO] [stdout] | [INFO] [stdout] 477 | SExpr::List(line, sexprs) => Err(UnimplementedFeature(line,6)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | SExpr::Stmt(line, sexprs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/genlua.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | SExpr::Builtin(line, std) => Err(UnimplementedFeature(line,9)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUILTINS` [INFO] [stdout] --> src/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] 19 | | ".", ":", "+", "-", "*", "/", "//", "^", "pow", "sqrt", [INFO] [stdout] 20 | | "and", "or", "not", "==", "!=", "&&", "||", "!", [INFO] [stdout] 21 | | "print", "type", [INFO] [stdout] 22 | | "do", "for", "while", "if", "then", "else", "end", // 'then', 'else', 'end' are not KEYWORDS but cannot be used for lua compat [INFO] [stdout] 23 | | ];//todo: bitwise operators [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Module` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/genlua.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.40s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/maroon-19b6ffbd8f1e35ab) [INFO] running `Command { std: "docker" "inspect" "03307558323aedc3c9e8f4345f541fd4b222df73fa7fbbaa68dc1661e03c457a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03307558323aedc3c9e8f4345f541fd4b222df73fa7fbbaa68dc1661e03c457a", kill_on_drop: false }` [INFO] [stdout] 03307558323aedc3c9e8f4345f541fd4b222df73fa7fbbaa68dc1661e03c457a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09eecbe73b5f5191190708d5e9d91d5b4c66b406d948d705c43b3efcece2985a [INFO] running `Command { std: "docker" "start" "-a" "09eecbe73b5f5191190708d5e9d91d5b4c66b406d948d705c43b3efcece2985a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/parser.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parser.rs:203:3 [INFO] [stderr] | [INFO] [stderr] 190 | / loop { [INFO] [stderr] 191 | | match tokens.peek() { [INFO] [stderr] 192 | | Some(Token::CBRACKET(line)) => { [INFO] [stderr] 193 | | tokens.next(); [INFO] [stderr] ... | [INFO] [stderr] 201 | | }; [INFO] [stderr] 202 | | } [INFO] [stderr] | |___- any code following this expression is unreachable [INFO] [stderr] 203 | Err(ParseError::Unknown(2)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parser.rs:222:3 [INFO] [stderr] | [INFO] [stderr] 209 | / loop { [INFO] [stderr] 210 | | match tokens.peek() { [INFO] [stderr] 211 | | Some(Token::CPAREN(line)) => { [INFO] [stderr] 212 | | tokens.next(); [INFO] [stderr] ... | [INFO] [stderr] 220 | | }; [INFO] [stderr] 221 | | } [INFO] [stderr] | |___- any code following this expression is unreachable [INFO] [stderr] 222 | Err(ParseError::Unknown(3)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexprs` [INFO] [stderr] --> src/genlua.rs:364:17 [INFO] [stderr] | [INFO] [stderr] 364 | SExpr::Main(sexprs) => Err(UnimplementedFeature(0,1)), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line1` [INFO] [stderr] --> src/genlua.rs:373:22 [INFO] [stderr] | [INFO] [stderr] 373 | SExpr::Ident(line1, id) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line1` [INFO] [stderr] --> src/genlua.rs:388:23 [INFO] [stderr] | [INFO] [stderr] 388 | SExpr::Symbol(line1, op) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/genlua.rs:400:23 [INFO] [stderr] | [INFO] [stderr] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/genlua.rs:400:29 [INFO] [stderr] | [INFO] [stderr] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:408:16 [INFO] [stderr] | [INFO] [stderr] 408 | SExpr::Int(line, i) => Ok(LuaExpr(Expr::Lit(Literal::Int(i)))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:409:18 [INFO] [stderr] | [INFO] [stderr] 409 | SExpr::Float(line, f) => Ok(LuaExpr(Expr::Lit(Literal::Float(f)))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:410:17 [INFO] [stderr] | [INFO] [stderr] 410 | SExpr::Bool(line, b) => Ok(LuaExpr(Expr::Lit(Literal::Bool(b)))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:411:16 [INFO] [stderr] | [INFO] [stderr] 411 | SExpr::Str(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:412:17 [INFO] [stderr] | [INFO] [stderr] 412 | SExpr::Char(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:413:18 [INFO] [stderr] | [INFO] [stderr] 413 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:414:17 [INFO] [stderr] | [INFO] [stderr] 414 | SExpr::List(line, sexprs) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line1` [INFO] [stderr] --> src/genlua.rs:425:22 [INFO] [stderr] | [INFO] [stderr] 425 | SExpr::Ident(line1, id) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line1` [INFO] [stderr] --> src/genlua.rs:436:23 [INFO] [stderr] | [INFO] [stderr] 436 | SExpr::Symbol(line1, op) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:447:17 [INFO] [stderr] | [INFO] [stderr] 447 | SExpr::Func(line, args, body) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:470:16 [INFO] [stderr] | [INFO] [stderr] 470 | SExpr::Int(line, i) => Ok(LuaLiteral(Literal::Int(i))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:471:18 [INFO] [stderr] | [INFO] [stderr] 471 | SExpr::Float(line, f) => Ok(LuaLiteral(Literal::Float(f))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:472:17 [INFO] [stderr] | [INFO] [stderr] 472 | SExpr::Bool(line, b) => Ok(LuaLiteral(Literal::Bool(b))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:473:16 [INFO] [stderr] | [INFO] [stderr] 473 | SExpr::Str(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:474:17 [INFO] [stderr] | [INFO] [stderr] 474 | SExpr::Char(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:475:18 [INFO] [stderr] | [INFO] [stderr] 475 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/genlua.rs:476:19 [INFO] [stderr] | [INFO] [stderr] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/genlua.rs:476:25 [INFO] [stderr] | [INFO] [stderr] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexprs` [INFO] [stderr] --> src/genlua.rs:477:23 [INFO] [stderr] | [INFO] [stderr] 477 | SExpr::List(line, sexprs) => Err(UnimplementedFeature(line,6)), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexprs` [INFO] [stderr] --> src/genlua.rs:478:23 [INFO] [stderr] | [INFO] [stderr] 478 | SExpr::Stmt(line, sexprs) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/genlua.rs:482:23 [INFO] [stderr] | [INFO] [stderr] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/genlua.rs:482:29 [INFO] [stderr] | [INFO] [stderr] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `std` [INFO] [stderr] --> src/genlua.rs:483:26 [INFO] [stderr] | [INFO] [stderr] 483 | SExpr::Builtin(line, std) => Err(UnimplementedFeature(line,9)), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BUILTINS` [INFO] [stderr] --> src/parser.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / const BUILTINS: &'static [&'static str] = &[ [INFO] [stderr] 19 | | ".", ":", "+", "-", "*", "/", "//", "^", "pow", "sqrt", [INFO] [stderr] 20 | | "and", "or", "not", "==", "!=", "&&", "||", "!", [INFO] [stderr] 21 | | "print", "type", [INFO] [stderr] 22 | | "do", "for", "while", "if", "then", "else", "end", // 'then', 'else', 'end' are not KEYWORDS but cannot be used for lua compat [INFO] [stderr] 23 | | ];//todo: bitwise operators [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/genlua.rs:54:3 [INFO] [stderr] | [INFO] [stderr] 54 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Module` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/genlua.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `maroon` (bin "maroon" test) generated 33 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/maroon-19b6ffbd8f1e35ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09eecbe73b5f5191190708d5e9d91d5b4c66b406d948d705c43b3efcece2985a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09eecbe73b5f5191190708d5e9d91d5b4c66b406d948d705c43b3efcece2985a", kill_on_drop: false }` [INFO] [stdout] 09eecbe73b5f5191190708d5e9d91d5b4c66b406d948d705c43b3efcece2985a