[INFO] cloning repository https://github.com/litarussell/SysY-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/litarussell/SysY-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitarussell%2FSysY-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitarussell%2FSysY-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36262303d8647def73ba4a68d6a0e3b8caa326f7 [INFO] checking litarussell/SysY-rust against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitarussell%2FSysY-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/litarussell/SysY-rust on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/litarussell/SysY-rust [INFO] finished tweaking git repo https://github.com/litarussell/SysY-rust [INFO] tweaked toml for git repo https://github.com/litarussell/SysY-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/litarussell/SysY-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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded key-node-list v0.0.5 [INFO] [stderr] Downloaded koopa v0.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0c93ecf3bbd3aaa53ec53a6203e71b6a121ba9aff44af09c75141fc71c619ce [INFO] running `Command { std: "docker" "start" "-a" "e0c93ecf3bbd3aaa53ec53a6203e71b6a121ba9aff44af09c75141fc71c619ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0c93ecf3bbd3aaa53ec53a6203e71b6a121ba9aff44af09c75141fc71c619ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c93ecf3bbd3aaa53ec53a6203e71b6a121ba9aff44af09c75141fc71c619ce", kill_on_drop: false }` [INFO] [stdout] e0c93ecf3bbd3aaa53ec53a6203e71b6a121ba9aff44af09c75141fc71c619ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47ff6853c11973822ce281b2b9ae0116bd217771c6c160e3e13e2d44dfcfa2ca [INFO] running `Command { std: "docker" "start" "-a" "47ff6853c11973822ce281b2b9ae0116bd217771c6c160e3e13e2d44dfcfa2ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking koopa v0.0.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling SysY-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func_def` is never read [INFO] [stdout] --> src/ast.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CompUnit { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | pub func_def: FuncDef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompUnit` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `func_type`, `ident`, and `block` are never read [INFO] [stdout] --> src/ast.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FuncDef { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 22 | pub func_type: FuncType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDef` 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 `stmt` is never read [INFO] [stdout] --> src/ast.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub stmt: Stmt [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `num` is never read [INFO] [stdout] --> src/ast.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Stmt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub num: Number [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `value` is never read [INFO] [stdout] --> src/ast.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 45 | pub value: i32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func_def` is never read [INFO] [stdout] --> src/ast.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CompUnit { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | pub func_def: FuncDef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompUnit` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `func_type`, `ident`, and `block` are never read [INFO] [stdout] --> src/ast.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FuncDef { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 22 | pub func_type: FuncType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDef` 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 `stmt` is never read [INFO] [stdout] --> src/ast.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub stmt: Stmt [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `num` is never read [INFO] [stdout] --> src/ast.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Stmt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub num: Number [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `value` is never read [INFO] [stdout] --> src/ast.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 45 | pub value: i32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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 20.55s [INFO] running `Command { std: "docker" "inspect" "47ff6853c11973822ce281b2b9ae0116bd217771c6c160e3e13e2d44dfcfa2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ff6853c11973822ce281b2b9ae0116bd217771c6c160e3e13e2d44dfcfa2ca", kill_on_drop: false }` [INFO] [stdout] 47ff6853c11973822ce281b2b9ae0116bd217771c6c160e3e13e2d44dfcfa2ca