[INFO] cloning repository https://github.com/ColdRain-Moro/compiler-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ColdRain-Moro/compiler-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e439b8c2a16d04262ae0d0aecc518c96cd25a35
[INFO] checking ColdRain-Moro/compiler-learning against nightly-2024-02-05 for check-cfg
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ColdRain-Moro/compiler-learning on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ColdRain-Moro/compiler-learning
[INFO] finished tweaking git repo https://github.com/ColdRain-Moro/compiler-learning
[INFO] tweaked toml for git repo https://github.com/ColdRain-Moro/compiler-learning written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ColdRain-Moro/compiler-learning 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lalrpop-util v0.19.8
[INFO] [stderr]   Downloaded key-node-list v0.0.5
[INFO] [stderr]   Downloaded koopa v0.0.6
[INFO] [stderr]   Downloaded lalrpop v0.19.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad7a1b614a249cd744fecc258205bdaeccf34cd8c8d49b0efea01d6580b5495e
[INFO] running `Command { std: "docker" "start" "-a" "ad7a1b614a249cd744fecc258205bdaeccf34cd8c8d49b0efea01d6580b5495e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad7a1b614a249cd744fecc258205bdaeccf34cd8c8d49b0efea01d6580b5495e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad7a1b614a249cd744fecc258205bdaeccf34cd8c8d49b0efea01d6580b5495e", kill_on_drop: false }`
[INFO] [stdout] ad7a1b614a249cd744fecc258205bdaeccf34cd8c8d49b0efea01d6580b5495e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f440e55de3f983a5e83aec381c4db7c904eddd324516844179ed1ed7d2042d8d
[INFO] running `Command { std: "docker" "start" "-a" "f440e55de3f983a5e83aec381c4db7c904eddd324516844179ed1ed7d2042d8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling itertools v0.10.5
[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 atty v0.2.14
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.4
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking key-node-list v0.0.5
[INFO] [stderr]     Checking koopa v0.0.6
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling lalrpop-util v0.19.8
[INFO] [stderr]    Compiling lalrpop v0.19.8
[INFO] [stderr]    Compiling compiler-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> src/frontend/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuncFParam`
[INFO] [stdout]  --> src/frontend/gen.rs:5:126
[INFO] [stdout]   |
[INFO] [stdout] 5 | ... ConstDef, ConstExp, ConstInitVal, Decl, EqExp, Exp, FuncDef, FuncFParam, FuncFParams, FuncType, GlobalDef, InitVal, LAndExp, LOrExp, ...
[INFO] [stdout]   |                                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ValueBuilder`
[INFO] [stdout]  --> src/frontend/context.rs:3:77
[INFO] [stdout]   |
[INFO] [stdout] 3 | use koopa::ir::builder::{BasicBlockBuilder, LocalBuilder, LocalInstBuilder, ValueBuilder};
[INFO] [stdout]   |                                                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ValueKind`
[INFO] [stdout]  --> src/frontend/eval.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use koopa::ir::{Program, ValueKind};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cur_func`
[INFO] [stdout]  --> src/frontend/eval.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::frontend::context::{Context, CTValue, cur_func};
[INFO] [stdout]   |                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> src/frontend/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuncFParam`
[INFO] [stdout]  --> src/frontend/gen.rs:5:126
[INFO] [stdout]   |
[INFO] [stdout] 5 | ... ConstDef, ConstExp, ConstInitVal, Decl, EqExp, Exp, FuncDef, FuncFParam, FuncFParams, FuncType, GlobalDef, InitVal, LAndExp, LOrExp, ...
[INFO] [stdout]   |                                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ValueBuilder`
[INFO] [stdout]  --> src/frontend/context.rs:3:77
[INFO] [stdout]   |
[INFO] [stdout] 3 | use koopa::ir::builder::{BasicBlockBuilder, LocalBuilder, LocalInstBuilder, ValueBuilder};
[INFO] [stdout]   |                                                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ValueKind`
[INFO] [stdout]  --> src/frontend/eval.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use koopa::ir::{Program, ValueKind};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cur_func`
[INFO] [stdout]  --> src/frontend/eval.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::frontend::context::{Context, CTValue, cur_func};
[INFO] [stdout]   |                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `codes`
[INFO] [stdout]  --> src/backend/gen.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn generate(&self, codes: &mut Vec<String>) {
[INFO] [stdout]   |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `codes`
[INFO] [stdout]   --> src/backend/gen.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn visit_with_func_data(&self, codes: &mut Vec<String>, func_data: &FunctionData) {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_data`
[INFO] [stdout]   --> src/backend/gen.rs:11:61
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn visit_with_func_data(&self, codes: &mut Vec<String>, func_data: &FunctionData) {
[INFO] [stdout]    |                                                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_void`
[INFO] [stdout]    --> src/frontend/gen.rs:630:33
[INFO] [stdout]     |
[INFO] [stdout] 630 |                 let (params_ty, is_void) = {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_void`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `codes`
[INFO] [stdout]  --> src/backend/gen.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn generate(&self, codes: &mut Vec<String>) {
[INFO] [stdout]   |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `codes`
[INFO] [stdout]   --> src/backend/gen.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn visit_with_func_data(&self, codes: &mut Vec<String>, func_data: &FunctionData) {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_data`
[INFO] [stdout]   --> src/backend/gen.rs:11:61
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn visit_with_func_data(&self, codes: &mut Vec<String>, func_data: &FunctionData) {
[INFO] [stdout]    |                                                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_void`
[INFO] [stdout]    --> src/frontend/gen.rs:630:33
[INFO] [stdout]     |
[INFO] [stdout] 630 |                 let (params_ty, is_void) = {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_void`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/frontend/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] 11 |     DuplicatedDef,
[INFO] [stdout] 12 |     InvalidVarDef,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     FailedToEval,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     InvalidArrayLen,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     InvalidInit,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     ArrayAssign,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     NotInLoop,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     RetValInVoidFunc,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     DerefInt,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     UseVoidValue,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 24 |     ArgMismatch,
[INFO] [stdout] 25 |     NonIntCalc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entry` is never read
[INFO] [stdout]   --> src/frontend/context.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct FunctionInfo {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 33 |     func: Function,
[INFO] [stdout] 34 |     entry: BasicBlock,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `as_runtime` are never used
[INFO] [stdout]    --> src/frontend/context.rs:235:8
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl CTValue {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] 235 |     fn print(&self, context: &mut Context, program: &mut Program) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn as_runtime(&self) -> Value {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/frontend/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] 11 |     DuplicatedDef,
[INFO] [stdout] 12 |     InvalidVarDef,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     FailedToEval,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     InvalidArrayLen,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     InvalidInit,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     ArrayAssign,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     NotInLoop,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     RetValInVoidFunc,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     DerefInt,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     UseVoidValue,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 24 |     ArgMismatch,
[INFO] [stdout] 25 |     NonIntCalc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entry` is never read
[INFO] [stdout]   --> src/frontend/context.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct FunctionInfo {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 33 |     func: Function,
[INFO] [stdout] 34 |     entry: BasicBlock,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `as_runtime` are never used
[INFO] [stdout]    --> src/frontend/context.rs:235:8
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl CTValue {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] 235 |     fn print(&self, context: &mut Context, program: &mut Program) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn as_runtime(&self) -> Value {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "f440e55de3f983a5e83aec381c4db7c904eddd324516844179ed1ed7d2042d8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f440e55de3f983a5e83aec381c4db7c904eddd324516844179ed1ed7d2042d8d", kill_on_drop: false }`
[INFO] [stdout] f440e55de3f983a5e83aec381c4db7c904eddd324516844179ed1ed7d2042d8d
