[INFO] cloning repository https://github.com/CreatorSiSo/rym [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreatorSiSo/rym" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorSiSo%2Frym", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorSiSo%2Frym'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fe7c988095108884ced984577c0685f396fc5f5 [INFO] building CreatorSiSo/rym against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorSiSo%2Frym" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CreatorSiSo/rym [INFO] finished tweaking git repo https://github.com/CreatorSiSo/rym [INFO] tweaked toml for git repo https://github.com/CreatorSiSo/rym written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CreatorSiSo/rym on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CreatorSiSo/rym 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v5.4.0 [INFO] [stderr] Downloaded cranelift-bforest v0.109.1 [INFO] [stderr] Downloaded cranelift v0.109.1 [INFO] [stderr] Downloaded cranelift-control v0.109.1 [INFO] [stderr] Downloaded cranelift-frontend v0.109.1 [INFO] [stderr] Downloaded similar v2.2.1 [INFO] [stderr] Downloaded rustyline v13.0.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.109.1 [INFO] [stderr] Downloaded cranelift-entity v0.109.1 [INFO] [stderr] Downloaded cranelift-isle v0.109.1 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded regalloc2 v0.9.3 [INFO] [stderr] Downloaded cranelift-module v0.109.1 [INFO] [stderr] Downloaded cranelift-object v0.109.1 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded clap v4.4.0 [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded slice-group-by v0.3.1 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded clap_builder v4.4.0 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded globset v0.4.13 [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded bstr v1.6.0 [INFO] [stderr] Downloaded error-code v3.3.1 [INFO] [stderr] Downloaded smallvec v1.10.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.109.1 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded cranelift-codegen v0.109.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f2ad65434868e16aebfdae2252de32e7d59298195536796e808b806189e9338 [INFO] running `Command { std: "docker" "start" "-a" "0f2ad65434868e16aebfdae2252de32e7d59298195536796e808b806189e9338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f2ad65434868e16aebfdae2252de32e7d59298195536796e808b806189e9338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f2ad65434868e16aebfdae2252de32e7d59298195536796e808b806189e9338", kill_on_drop: false }` [INFO] [stdout] 0f2ad65434868e16aebfdae2252de32e7d59298195536796e808b806189e9338 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6135b9cf3e6cc5257bf43fc0388044530bef3781b63d36542b9d0cd63bcdde [INFO] running `Command { std: "docker" "start" "-a" "ac6135b9cf3e6cc5257bf43fc0388044530bef3781b63d36542b9d0cd63bcdde", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling cranelift-isle v0.109.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.109.1 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling cranelift-entity v0.109.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.109.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cranelift-bforest v0.109.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling cranelift-control v0.109.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling clap_builder v4.4.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling interpolate v0.1.0 (/opt/rustwide/workdir/crates/interpolate) [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.109.1 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling globset v0.4.13 [INFO] [stderr] Compiling ast v0.0.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stderr] Compiling clap v4.4.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Compiling rymx v0.0.3 (/opt/rustwide/workdir/crates/rymx) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/rymx/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cranelift-frontend v0.109.1 [INFO] [stderr] Compiling cranelift-module v0.109.1 [INFO] [stderr] Compiling cranelift-object v0.109.1 [INFO] [stderr] Compiling cranelift v0.109.1 [INFO] [stderr] Compiling codegen v0.0.0 (/opt/rustwide/workdir/crates/codegen) [INFO] [stdout] warning: unused variable: `unary_op` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_expr` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty_u32` [INFO] [stdout] --> crates/codegen/src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let ty_u32 = Type::int(32).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ty_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/codegen/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | types: impl Iterator)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_description` is never read [INFO] [stdout] --> crates/codegen/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `finish`, `compile_function`, and `translate_function` are never used [INFO] [stdout] --> crates/codegen/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn finish(self) -> ObjectProduct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn compile_function(&mut self, name: &str, func: &ty::Function, body: &TypedExpr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn translate_function(&mut self, func: &ty::Function, body: &TypedExpr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTranslator` is never constructed [INFO] [stdout] --> crates/codegen/src/lib.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_expr`, `translate_literal`, `translate_binary`, and `translate_loop` are never used [INFO] [stdout] --> crates/codegen/src/lib.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl FunctionTranslator<'_> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 109 | fn translate_expr(&mut self, expr: &TypedExpr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn translate_literal(&mut self, value: u64, typ: &ty::Type) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn translate_binary(&mut self, op: lir::BinaryOp, l: &TypedExpr, r: &TypedExpr) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn translate_loop(&mut self, body: &[lir::TypedExpr]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AbiRepr` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | enum AbiRepr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abi_repr` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn abi_repr(typ: &ty::Type) -> AbiRepr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 299 | impl Target { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 300 | fn new(triple: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypedExpr` is never constructed [INFO] [stdout] --> crates/codegen/src/lir.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypedExpr<'a>(pub &'a Expr<'a>, pub Type<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> crates/codegen/src/lir.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "ac6135b9cf3e6cc5257bf43fc0388044530bef3781b63d36542b9d0cd63bcdde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6135b9cf3e6cc5257bf43fc0388044530bef3781b63d36542b9d0cd63bcdde", kill_on_drop: false }` [INFO] [stdout] ac6135b9cf3e6cc5257bf43fc0388044530bef3781b63d36542b9d0cd63bcdde [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ea3b1a1e5e5448dd5ca38772922848d21826d6b032b3f6f25e6ee9b00c058d1 [INFO] running `Command { std: "docker" "start" "-a" "6ea3b1a1e5e5448dd5ca38772922848d21826d6b032b3f6f25e6ee9b00c058d1", kill_on_drop: false }` [INFO] [stderr] Compiling interpolate v0.1.0 (/opt/rustwide/workdir/crates/interpolate) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/rymx/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_op` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_expr` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty_u32` [INFO] [stdout] --> crates/codegen/src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let ty_u32 = Type::int(32).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ty_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/codegen/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | types: impl Iterator)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_description` is never read [INFO] [stdout] --> crates/codegen/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `finish`, `compile_function`, and `translate_function` are never used [INFO] [stdout] --> crates/codegen/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn finish(self) -> ObjectProduct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn compile_function(&mut self, name: &str, func: &ty::Function, body: &TypedExpr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn translate_function(&mut self, func: &ty::Function, body: &TypedExpr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTranslator` is never constructed [INFO] [stdout] --> crates/codegen/src/lib.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_expr`, `translate_literal`, `translate_binary`, and `translate_loop` are never used [INFO] [stdout] --> crates/codegen/src/lib.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl FunctionTranslator<'_> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 109 | fn translate_expr(&mut self, expr: &TypedExpr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn translate_literal(&mut self, value: u64, typ: &ty::Type) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn translate_binary(&mut self, op: lir::BinaryOp, l: &TypedExpr, r: &TypedExpr) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn translate_loop(&mut self, body: &[lir::TypedExpr]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AbiRepr` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | enum AbiRepr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abi_repr` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn abi_repr(typ: &ty::Type) -> AbiRepr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/codegen/src/lib.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 299 | impl Target { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 300 | fn new(triple: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypedExpr` is never constructed [INFO] [stdout] --> crates/codegen/src/lir.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypedExpr<'a>(pub &'a Expr<'a>, pub Type<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> crates/codegen/src/lir.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling codegen v0.0.0 (/opt/rustwide/workdir/crates/codegen) [INFO] [stderr] Compiling rymx v0.0.3 (/opt/rustwide/workdir/crates/rymx) [INFO] [stderr] Compiling ast v0.0.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stdout] warning: unused import: `insta::assert_snapshot` [INFO] [stdout] --> crates/rymx/tests/full.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use insta::assert_snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/rymx/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_op` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_expr` [INFO] [stdout] --> crates/codegen/src/lib.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | lir::Expr::Unary(unary_op, typed_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty_u32` [INFO] [stdout] --> crates/codegen/src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let ty_u32 = Type::int(32).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ty_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/codegen/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | types: impl Iterator)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_description` is never read [INFO] [stdout] --> crates/codegen/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> crates/codegen/src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 104 | builder: FunctionBuilder<'a>, [INFO] [stdout] 105 | module: &'a mut ObjectModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> crates/codegen/src/lir.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Assign(TypedExpr<'a>, TypedExpr<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - Assign(TypedExpr<'a>, TypedExpr<'a>), [INFO] [stdout] 24 + Assign((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> crates/codegen/src/lir.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Array(&'a [TypedExpr<'a>]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Aggregate(&'a [TypedExpr<'a>]), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Unary(UnaryOp, TypedExpr<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | AccessField(TypedExpr<'a>, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | Assign(TypedExpr<'a>, TypedExpr<'a>), [INFO] [stdout] 25 | Subscript(TypedExpr<'a>, TypedExpr<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Call(TypedExpr<'a>, &'a [TypedExpr<'a>]), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | IfElse( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Block(&'a [TypedExpr<'a>]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Break(TypedExpr<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "6ea3b1a1e5e5448dd5ca38772922848d21826d6b032b3f6f25e6ee9b00c058d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea3b1a1e5e5448dd5ca38772922848d21826d6b032b3f6f25e6ee9b00c058d1", kill_on_drop: false }` [INFO] [stdout] 6ea3b1a1e5e5448dd5ca38772922848d21826d6b032b3f6f25e6ee9b00c058d1