[INFO] cloning repository https://github.com/morphqdd/unicorn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morphqdd/unicorn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorphqdd%2Funicorn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorphqdd%2Funicorn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa49d84aead1c79db22547a334bf94a7414e9a5f [INFO] building morphqdd/unicorn against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorphqdd%2Funicorn" "/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/morphqdd/unicorn [INFO] finished tweaking git repo https://github.com/morphqdd/unicorn [INFO] tweaked toml for git repo https://github.com/morphqdd/unicorn written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/morphqdd/unicorn on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/morphqdd/unicorn 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc857ba22dd315369ebe1539853dacc029744671818bf5a755ccfecd38cd87f [INFO] running `Command { std: "docker" "start" "-a" "dcc857ba22dd315369ebe1539853dacc029744671818bf5a755ccfecd38cd87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc857ba22dd315369ebe1539853dacc029744671818bf5a755ccfecd38cd87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc857ba22dd315369ebe1539853dacc029744671818bf5a755ccfecd38cd87f", kill_on_drop: false }` [INFO] [stdout] dcc857ba22dd315369ebe1539853dacc029744671818bf5a755ccfecd38cd87f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba02cf3a91fba95e3af1b9687840ade976ee3f0dda826949c6ba6e3455fcb97 [INFO] running `Command { std: "docker" "start" "-a" "aba02cf3a91fba95e3af1b9687840ade976ee3f0dda826949c6ba6e3455fcb97", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-srcgen v0.123.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling cranelift-isle v0.123.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.123.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cranelift-bitset v0.123.0 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.123.0 [INFO] [stderr] Compiling cranelift-entity v0.123.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling cranelift-bforest v0.123.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regalloc2 v0.12.2 [INFO] [stderr] Compiling cranelift-control v0.123.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cranelift-codegen-meta v0.123.0 [INFO] [stderr] Compiling wasmtime-internal-math v36.0.0 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling gimli v0.32.0 [INFO] [stderr] Compiling hybrid-array v0.3.1 [INFO] [stderr] Compiling wasmtime-internal-jit-icache-coherence v36.0.0 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.4 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.3 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.123.0 [INFO] [stderr] Compiling peg v0.8.5 [INFO] [stderr] Compiling digest v0.11.0-rc.0 [INFO] [stderr] Compiling whirlpool v0.11.0-rc.0 [INFO] [stderr] Compiling cranelift-codegen v0.123.0 [INFO] [stderr] Compiling cranelift-module v0.123.0 [INFO] [stderr] Compiling cranelift-native v0.123.0 [INFO] [stderr] Compiling cranelift-frontend v0.123.0 [INFO] [stderr] Compiling cranelift-jit v0.123.0 [INFO] [stderr] Compiling cranelift-object v0.123.0 [INFO] [stderr] Compiling cranelift v0.123.0 [INFO] [stderr] Compiling unicorn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builder` [INFO] [stdout] --> src/backend/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | native::{self, builder}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::expr::Expr` [INFO] [stdout] --> src/backend/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | frontend::parser::{ast::expr::Expr, parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 59 | / match function { [INFO] [stdout] 60 | | Expr::Function { [INFO] [stdout] 61 | | name, [INFO] [stdout] 62 | | function_ty, [INFO] [stdout] ... | [INFO] [stdout] 131 | | _ => return Err(anyhow!("Not a function")), [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 133 | Err(anyhow!("Compile function error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> src/backend/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | AbiParam, Block, Configurable, EntityRef, FunctionBuilder, FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `whirlpool::Digest` [INFO] [stdout] --> src/general_compiler/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use whirlpool::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let (val, blocks) = translate_expr( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:585:37 [INFO] [stdout] | [INFO] [stdout] 585 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/backend/mod.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/backend/mod.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/backend/mod.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/backend/mod.rs:682:40 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/backend/mod.rs:682:48 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:786:37 [INFO] [stdout] | [INFO] [stdout] 786 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | let (v, b) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let (val, block) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | Expr::GlobalDataAddr(expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | stmt: &[Expr], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/general_compiler/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let builder = FunctionBuilder::new(&mut ctx.func, &mut builder_ctx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/general_compiler/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let call = builder.ins().call(local_callee_print, &[value]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `virtual_process_dependencies_size` [INFO] [stdout] --> src/general_compiler/runtime/virtual_process/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let virtual_process_dependencies_size = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 13 | let _virtual_process_dependencies_size = 8; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROCESS_CTX_CALL_ARGS_TEMP` [INFO] [stdout] | [INFO] [stdout] 13 - let virtual_process_dependencies_size = 8; [INFO] [stdout] 13 + let backend::PROCESS_CTX_CALL_ARGS_TEMP = 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROCESS_CTX_DEPENDENCIES` is never used [INFO] [stdout] --> src/backend/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const PROCESS_CTX_DEPENDENCIES: i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/frontend/parser/ast/stmt/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDUCTIONS_LIMIT` is never used [INFO] [stdout] --> src/general_compiler/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const REDUCTIONS_LIMIT: i64 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variables` is never used [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:322:4 [INFO] [stdout] | [INFO] [stdout] 322 | fn declare_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_process` and `v_process_array_len` are never read [INFO] [stdout] --> src/general_compiler/runtime/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub processes_ptr: Variable, [INFO] [stdout] 10 | pub current_process: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub v_process_array_len: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TypeDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TypeDef { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(name: &str, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Field { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(name: &str, ty: types::Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_layout` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn compute_layout(ty: &mut TypeDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align_up` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn align_up(offset: usize, align: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "aba02cf3a91fba95e3af1b9687840ade976ee3f0dda826949c6ba6e3455fcb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba02cf3a91fba95e3af1b9687840ade976ee3f0dda826949c6ba6e3455fcb97", kill_on_drop: false }` [INFO] [stdout] aba02cf3a91fba95e3af1b9687840ade976ee3f0dda826949c6ba6e3455fcb97 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56dcaa2f73f4fc8c1946d22b83c21f77d9aaadd801b9e319c60536d7c68ce0f0 [INFO] running `Command { std: "docker" "start" "-a" "56dcaa2f73f4fc8c1946d22b83c21f77d9aaadd801b9e319c60536d7c68ce0f0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: unused import: `builder` [INFO] [stdout] --> src/backend/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | native::{self, builder}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::expr::Expr` [INFO] [stdout] --> src/backend/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | frontend::parser::{ast::expr::Expr, parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 59 | / match function { [INFO] [stdout] 60 | | Expr::Function { [INFO] [stdout] 61 | | name, [INFO] [stdout] 62 | | function_ty, [INFO] [stdout] ... | [INFO] [stdout] 131 | | _ => return Err(anyhow!("Not a function")), [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 133 | Err(anyhow!("Compile function error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> src/backend/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | AbiParam, Block, Configurable, EntityRef, FunctionBuilder, FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `whirlpool::Digest` [INFO] [stdout] --> src/general_compiler/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use whirlpool::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let (val, blocks) = translate_expr( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:585:37 [INFO] [stdout] | [INFO] [stdout] 585 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/backend/mod.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/backend/mod.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/backend/mod.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/backend/mod.rs:682:40 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/backend/mod.rs:682:48 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:786:37 [INFO] [stdout] | [INFO] [stdout] 786 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | let (v, b) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let (val, block) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | Expr::GlobalDataAddr(expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | stmt: &[Expr], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/general_compiler/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let builder = FunctionBuilder::new(&mut ctx.func, &mut builder_ctx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/general_compiler/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let call = builder.ins().call(local_callee_print, &[value]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `virtual_process_dependencies_size` [INFO] [stdout] --> src/general_compiler/runtime/virtual_process/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let virtual_process_dependencies_size = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 13 | let _virtual_process_dependencies_size = 8; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROCESS_CTX_CALL_ARGS_TEMP` [INFO] [stdout] | [INFO] [stdout] 13 - let virtual_process_dependencies_size = 8; [INFO] [stdout] 13 + let backend::PROCESS_CTX_CALL_ARGS_TEMP = 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROCESS_CTX_DEPENDENCIES` is never used [INFO] [stdout] --> src/backend/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const PROCESS_CTX_DEPENDENCIES: i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/frontend/parser/ast/stmt/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDUCTIONS_LIMIT` is never used [INFO] [stdout] --> src/general_compiler/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const REDUCTIONS_LIMIT: i64 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variables` is never used [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:322:4 [INFO] [stdout] | [INFO] [stdout] 322 | fn declare_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_process` and `v_process_array_len` are never read [INFO] [stdout] --> src/general_compiler/runtime/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub processes_ptr: Variable, [INFO] [stdout] 10 | pub current_process: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub v_process_array_len: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TypeDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TypeDef { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(name: &str, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Field { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(name: &str, ty: types::Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_layout` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn compute_layout(ty: &mut TypeDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align_up` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn align_up(offset: usize, align: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling unicorn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builder` [INFO] [stdout] --> src/backend/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | native::{self, builder}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::expr::Expr` [INFO] [stdout] --> src/backend/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | frontend::parser::{ast::expr::Expr, parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 59 | / match function { [INFO] [stdout] 60 | | Expr::Function { [INFO] [stdout] 61 | | name, [INFO] [stdout] 62 | | function_ty, [INFO] [stdout] ... | [INFO] [stdout] 131 | | _ => return Err(anyhow!("Not a function")), [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 133 | Err(anyhow!("Compile function error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> src/backend/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | AbiParam, Block, Configurable, EntityRef, FunctionBuilder, FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `whirlpool::Digest` [INFO] [stdout] --> src/general_compiler/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use whirlpool::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/general_compiler/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let builder = FunctionBuilder::new(&mut ctx.func, &mut builder_ctx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let (val, blocks) = translate_expr( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/general_compiler/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let call = builder.ins().call(local_callee_print, &[value]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | let (v, b) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let (val, block) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | Expr::GlobalDataAddr(expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:585:37 [INFO] [stdout] | [INFO] [stdout] 585 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/backend/mod.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_ty` [INFO] [stdout] --> src/backend/mod.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/backend/mod.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/backend/mod.rs:682:40 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_ty` [INFO] [stdout] --> src/backend/mod.rs:682:48 [INFO] [stdout] | [INFO] [stdout] 682 | Expression::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block_` [INFO] [stdout] --> src/backend/mod.rs:786:37 [INFO] [stdout] | [INFO] [stdout] 786 | let (indecies_, last_block_, blocks_) = self.translate_expression( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `virtual_process_dependencies_size` [INFO] [stdout] --> src/general_compiler/runtime/virtual_process/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let virtual_process_dependencies_size = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 13 | let _virtual_process_dependencies_size = 8; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROCESS_CTX_CALL_ARGS_TEMP` [INFO] [stdout] | [INFO] [stdout] 13 - let virtual_process_dependencies_size = 8; [INFO] [stdout] 13 + let backend::PROCESS_CTX_CALL_ARGS_TEMP = 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | stmt: &[Expr], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROCESS_CTX_DEPENDENCIES` is never used [INFO] [stdout] --> src/backend/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const PROCESS_CTX_DEPENDENCIES: i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/frontend/parser/ast/stmt/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDUCTIONS_LIMIT` is never used [INFO] [stdout] --> src/general_compiler/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const REDUCTIONS_LIMIT: i64 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TypeDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_process` and `v_process_array_len` are never read [INFO] [stdout] --> src/general_compiler/runtime/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub processes_ptr: Variable, [INFO] [stdout] 10 | pub current_process: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub v_process_array_len: Variable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variables` is never used [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:322:4 [INFO] [stdout] | [INFO] [stdout] 322 | fn declare_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TypeDef { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(name: &str, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Field { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(name: &str, ty: types::Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_layout` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn compute_layout(ty: &mut TypeDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align_up` is never used [INFO] [stdout] --> src/general_compiler/type_def/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn align_up(offset: usize, align: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.71s [INFO] running `Command { std: "docker" "inspect" "56dcaa2f73f4fc8c1946d22b83c21f77d9aaadd801b9e319c60536d7c68ce0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56dcaa2f73f4fc8c1946d22b83c21f77d9aaadd801b9e319c60536d7c68ce0f0", kill_on_drop: false }` [INFO] [stdout] 56dcaa2f73f4fc8c1946d22b83c21f77d9aaadd801b9e319c60536d7c68ce0f0