[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] 758ac5bd433d32dc3ee57ffd8bd7f0aa5e5c6659 [INFO] testing morphqdd/unicorn against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorphqdd%2Funicorn" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e375171f3f31c26175f4de772d4a9b42d53f57f20eb6e4445594180779f8a421 [INFO] running `Command { std: "docker" "start" "-a" "e375171f3f31c26175f4de772d4a9b42d53f57f20eb6e4445594180779f8a421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e375171f3f31c26175f4de772d4a9b42d53f57f20eb6e4445594180779f8a421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e375171f3f31c26175f4de772d4a9b42d53f57f20eb6e4445594180779f8a421", kill_on_drop: false }` [INFO] [stdout] e375171f3f31c26175f4de772d4a9b42d53f57f20eb6e4445594180779f8a421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ead504935db0d4d03bba768a884ea194067855f633eda75b962a4fa73f0f5eff [INFO] running `Command { std: "docker" "start" "-a" "ead504935db0d4d03bba768a884ea194067855f633eda75b962a4fa73f0f5eff", 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 target-lexicon v0.13.2 [INFO] [stderr] Compiling cranelift-bitset v0.123.0 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling wasmtime-internal-math v36.0.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling wasmtime-internal-jit-icache-coherence v36.0.0 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.123.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling cranelift-entity v0.123.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling cranelift-bforest v0.123.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regalloc2 v0.12.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cranelift-control v0.123.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.123.0 [INFO] [stderr] Compiling hybrid-array v0.3.1 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Compiling gimli v0.32.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.123.0 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.3 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.4 [INFO] [stderr] Compiling digest v0.11.0-rc.0 [INFO] [stderr] Compiling whirlpool v0.11.0-rc.0 [INFO] [stderr] Compiling peg v0.8.5 [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-object v0.123.0 [INFO] [stderr] Compiling cranelift-jit 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: `call_stdprint` [INFO] [stdout] --> src/general_compiler/runtime/mod.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::general_compiler::{call_malloc, call_stdprint}; [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: `Block` [INFO] [stdout] --> src/general_compiler/runtime/virtual_process/mod.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cranelift::prelude::{Block, FunctionBuilder, InstBuilder, MemFlags, Variable}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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: `function_ty` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | function_ty, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `function_ty: _` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_virtual_process_dependencies_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | 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:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | 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:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | Expr::FunctionType { params, ret_ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `ret_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | 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:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | stmt: &[Expr], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/general_compiler/mod.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDUCTIONS_LIMIT` is never used [INFO] [stdout] --> src/general_compiler/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const REDUCTIONS_LIMIT: i64 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTranslator` is never constructed [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_expr` is never used [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 15 | pub fn translate_expr(&mut self, expr: Expr) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variables` is never used [INFO] [stdout] --> src/general_compiler/function_translator/mod.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | 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] error: could not compile `cranelift-codegen` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name cranelift_codegen --edition=2024 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.123.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 '--allow=clippy::all' '--warn=clippy::useless_conversion' --warn=unused_import_braces --warn=unused_extern_crates --warn=unused-macro-rules --warn=unused-lifetimes --warn=unstable_features '--warn=clippy::unnecessary_to_owned' '--warn=clippy::unnecessary_mut_passed' '--warn=clippy::unnecessary_fallible_conversions' '--warn=clippy::unnecessary_cast' '--warn=clippy::uninlined_format_args' --warn=unexpected_cfgs --warn=trivial_numeric_casts '--warn=clippy::redundant_field_names' '--warn=clippy::map_clone' '--warn=clippy::manual_strip' '--warn=clippy::from_over_into' '--warn=clippy::clone_on_copy' '--warn=clippy::allow_attributes_without_reason' --check-cfg 'cfg(pulley_tail_calls)' --check-cfg 'cfg(pulley_assume_llvm_makes_tail_calls)' --check-cfg 'cfg(pulley_disable_interp_simd)' --cfg 'feature="gimli"' --cfg 'feature="std"' --cfg 'feature="unwind"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-arch", "all-native-arch", "anyhow", "arm64", "capstone", "core", "default", "disas", "enable-serde", "gimli", "host-arch", "incremental-cache", "isle-errors", "postcard", "pulley", "riscv64", "s390x", "serde", "serde_derive", "sha2", "souper-harvest", "souper-ir", "std", "timing", "trace-log", "unwind", "x86"))' -C metadata=c4906ce93e76388b -C extra-filename=-bd32c28ebb6b6c02 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bumpalo=/opt/rustwide/target/debug/deps/libbumpalo-d98d8e81ec4d9cb2.rmeta --extern cranelift_assembler_x64=/opt/rustwide/target/debug/deps/libcranelift_assembler_x64-a8dac96a9e3134f4.rmeta --extern cranelift_bforest=/opt/rustwide/target/debug/deps/libcranelift_bforest-36d5f4ba931398de.rmeta --extern cranelift_bitset=/opt/rustwide/target/debug/deps/libcranelift_bitset-75c8fd80fe382bd6.rmeta --extern cranelift_codegen_shared=/opt/rustwide/target/debug/deps/libcranelift_codegen_shared-f6e9dcb786f8cf7e.rmeta --extern cranelift_control=/opt/rustwide/target/debug/deps/libcranelift_control-5b28815073a12d04.rmeta --extern cranelift_entity=/opt/rustwide/target/debug/deps/libcranelift_entity-698b1bb09110b2f9.rmeta --extern gimli=/opt/rustwide/target/debug/deps/libgimli-7b117f79f9a104ec.rmeta --extern hashbrown=/opt/rustwide/target/debug/deps/libhashbrown-d48ed9ea778cfa65.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-394b918668cad64a.rmeta --extern regalloc2=/opt/rustwide/target/debug/deps/libregalloc2-da989a75864f3a18.rmeta --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-d7c9c021d0487117.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-42869113a3c3f2c5.rmeta --extern target_lexicon=/opt/rustwide/target/debug/deps/libtarget_lexicon-f4c71c581c33a73a.rmeta --extern wasmtime_math=/opt/rustwide/target/debug/deps/libwasmtime_internal_math-d41c4fb81ffab620.rmeta --cap-lints allow --cap-lints=forbid --cfg 'feature="x86"'` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "ead504935db0d4d03bba768a884ea194067855f633eda75b962a4fa73f0f5eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead504935db0d4d03bba768a884ea194067855f633eda75b962a4fa73f0f5eff", kill_on_drop: false }` [INFO] [stdout] ead504935db0d4d03bba768a884ea194067855f633eda75b962a4fa73f0f5eff