[INFO] cloning repository https://github.com/nyamadan/lua_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nyamadan/lua_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyamadan%2Flua_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyamadan%2Flua_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d46d40b5e026d01fd3b925ac55b32f522966e6b8 [INFO] testing nyamadan/lua_in_rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyamadan%2Flua_in_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nyamadan/lua_in_rust [INFO] finished tweaking git repo https://github.com/nyamadan/lua_in_rust [INFO] tweaked toml for git repo https://github.com/nyamadan/lua_in_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nyamadan/lua_in_rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nyamadan/lua_in_rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 121a851f0c89fddb8814348fb3a29a5a3e07d260086e5085d2c43f6634c910e2 [INFO] running `Command { std: "docker" "start" "-a" "121a851f0c89fddb8814348fb3a29a5a3e07d260086e5085d2c43f6634c910e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "121a851f0c89fddb8814348fb3a29a5a3e07d260086e5085d2c43f6634c910e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121a851f0c89fddb8814348fb3a29a5a3e07d260086e5085d2c43f6634c910e2", kill_on_drop: false }` [INFO] [stdout] 121a851f0c89fddb8814348fb3a29a5a3e07d260086e5085d2c43f6634c910e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1084bcdc2b7ca00c2710bf41e1e47d9abcb8111a5c3c03e23b351bf9449b49 [INFO] running `Command { std: "docker" "start" "-a" "8b1084bcdc2b7ca00c2710bf41e1e47d9abcb8111a5c3c03e23b351bf9449b49", kill_on_drop: false }` [INFO] [stderr] Compiling lua_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | Expression(Expression), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 5 - Expression(Expression), [INFO] [stdout] 5 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 6 - If(If), [INFO] [stdout] 6 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | FunctionDeclaration(FunctionDeclaration), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 7 - FunctionDeclaration(FunctionDeclaration), [INFO] [stdout] 7 + FunctionDeclaration(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Return(Return), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 8 - Return(Return), [INFO] [stdout] 8 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Local(Local), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 9 - Local(Local), [INFO] [stdout] 9 + Local(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | Identifier(Token), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 - Identifier(Token), [INFO] [stdout] 16 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Number(Token), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 17 - Number(Token), [INFO] [stdout] 17 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/parse.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FunctionCall { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read [INFO] [stdout] --> src/parse.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BinaryOperation { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 28 | pub operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | FunctionCall(FunctionCall), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 35 - FunctionCall(FunctionCall), [INFO] [stdout] 35 + FunctionCall(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | BinaryOperation(BinaryOperation), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 36 - BinaryOperation(BinaryOperation), [INFO] [stdout] 36 + BinaryOperation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Literal(Literal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 37 - Literal(Literal), [INFO] [stdout] 37 + Literal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parameters`, and `body` are never read [INFO] [stdout] --> src/parse.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FunctionDeclaration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 42 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclaration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test` and `body` are never read [INFO] [stdout] --> src/parse.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 49 | pub test: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expression` are never read [INFO] [stdout] --> src/parse.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 55 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | pub expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expression` is never read [INFO] [stdout] --> src/parse.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 61 | pub expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "8b1084bcdc2b7ca00c2710bf41e1e47d9abcb8111a5c3c03e23b351bf9449b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1084bcdc2b7ca00c2710bf41e1e47d9abcb8111a5c3c03e23b351bf9449b49", kill_on_drop: false }` [INFO] [stdout] 8b1084bcdc2b7ca00c2710bf41e1e47d9abcb8111a5c3c03e23b351bf9449b49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92bcaf9a1c04ee962095930f954245fc34d771f568756c4f930897689dc7c89d [INFO] running `Command { std: "docker" "start" "-a" "92bcaf9a1c04ee962095930f954245fc34d771f568756c4f930897689dc7c89d", kill_on_drop: false }` [INFO] [stderr] Compiling lua_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | Expression(Expression), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 5 - Expression(Expression), [INFO] [stdout] 5 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 6 - If(If), [INFO] [stdout] 6 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | FunctionDeclaration(FunctionDeclaration), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 7 - FunctionDeclaration(FunctionDeclaration), [INFO] [stdout] 7 + FunctionDeclaration(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Return(Return), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 8 - Return(Return), [INFO] [stdout] 8 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Local(Local), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 9 - Local(Local), [INFO] [stdout] 9 + Local(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | Identifier(Token), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 - Identifier(Token), [INFO] [stdout] 16 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Number(Token), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 17 - Number(Token), [INFO] [stdout] 17 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/parse.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FunctionCall { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read [INFO] [stdout] --> src/parse.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BinaryOperation { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 28 | pub operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | FunctionCall(FunctionCall), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 35 - FunctionCall(FunctionCall), [INFO] [stdout] 35 + FunctionCall(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | BinaryOperation(BinaryOperation), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 36 - BinaryOperation(BinaryOperation), [INFO] [stdout] 36 + BinaryOperation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Literal(Literal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 37 - Literal(Literal), [INFO] [stdout] 37 + Literal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parameters`, and `body` are never read [INFO] [stdout] --> src/parse.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FunctionDeclaration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 42 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclaration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test` and `body` are never read [INFO] [stdout] --> src/parse.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 49 | pub test: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expression` are never read [INFO] [stdout] --> src/parse.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 55 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | pub expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expression` is never read [INFO] [stdout] --> src/parse.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 61 | pub expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "92bcaf9a1c04ee962095930f954245fc34d771f568756c4f930897689dc7c89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bcaf9a1c04ee962095930f954245fc34d771f568756c4f930897689dc7c89d", kill_on_drop: false }` [INFO] [stdout] 92bcaf9a1c04ee962095930f954245fc34d771f568756c4f930897689dc7c89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 703724dbde30e35b5db7c2a9ac2cf9de383493a0eb54133873e3982d0a1bf729 [INFO] running `Command { std: "docker" "start" "-a" "703724dbde30e35b5db7c2a9ac2cf9de383493a0eb54133873e3982d0a1bf729", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | Expression(Expression), [INFO] [stderr] | ---------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 - Expression(Expression), [INFO] [stderr] 5 + Expression(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | If(If), [INFO] [stderr] | -- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 - If(If), [INFO] [stderr] 6 + If(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | FunctionDeclaration(FunctionDeclaration), [INFO] [stderr] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 - FunctionDeclaration(FunctionDeclaration), [INFO] [stderr] 7 + FunctionDeclaration(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | Return(Return), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - Return(Return), [INFO] [stderr] 8 + Return(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | Local(Local), [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - Local(Local), [INFO] [stderr] 9 + Local(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | Identifier(Token), [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - Identifier(Token), [INFO] [stderr] 16 + Identifier(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | Number(Token), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - Number(Token), [INFO] [stderr] 17 + Number(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `arguments` are never read [INFO] [stderr] --> src/parse.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct FunctionCall { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 22 | pub name: Token, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | pub arguments: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `operator`, `left`, and `right` are never read [INFO] [stderr] --> src/parse.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct BinaryOperation { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 28 | pub operator: Token, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 29 | pub left: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | pub right: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinaryOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | FunctionCall(FunctionCall), [INFO] [stderr] | ------------ ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - FunctionCall(FunctionCall), [INFO] [stderr] 35 + FunctionCall(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | BinaryOperation(BinaryOperation), [INFO] [stderr] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 36 - BinaryOperation(BinaryOperation), [INFO] [stderr] 36 + BinaryOperation(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parse.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | Literal(Literal), [INFO] [stderr] | ------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - Literal(Literal), [INFO] [stderr] 37 + Literal(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `parameters`, and `body` are never read [INFO] [stderr] --> src/parse.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct FunctionDeclaration { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 42 | pub name: Token, [INFO] [stderr] | ^^^^ [INFO] [stderr] 43 | pub parameters: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 44 | pub body: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionDeclaration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `test` and `body` are never read [INFO] [stderr] --> src/parse.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct If { [INFO] [stderr] | -- fields in this struct [INFO] [stderr] 49 | pub test: Expression, [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | pub body: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `expression` are never read [INFO] [stderr] --> src/parse.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct Local { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 55 | pub name: Token, [INFO] [stderr] | ^^^^ [INFO] [stderr] 56 | pub expression: Expression, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `expression` is never read [INFO] [stderr] --> src/parse.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Return { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 61 | pub expression: Expression, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Return` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `lua_in_rust` (bin "lua_in_rust" test) generated 16 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lua_in_rust-1a39078e465014c7) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test lex::tests::test_eat_whitespace ... ok [INFO] [stdout] test lex::tests::test_lex_function ... ok [INFO] [stdout] test lex::tests::test_location_increment ... ok [INFO] [stdout] test parse::tests::test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "703724dbde30e35b5db7c2a9ac2cf9de383493a0eb54133873e3982d0a1bf729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703724dbde30e35b5db7c2a9ac2cf9de383493a0eb54133873e3982d0a1bf729", kill_on_drop: false }` [INFO] [stdout] 703724dbde30e35b5db7c2a9ac2cf9de383493a0eb54133873e3982d0a1bf729