[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 master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwhice%2Fmll" "/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/twhice/mll on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.painc [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0448ac0cd18b1f5db4933205eeb4f02e0a573a74da6dee098df856860a954a8 [INFO] running `Command { std: "docker" "start" "-a" "a0448ac0cd18b1f5db4933205eeb4f02e0a573a74da6dee098df856860a954a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0448ac0cd18b1f5db4933205eeb4f02e0a573a74da6dee098df856860a954a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0448ac0cd18b1f5db4933205eeb4f02e0a573a74da6dee098df856860a954a8", kill_on_drop: false }` [INFO] [stdout] a0448ac0cd18b1f5db4933205eeb4f02e0a573a74da6dee098df856860a954a8 [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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc799067967b6527b98a70087f30a814fe2ef059096ec76f2ef4e0a802d4ebd2 [INFO] running `Command { std: "docker" "start" "-a" "dc799067967b6527b98a70087f30a814fe2ef059096ec76f2ef4e0a802d4ebd2", 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)]` 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] 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(()), [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] 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((), ()), [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] 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((), (), ()), [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: fields `name`, `nr_arg`, and `block` are never read [INFO] [stdout] --> src/stmt.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 312 | /// 函数名 [INFO] [stdout] 313 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 314 | // 参数数目 [INFO] [stdout] 315 | pub nr_arg: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 316 | // 函数体 [INFO] [stdout] 317 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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 `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)]` 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] 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(()), [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] 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((), ()), [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] 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((), (), ()), [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: fields `name`, `nr_arg`, and `block` are never read [INFO] [stdout] --> src/stmt.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 312 | /// 函数名 [INFO] [stdout] 313 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 314 | // 参数数目 [INFO] [stdout] 315 | pub nr_arg: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 316 | // 函数体 [INFO] [stdout] 317 | pub block: Stmts, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "dc799067967b6527b98a70087f30a814fe2ef059096ec76f2ef4e0a802d4ebd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc799067967b6527b98a70087f30a814fe2ef059096ec76f2ef4e0a802d4ebd2", kill_on_drop: false }` [INFO] [stdout] dc799067967b6527b98a70087f30a814fe2ef059096ec76f2ef4e0a802d4ebd2