[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] building ColdRain-Moro/compiler-learning against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColdRain-Moro%2Fcompiler-learning" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ColdRain-Moro/compiler-learning on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded key-node-list v0.0.5 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded koopa v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1103470804b05f5da2b84764e2ac56b20cf7fa4e16e9d2e35ba3210e5aa9db60 [INFO] running `Command { std: "docker" "start" "-a" "1103470804b05f5da2b84764e2ac56b20cf7fa4e16e9d2e35ba3210e5aa9db60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1103470804b05f5da2b84764e2ac56b20cf7fa4e16e9d2e35ba3210e5aa9db60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1103470804b05f5da2b84764e2ac56b20cf7fa4e16e9d2e35ba3210e5aa9db60", kill_on_drop: false }` [INFO] [stdout] 1103470804b05f5da2b84764e2ac56b20cf7fa4e16e9d2e35ba3210e5aa9db60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f213d0526116bcb2a0ed30ba001538022624c0adb085929c5749fa3f9c61f3c [INFO] running `Command { std: "docker" "start" "-a" "2f213d0526116bcb2a0ed30ba001538022624c0adb085929c5749fa3f9c61f3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.10.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 bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling key-node-list v0.0.5 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling koopa v0.0.6 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [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 variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn generate(&self, codes: &mut Vec) { [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, 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, 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: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-learning-4fb7a79742dca046/out/sysy.rs:6362:8 [INFO] [stdout] | [INFO] [stdout] 6360 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 6361 | { [INFO] [stdout] 6362 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.80s [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" "2f213d0526116bcb2a0ed30ba001538022624c0adb085929c5749fa3f9c61f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f213d0526116bcb2a0ed30ba001538022624c0adb085929c5749fa3f9c61f3c", kill_on_drop: false }` [INFO] [stdout] 2f213d0526116bcb2a0ed30ba001538022624c0adb085929c5749fa3f9c61f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f67b6c2734c2abc8e12e5a70cf02f4cbf4dbd981f29ab23d084c2e620814b4a7 [INFO] running `Command { std: "docker" "start" "-a" "f67b6c2734c2abc8e12e5a70cf02f4cbf4dbd981f29ab23d084c2e620814b4a7", kill_on_drop: false }` [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 variable: `codes` [INFO] [stdout] --> src/backend/gen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn generate(&self, codes: &mut Vec) { [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, 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, 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: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-learning-4fb7a79742dca046/out/sysy.rs:6362:8 [INFO] [stdout] | [INFO] [stdout] 6360 | pub trait __ToTriple<'input, > [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 6361 | { [INFO] [stdout] 6362 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [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" "f67b6c2734c2abc8e12e5a70cf02f4cbf4dbd981f29ab23d084c2e620814b4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67b6c2734c2abc8e12e5a70cf02f4cbf4dbd981f29ab23d084c2e620814b4a7", kill_on_drop: false }` [INFO] [stdout] f67b6c2734c2abc8e12e5a70cf02f4cbf4dbd981f29ab23d084c2e620814b4a7