[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] building Grinshpon/Maroon 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%2FGrinshpon%2FMaroon" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grinshpon/Maroon 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/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-2-tc1/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: 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ea942f629cb97a2f6a68676d1c5ca6bf0e2498befe0518eaffe1246b020482a6 [INFO] running `Command { std: "docker" "start" "-a" "ea942f629cb97a2f6a68676d1c5ca6bf0e2498befe0518eaffe1246b020482a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea942f629cb97a2f6a68676d1c5ca6bf0e2498befe0518eaffe1246b020482a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea942f629cb97a2f6a68676d1c5ca6bf0e2498befe0518eaffe1246b020482a6", kill_on_drop: false }` [INFO] [stdout] ea942f629cb97a2f6a68676d1c5ca6bf0e2498befe0518eaffe1246b020482a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d3629a2a0458d0b3d63e1520da01aae01579f491c91344de0d02edc403e0512d [INFO] running `Command { std: "docker" "start" "-a" "d3629a2a0458d0b3d63e1520da01aae01579f491c91344de0d02edc403e0512d", 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 `BUILTINS` is never used [INFO] [stdout] --> src/parser.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Module { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "d3629a2a0458d0b3d63e1520da01aae01579f491c91344de0d02edc403e0512d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3629a2a0458d0b3d63e1520da01aae01579f491c91344de0d02edc403e0512d", kill_on_drop: false }` [INFO] [stdout] d3629a2a0458d0b3d63e1520da01aae01579f491c91344de0d02edc403e0512d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c0ae580fcfafb3817be03edd5437635deb1c1a89daacbb88c64db3256a0d9f95 [INFO] running `Command { std: "docker" "start" "-a" "c0ae580fcfafb3817be03edd5437635deb1c1a89daacbb88c64db3256a0d9f95", 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 `BUILTINS` is never used [INFO] [stdout] --> src/parser.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Module { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "c0ae580fcfafb3817be03edd5437635deb1c1a89daacbb88c64db3256a0d9f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ae580fcfafb3817be03edd5437635deb1c1a89daacbb88c64db3256a0d9f95", kill_on_drop: false }` [INFO] [stdout] c0ae580fcfafb3817be03edd5437635deb1c1a89daacbb88c64db3256a0d9f95