[INFO] cloning repository https://github.com/twhice/mll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twhice/mll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwhice%2Fmll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwhice%2Fmll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12a21d41d4eab997bedcf111024ffd48e5d3073e [INFO] checking twhice/mll against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwhice%2Fmll" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/twhice/mll [INFO] finished tweaking git repo https://github.com/twhice/mll [INFO] tweaked toml for git repo https://github.com/twhice/mll written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/twhice/mll on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/twhice/mll 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.painc [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30c7e5352c878780ca1491d4ec8a794e78b487769776ce189c153706a49f9c20 [INFO] running `Command { std: "docker" "start" "-a" "30c7e5352c878780ca1491d4ec8a794e78b487769776ce189c153706a49f9c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30c7e5352c878780ca1491d4ec8a794e78b487769776ce189c153706a49f9c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c7e5352c878780ca1491d4ec8a794e78b487769776ce189c153706a49f9c20", kill_on_drop: false }` [INFO] [stdout] 30c7e5352c878780ca1491d4ec8a794e78b487769776ce189c153706a49f9c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0467e9f3ecb1790eb55c494d8a61ab813b8dbb074b35af0d3966953ba0972b5a [INFO] running `Command { std: "docker" "start" "-a" "0467e9f3ecb1790eb55c494d8a61ab813b8dbb074b35af0d3966953ba0972b5a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.painc [INFO] [stderr] Checking mindustry-logic-language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `begin` is never read [INFO] [stdout] --> src/parse.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub begin: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile` is never used [INFO] [stdout] --> src/stmt.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Statement: Debug { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 217 | fn compile(self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stmt.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Vul(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are 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] 222 - Vul(String), [INFO] [stdout] 222 + Vul(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/stmt.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | WithOp1(Symbol, Box), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 223 - WithOp1(Symbol, Box), [INFO] [stdout] 223 + WithOp1((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/stmt.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | WithOp2(Symbol, Box, Box), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 224 - WithOp2(Symbol, Box, Box), [INFO] [stdout] 224 + WithOp2((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l`, `op`, and `r` are never read [INFO] [stdout] --> src/stmt.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct Set { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 236 | pub l: String, [INFO] [stdout] | ^ [INFO] [stdout] 237 | pub op: Symbol, [INFO] [stdout] | ^^ [INFO] [stdout] 238 | pub r: Expr, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Set` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond_blocks` and `else_block` are never read [INFO] [stdout] --> src/stmt.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 249 | pub cond_blocks: Vec<(Expr, Stmts)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | pub else_block: Option, [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 `cond` and `block` are never read [INFO] [stdout] --> src/stmt.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct While { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 261 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `While` 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 `cond` and `block` are never read [INFO] [stdout] --> src/stmt.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct RepeatUntil { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 273 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 274 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepeatUntil` 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 `name` is never read [INFO] [stdout] --> src/stmt.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct Label { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 288 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` 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 `label` is never read [INFO] [stdout] --> src/stmt.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct Goto { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 299 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Goto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> src/stmt.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `begin` is never read [INFO] [stdout] --> src/parse.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub begin: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile` is never used [INFO] [stdout] --> src/stmt.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Statement: Debug { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 217 | fn compile(self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stmt.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Vul(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are 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] 222 - Vul(String), [INFO] [stdout] 222 + Vul(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/stmt.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | WithOp1(Symbol, Box), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 223 - WithOp1(Symbol, Box), [INFO] [stdout] 223 + WithOp1((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/stmt.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | WithOp2(Symbol, Box, Box), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 224 - WithOp2(Symbol, Box, Box), [INFO] [stdout] 224 + WithOp2((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l`, `op`, and `r` are never read [INFO] [stdout] --> src/stmt.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct Set { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 236 | pub l: String, [INFO] [stdout] | ^ [INFO] [stdout] 237 | pub op: Symbol, [INFO] [stdout] | ^^ [INFO] [stdout] 238 | pub r: Expr, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Set` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond_blocks` and `else_block` are never read [INFO] [stdout] --> src/stmt.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 249 | pub cond_blocks: Vec<(Expr, Stmts)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | pub else_block: Option, [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 `cond` and `block` are never read [INFO] [stdout] --> src/stmt.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct While { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 261 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `While` 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 `cond` and `block` are never read [INFO] [stdout] --> src/stmt.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct RepeatUntil { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 273 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 274 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepeatUntil` 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 `name` is never read [INFO] [stdout] --> src/stmt.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct Label { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 288 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` 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 `label` is never read [INFO] [stdout] --> src/stmt.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct Goto { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 299 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Goto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> src/stmt.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "0467e9f3ecb1790eb55c494d8a61ab813b8dbb074b35af0d3966953ba0972b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0467e9f3ecb1790eb55c494d8a61ab813b8dbb074b35af0d3966953ba0972b5a", kill_on_drop: false }` [INFO] [stdout] 0467e9f3ecb1790eb55c494d8a61ab813b8dbb074b35af0d3966953ba0972b5a