[INFO] cloning repository https://github.com/Vinz2008/rustaml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vinz2008/rustaml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinz2008%2Frustaml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinz2008%2Frustaml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd09e5f96dc9349761548af492c75eb6b05b03f7 [INFO] checking Vinz2008/rustaml against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinz2008%2Frustaml" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vinz2008/rustaml [INFO] finished tweaking git repo https://github.com/Vinz2008/rustaml [INFO] tweaked toml for git repo https://github.com/Vinz2008/rustaml written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vinz2008/rustaml on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vinz2008/rustaml 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3b7e06926be91a96b24114a32a4dc44423ba23bc39a1e9be1faf8a56ed3f461 [INFO] running `Command { std: "docker" "start" "-a" "f3b7e06926be91a96b24114a32a4dc44423ba23bc39a1e9be1faf8a56ed3f461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3b7e06926be91a96b24114a32a4dc44423ba23bc39a1e9be1faf8a56ed3f461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b7e06926be91a96b24114a32a4dc44423ba23bc39a1e9be1faf8a56ed3f461", kill_on_drop: false }` [INFO] [stdout] f3b7e06926be91a96b24114a32a4dc44423ba23bc39a1e9be1faf8a56ed3f461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb48f93d8e6aec6496379dcfbcbead59028fb8ea105dfe544fd419c2d0d5a94f [INFO] running `Command { std: "docker" "start" "-a" "eb48f93d8e6aec6496379dcfbcbead59028fb8ea105dfe544fd419c2d0d5a94f", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Checking konst_macro_rules v0.2.19 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking enum-tags-traits v0.1.0 [INFO] [stderr] Compiling rustaml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pathbuf v1.0.0 [INFO] [stderr] Checking clap_builder v4.5.56 [INFO] [stderr] Checking konst v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling libffi-sys v4.1.0 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling debug_with_context_macros v0.1.15 [INFO] [stderr] Compiling macro_static_str_to_char v0.1.0 [INFO] [stderr] Checking debug_with_context v0.1.15 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking mangler v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking clap v4.5.56 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling enum-tags-macros v0.1.0 [INFO] [stderr] Checking enum-tags v0.1.0 [INFO] [stderr] Checking libffi v5.1.0 [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Tuple(types) => todo!(), // TODO : implement it as a struct [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Tuple(types) => todo!(), // TODO : implement it as a struct [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ast`, `type_infos`, and `content` are never read [INFO] [stdout] --> src/rustaml.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct FrontendOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 134 | pub(crate) ast : ASTRef, [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | pub(crate) type_infos : TypeInfos, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 136 | pub(crate) content : String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> src/ast.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 315 | impl SumType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 316 | pub(crate) fn has_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/interpreter.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 296 | fn new(val : Val, next : ListNodeRef) -> ListNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_name`, `expected_type`, and `got_type` are never read [INFO] [stdout] --> src/types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | WrongRetType { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 51 | function_name : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | expected_type : Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | got_type : Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypesErrData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generic_type_idx` is never read [INFO] [stdout] --> src/types.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct TypeContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | generic_type_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericIdx` is never constructed [INFO] [stdout] --> src/types.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct GenericIdx(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_generic_type` is never used [INFO] [stdout] --> src/types.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TypeContext<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn new_generic_type(&mut self) -> GenericIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `c_size_t` is declared but not used [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(c_size_t)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ast`, `type_infos`, and `content` are never read [INFO] [stdout] --> src/rustaml.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct FrontendOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 134 | pub(crate) ast : ASTRef, [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | pub(crate) type_infos : TypeInfos, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 136 | pub(crate) content : String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> src/ast.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 315 | impl SumType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 316 | pub(crate) fn has_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/interpreter.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 296 | fn new(val : Val, next : ListNodeRef) -> ListNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_name`, `expected_type`, and `got_type` are never read [INFO] [stdout] --> src/types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | WrongRetType { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 51 | function_name : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | expected_type : Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | got_type : Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypesErrData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generic_type_idx` is never read [INFO] [stdout] --> src/types.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct TypeContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | generic_type_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericIdx` is never constructed [INFO] [stdout] --> src/types.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct GenericIdx(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_generic_type` is never used [INFO] [stdout] --> src/types.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TypeContext<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn new_generic_type(&mut self) -> GenericIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `c_size_t` is declared but not used [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(c_size_t)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Tuple(types) => todo!(), // TODO : implement it as a struct [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Tuple(types) => todo!(), // TODO : implement it as a struct [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_vals` [INFO] [stdout] --> src/interpreter/ffi.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | Val::Tuple(tuple_vals) => todo!(), // TODO [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/interpreter/ffi.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | Type::Tuple(types) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> src/ast.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 315 | impl SumType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 316 | pub(crate) fn has_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/interpreter.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 296 | fn new(val : Val, next : ListNodeRef) -> ListNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/rustaml.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct FrontendOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) content : String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_name`, `expected_type`, and `got_type` are never read [INFO] [stdout] --> src/types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | WrongRetType { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 51 | function_name : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | expected_type : Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | got_type : Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypesErrData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generic_type_idx` is never read [INFO] [stdout] --> src/types.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct TypeContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | generic_type_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericIdx` is never constructed [INFO] [stdout] --> src/types.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct GenericIdx(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_generic_type` is never used [INFO] [stdout] --> src/types.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TypeContext<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn new_generic_type(&mut self) -> GenericIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> src/ast.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 315 | impl SumType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 316 | pub(crate) fn has_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/interpreter.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 296 | fn new(val : Val, next : ListNodeRef) -> ListNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/rustaml.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct FrontendOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) content : String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_name`, `expected_type`, and `got_type` are never read [INFO] [stdout] --> src/types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | WrongRetType { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 51 | function_name : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | expected_type : Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | got_type : Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypesErrData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generic_type_idx` is never read [INFO] [stdout] --> src/types.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct TypeContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | generic_type_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericIdx` is never constructed [INFO] [stdout] --> src/types.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct GenericIdx(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_generic_type` is never used [INFO] [stdout] --> src/types.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TypeContext<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn new_generic_type(&mut self) -> GenericIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `c_size_t` is declared but not used [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(c_size_t)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `c_size_t` is declared but not used [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(c_size_t)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.00s [INFO] running `Command { std: "docker" "inspect" "eb48f93d8e6aec6496379dcfbcbead59028fb8ea105dfe544fd419c2d0d5a94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb48f93d8e6aec6496379dcfbcbead59028fb8ea105dfe544fd419c2d0d5a94f", kill_on_drop: false }` [INFO] [stdout] eb48f93d8e6aec6496379dcfbcbead59028fb8ea105dfe544fd419c2d0d5a94f