[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] f7121c7f72572d2cd673a2e4fe6eedfca5e2f17d [INFO] checking Vinz2008/rustaml against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinz2008%2Frustaml" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vinz2008/rustaml on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathbuf v1.0.0 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded nohash v0.2.0 [INFO] [stderr] Downloaded mangler v0.2.0 [INFO] [stderr] Downloaded debug_with_context_macros v0.1.15 [INFO] [stderr] Downloaded debug_with_context v0.1.15 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded enum-tags-traits v0.1.0 [INFO] [stderr] Downloaded inkwell_internals v0.13.0 [INFO] [stderr] Downloaded enum-tags-macros v0.1.0 [INFO] [stderr] Downloaded macro_static_str_to_char v0.1.0 [INFO] [stderr] Downloaded enum-tags v0.1.0 [INFO] [stderr] Downloaded human-panic v2.0.8 [INFO] [stderr] Downloaded libloading v0.9.0 [INFO] [stderr] Downloaded libffi v5.1.0 [INFO] [stderr] Downloaded llvm-sys v211.0.1 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded rustyline v17.0.2 [INFO] [stderr] Downloaded inkwell v0.8.0 [INFO] [stderr] Downloaded libffi-sys v4.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02 [INFO] running `Command { std: "docker" "start" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking konst_macro_rules v0.2.19 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking enum-tags-traits v0.1.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling rustaml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking konst v0.2.20 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking pest v2.8.6 [INFO] [stderr] Checking nohash v0.2.0 [INFO] [stderr] Checking pathbuf v1.0.0 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling libffi-sys v4.1.0 [INFO] [stderr] Checking const_format v0.2.36 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling debug_with_context_macros v0.1.15 [INFO] [stderr] Compiling macro_static_str_to_char v0.1.0 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling enum-tags-macros v0.1.0 [INFO] [stderr] Checking mangler v0.2.0 [INFO] [stderr] Checking enum-tags v0.1.0 [INFO] [stderr] Checking debug_with_context v0.1.15 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking libffi v5.1.0 [INFO] [stdout] warning: the feature `debug_closure_helpers` has been stable since 1.101.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `debug_closure_helpers` has been stable since 1.101.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | 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:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | 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:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | 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:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | 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:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | 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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | 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:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | 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:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | 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:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | 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:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | 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:298:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 298 | 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:298:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 298 | 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: the feature `debug_closure_helpers` has been stable since 1.101.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `debug_closure_helpers` has been stable since 1.101.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | 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:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | 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:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | 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:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | 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:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | 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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | 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:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | 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:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | 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:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | 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:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | 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:298:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 298 | 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: 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:298:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 298 | 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] [stderr] warning: unused dependency `serde` [INFO] [stderr] --> Cargo.toml:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | [dependencies.serde] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde` [INFO] [stderr] warning: `rustaml` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.32s [INFO] running `Command { std: "docker" "inspect" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02", kill_on_drop: false }` [INFO] [stdout] f9f6f6cfaa313649a50680c809a7eb0a2c50380f787311650975958ab97bbb02