[INFO] cloning repository https://github.com/Pologue/sysy-cargo-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pologue/sysy-cargo-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPologue%2Fsysy-cargo-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPologue%2Fsysy-cargo-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 005ac6964449c7b71a342e7d984f1ec7ca88f3a0 [INFO] testing Pologue/sysy-cargo-template against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPologue%2Fsysy-cargo-template" "/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/Pologue/sysy-cargo-template [INFO] finished tweaking git repo https://github.com/Pologue/sysy-cargo-template [INFO] tweaked toml for git repo https://github.com/Pologue/sysy-cargo-template written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pologue/sysy-cargo-template on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Pologue/sysy-cargo-template 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05432bf638a761571866a26fc041c5d8892acae19c96ccdf4c9b0c449827fc4c [INFO] running `Command { std: "docker" "start" "-a" "05432bf638a761571866a26fc041c5d8892acae19c96ccdf4c9b0c449827fc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05432bf638a761571866a26fc041c5d8892acae19c96ccdf4c9b0c449827fc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05432bf638a761571866a26fc041c5d8892acae19c96ccdf4c9b0c449827fc4c", kill_on_drop: false }` [INFO] [stdout] 05432bf638a761571866a26fc041c5d8892acae19c96ccdf4c9b0c449827fc4c [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 736fe85159e1d88f66c470979c54727848643921e6f6e00d6382c12dade51aff [INFO] running `Command { std: "docker" "start" "-a" "736fe85159e1d88f66c470979c54727848643921e6f6e00d6382c12dade51aff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling key-node-list v0.0.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling koopa v0.0.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [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 string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling sysy-cargo-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `PrimaryExp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy-cargo-template-3f508b0441c7f539/out/sysy.rs:1246:5 [INFO] [stdout] | [INFO] [stdout] 1246 | PrimaryExp { exp } [INFO] [stdout] | ^^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `PrimaryExp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy-cargo-template-3f508b0441c7f539/out/sysy.rs:1258:5 [INFO] [stdout] | [INFO] [stdout] 1258 | PrimaryExp { num } [INFO] [stdout] | ^^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `UnaryExp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy-cargo-template-3f508b0441c7f539/out/sysy.rs:1270:5 [INFO] [stdout] | [INFO] [stdout] 1270 | UnaryExp { primaryExp } [INFO] [stdout] | ^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `UnaryExp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy-cargo-template-3f508b0441c7f539/out/sysy.rs:1283:5 [INFO] [stdout] | [INFO] [stdout] 1283 | UnaryExp { unaryOp, unaryExp } [INFO] [stdout] | ^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entities::ValueData` [INFO] [stdout] --> src/asm.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use koopa::ir::{entities::ValueData, FunctionData, Program, ValueKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `num` on type `ast::Stmt` [INFO] [stdout] --> src/ir.rs:22:79 [INFO] [stdout] | [INFO] [stdout] 22 | let num = main_data.dfg_mut().new_value().integer(ast.func_def.block.stmt.num); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/asm.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | for (&bb, node) in func_data.layout().bbs() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy-cargo-template` (bin "sysy-cargo-template") due to 5 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0574, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0574`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "736fe85159e1d88f66c470979c54727848643921e6f6e00d6382c12dade51aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "736fe85159e1d88f66c470979c54727848643921e6f6e00d6382c12dade51aff", kill_on_drop: false }` [INFO] [stdout] 736fe85159e1d88f66c470979c54727848643921e6f6e00d6382c12dade51aff