[INFO] cloning repository https://github.com/vangroan/crow-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vangroan/crow-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fcrow-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fcrow-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b57cbf0acf42ddefdc3f1c22f012e5ba08bf797b [INFO] testing vangroan/crow-vm against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fcrow-vm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vangroan/crow-vm [INFO] finished tweaking git repo https://github.com/vangroan/crow-vm [INFO] tweaked toml for git repo https://github.com/vangroan/crow-vm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vangroan/crow-vm on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vangroan/crow-vm 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing vangroan/crow-vm against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fcrow-vm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vangroan/crow-vm [INFO] finished tweaking git repo https://github.com/vangroan/crow-vm [INFO] tweaked toml for git repo https://github.com/vangroan/crow-vm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vangroan/crow-vm on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vangroan/crow-vm 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99384cc6eb75a66d3da9b8a8eff53f6f1b8ccf707edd48ae220d1a5a9b89acf [INFO] running `Command { std: "docker" "start" "-a" "a99384cc6eb75a66d3da9b8a8eff53f6f1b8ccf707edd48ae220d1a5a9b89acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99384cc6eb75a66d3da9b8a8eff53f6f1b8ccf707edd48ae220d1a5a9b89acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99384cc6eb75a66d3da9b8a8eff53f6f1b8ccf707edd48ae220d1a5a9b89acf", kill_on_drop: false }` [INFO] [stdout] a99384cc6eb75a66d3da9b8a8eff53f6f1b8ccf707edd48ae220d1a5a9b89acf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b573fd8b379b83ed7e1ab4622a644d7b3038489a821679ae36fb3eb91e3c1ba8 [INFO] running `Command { std: "docker" "start" "-a" "b573fd8b379b83ed7e1ab4622a644d7b3038489a821679ae36fb3eb91e3c1ba8", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::object::UpValueOrigin` [INFO] [stdout] --> src/op.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::object::UpValueOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot` [INFO] [stdout] --> src/vm.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let slot = vm.stack[callee_base].clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | /// Return value type. [INFO] [stdout] 16 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Expr(Box), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Expr(Box), [INFO] [stdout] 32 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Return` is never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReturnStmt` is never constructed [INFO] [stdout] --> src/ast.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ReturnStmt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStmt` 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 `items` is never read [INFO] [stdout] --> src/ast.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Tuple { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 55 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `expr` are never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TupleItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TupleItem` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | Name(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Name(Box), [INFO] [stdout] 71 + Name(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | Func(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Func(Box), [INFO] [stdout] 74 + Func(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> src/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Call(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `ident` is never read [INFO] [stdout] --> src/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct NameAccessExpr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 85 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameAccessExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `args`, and `return_` are never read [INFO] [stdout] --> src/ast.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct FuncLit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 109 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 111 | pub return_: Tuple, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty_name` are never read [INFO] [stdout] --> src/ast.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Arg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 116 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub ty_name: Ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `callee`, and `args` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct CallExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 123 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 139 | Num(Number), [INFO] [stdout] 140 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 145 - Int(i64), [INFO] [stdout] 145 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 - Float(f64), [INFO] [stdout] 146 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDeclStmt` is never constructed [INFO] [stdout] --> src/ast.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TypeDeclStmt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alias` and `Lit` are never constructed [INFO] [stdout] --> src/ast.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum TypeDef { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 171 | Alias(TypeName), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | Lit(TypeLit), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Array`, `DynArray`, `Table`, and `Struct` are never constructed [INFO] [stdout] --> src/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum TypeLit { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 189 | Array { element: Box, size: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | DynArray { element: Box }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | Table { key: Box, value: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | Struct { fields: Vec }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub ty: Box, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/ast.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Ident { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 225 | pub fn from_string(text: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> src/env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Weak` is never constructed [INFO] [stdout] --> src/handle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Weak(RcWeak>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_inner`, `ptr_eq`, `as_ptr`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Handle { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn ptr_eq(&self, other: &Handle) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shared` is never used [INFO] [stdout] --> src/handle.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `strong`, `upgrade`, `weak`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Shared { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 72 | pub fn strong(&self) -> Option<&Handle> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn weak(&self) -> Option<&Weak> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/lexer.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack_size` and `is_varg` are never read [INFO] [stdout] --> src/object.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) stack_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) is_varg: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floats` is never read [INFO] [stdout] --> src/object.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 53 | pub(crate) ints: Box<[i64]>, [INFO] [stdout] 54 | pub(crate) floats: Box<[f64]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parent` and `Outer` are never constructed [INFO] [stdout] --> src/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum UpValueOrigin { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 89 | /// UpValue is located in parent's local variables. [INFO] [stdout] 90 | Parent(u32), // local_id [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | /// UpValue is located in parent's up-value list. [INFO] [stdout] 92 | Outer(u32), // up-value id [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpValueOrigin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_string` are never used [INFO] [stdout] --> src/object.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl CrowStr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 181 | #[inline(always)] [INFO] [stdout] 182 | pub fn new(s: impl ToString) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn into_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Str` is never constructed [INFO] [stdout] --> src/string.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Str(Rc); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Str` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_ptr` and `from_ptr` are never used [INFO] [stdout] --> src/string.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | impl Str { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 7 | pub unsafe fn as_ptr(self) -> *const String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub unsafe fn from_ptr(string_rc: *const String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/token.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum LitValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 38 | Int(i64), [INFO] [stdout] 39 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `count` are never used [INFO] [stdout] --> src/token.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Span { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn index(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn count(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `scopes` are never read [INFO] [stdout] --> src/typechecker.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TypeChecker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | scopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/typechecker.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Local { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] 21 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tuple`, `Array`, `Table`, `Func`, and `Struct` are never constructed [INFO] [stdout] --> src/types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Array(TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | /// Hash table. [INFO] [stdout] 52 | Table(TypeId, TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | /// Type of both the [`crate::object::Closure`] value and [`crate::object::Func`]` prototype. [INFO] [stdout] 54 | Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UInt` is never constructed [INFO] [stdout] --> src/value.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | Int(i64), [INFO] [stdout] 12 | UInt(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_func` and `to_func` are never used [INFO] [stdout] --> src/value.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_func(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_func(self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjPtr` is never constructed [INFO] [stdout] --> src/value.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ObjPtr(NonNull<()>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjPtr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> src/value.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `from_func`, and `into_func` are never used [INFO] [stdout] --> src/value.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 94 | /// A slot that's considered empty. [INFO] [stdout] 95 | pub(crate) const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) unsafe fn from_func(func: Rc) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub(crate) unsafe fn into_func(self) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top` is never read [INFO] [stdout] --> src/vm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | top: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `grow_stack` is never used [INFO] [stdout] --> src/vm.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn grow_stack(&mut self, additional: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_func_expected` is never used [INFO] [stdout] --> src/vm.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn err_func_expected() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "b573fd8b379b83ed7e1ab4622a644d7b3038489a821679ae36fb3eb91e3c1ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b573fd8b379b83ed7e1ab4622a644d7b3038489a821679ae36fb3eb91e3c1ba8", kill_on_drop: false }` [INFO] [stdout] b573fd8b379b83ed7e1ab4622a644d7b3038489a821679ae36fb3eb91e3c1ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6dc9ed3b392751ab0cd886a12b46bf1946d501ab0a4d333a010c28a760a4397d [INFO] running `Command { std: "docker" "start" "-a" "6dc9ed3b392751ab0cd886a12b46bf1946d501ab0a4d333a010c28a760a4397d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::object::UpValueOrigin` [INFO] [stdout] --> src/op.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::object::UpValueOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot` [INFO] [stdout] --> src/vm.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let slot = vm.stack[callee_base].clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | /// Return value type. [INFO] [stdout] 16 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Expr(Box), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Expr(Box), [INFO] [stdout] 32 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Return` is never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReturnStmt` is never constructed [INFO] [stdout] --> src/ast.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ReturnStmt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStmt` 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 `items` is never read [INFO] [stdout] --> src/ast.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Tuple { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 55 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `expr` are never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TupleItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TupleItem` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | Name(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Name(Box), [INFO] [stdout] 71 + Name(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | Func(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Func(Box), [INFO] [stdout] 74 + Func(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> src/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Call(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `ident` is never read [INFO] [stdout] --> src/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct NameAccessExpr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 85 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameAccessExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `args`, and `return_` are never read [INFO] [stdout] --> src/ast.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct FuncLit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 109 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 111 | pub return_: Tuple, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty_name` are never read [INFO] [stdout] --> src/ast.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Arg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 116 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub ty_name: Ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `callee`, and `args` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct CallExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 123 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 139 | Num(Number), [INFO] [stdout] 140 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 145 - Int(i64), [INFO] [stdout] 145 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 - Float(f64), [INFO] [stdout] 146 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDeclStmt` is never constructed [INFO] [stdout] --> src/ast.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TypeDeclStmt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alias` and `Lit` are never constructed [INFO] [stdout] --> src/ast.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum TypeDef { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 171 | Alias(TypeName), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | Lit(TypeLit), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Array`, `DynArray`, `Table`, and `Struct` are never constructed [INFO] [stdout] --> src/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum TypeLit { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 189 | Array { element: Box, size: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | DynArray { element: Box }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | Table { key: Box, value: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | Struct { fields: Vec }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub ty: Box, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/ast.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Ident { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 225 | pub fn from_string(text: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> src/env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Weak` is never constructed [INFO] [stdout] --> src/handle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Weak(RcWeak>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_inner`, `ptr_eq`, `as_ptr`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Handle { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn ptr_eq(&self, other: &Handle) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shared` is never used [INFO] [stdout] --> src/handle.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `strong`, `upgrade`, `weak`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Shared { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 72 | pub fn strong(&self) -> Option<&Handle> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn weak(&self) -> Option<&Weak> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/lexer.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack_size` and `is_varg` are never read [INFO] [stdout] --> src/object.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) stack_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) is_varg: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `floats` is never read [INFO] [stdout] --> src/object.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 53 | pub(crate) ints: Box<[i64]>, [INFO] [stdout] 54 | pub(crate) floats: Box<[f64]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parent` and `Outer` are never constructed [INFO] [stdout] --> src/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum UpValueOrigin { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 89 | /// UpValue is located in parent's local variables. [INFO] [stdout] 90 | Parent(u32), // local_id [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | /// UpValue is located in parent's up-value list. [INFO] [stdout] 92 | Outer(u32), // up-value id [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpValueOrigin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_string` are never used [INFO] [stdout] --> src/object.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl CrowStr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 181 | #[inline(always)] [INFO] [stdout] 182 | pub fn new(s: impl ToString) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn into_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Str` is never constructed [INFO] [stdout] --> src/string.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Str(Rc); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Str` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_ptr` and `from_ptr` are never used [INFO] [stdout] --> src/string.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | impl Str { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 7 | pub unsafe fn as_ptr(self) -> *const String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub unsafe fn from_ptr(string_rc: *const String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/token.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum LitValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 38 | Int(i64), [INFO] [stdout] 39 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `count` are never used [INFO] [stdout] --> src/token.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Span { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn index(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn count(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `scopes` are never read [INFO] [stdout] --> src/typechecker.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TypeChecker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | scopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/typechecker.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Local { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] 21 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tuple`, `Array`, `Table`, `Func`, and `Struct` are never constructed [INFO] [stdout] --> src/types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Array(TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | /// Hash table. [INFO] [stdout] 52 | Table(TypeId, TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | /// Type of both the [`crate::object::Closure`] value and [`crate::object::Func`]` prototype. [INFO] [stdout] 54 | Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UInt` is never constructed [INFO] [stdout] --> src/value.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | Int(i64), [INFO] [stdout] 12 | UInt(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_func` and `to_func` are never used [INFO] [stdout] --> src/value.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_func(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_func(self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjPtr` is never constructed [INFO] [stdout] --> src/value.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ObjPtr(NonNull<()>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjPtr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> src/value.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `from_func`, and `into_func` are never used [INFO] [stdout] --> src/value.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 94 | /// A slot that's considered empty. [INFO] [stdout] 95 | pub(crate) const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) unsafe fn from_func(func: Rc) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub(crate) unsafe fn into_func(self) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top` is never read [INFO] [stdout] --> src/vm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | top: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `grow_stack` is never used [INFO] [stdout] --> src/vm.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn grow_stack(&mut self, additional: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_func_expected` is never used [INFO] [stdout] --> src/vm.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn err_func_expected() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::object::UpValueOrigin` [INFO] [stdout] --> src/op.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::object::UpValueOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/value.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let func = Rc::new(Func { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot` [INFO] [stdout] --> src/vm.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let slot = vm.stack[callee_base].clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | /// Return value type. [INFO] [stdout] 16 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Expr(Box), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Expr(Box), [INFO] [stdout] 32 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Return` is never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReturnStmt` is never constructed [INFO] [stdout] --> src/ast.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ReturnStmt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStmt` 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 `items` is never read [INFO] [stdout] --> src/ast.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Tuple { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 55 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `expr` are never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TupleItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TupleItem` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | Name(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Name(Box), [INFO] [stdout] 71 + Name(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | Func(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Func(Box), [INFO] [stdout] 74 + Func(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> src/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Call(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `ident` is never read [INFO] [stdout] --> src/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct NameAccessExpr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 85 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameAccessExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `args`, and `return_` are never read [INFO] [stdout] --> src/ast.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct FuncLit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 109 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 111 | pub return_: Tuple, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty_name` are never read [INFO] [stdout] --> src/ast.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Arg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 116 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub ty_name: Ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `callee`, and `args` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct CallExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 123 | pub ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 139 | Num(Number), [INFO] [stdout] 140 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 145 - Int(i64), [INFO] [stdout] 145 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 - Float(f64), [INFO] [stdout] 146 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDeclStmt` is never constructed [INFO] [stdout] --> src/ast.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TypeDeclStmt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Lit` is never constructed [INFO] [stdout] --> src/ast.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum TypeDef { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 171 | Alias(TypeName), [INFO] [stdout] 172 | Lit(TypeLit), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Array`, `DynArray`, `Table`, and `Struct` are never constructed [INFO] [stdout] --> src/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum TypeLit { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 189 | Array { element: Box, size: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | DynArray { element: Box }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | Table { key: Box, value: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | Struct { fields: Vec }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub ty: Box, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> src/env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Weak` is never constructed [INFO] [stdout] --> src/handle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Weak(RcWeak>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_inner`, `ptr_eq`, `as_ptr`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Handle { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn ptr_eq(&self, other: &Handle) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shared` is never used [INFO] [stdout] --> src/handle.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `strong`, `upgrade`, `weak`, and `downgrade` are never used [INFO] [stdout] --> src/handle.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Shared { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 72 | pub fn strong(&self) -> Option<&Handle> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn weak(&self) -> Option<&Weak> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/lexer.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack_size` and `is_varg` are never read [INFO] [stdout] --> src/object.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) stack_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) is_varg: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floats` is never read [INFO] [stdout] --> src/object.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 53 | pub(crate) ints: Box<[i64]>, [INFO] [stdout] 54 | pub(crate) floats: Box<[f64]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Outer` is never constructed [INFO] [stdout] --> src/object.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum UpValueOrigin { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | Outer(u32), // up-value id [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpValueOrigin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_string` is never used [INFO] [stdout] --> src/object.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl CrowStr { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn into_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Str` is never constructed [INFO] [stdout] --> src/string.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Str(Rc); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Str` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_ptr` and `from_ptr` are never used [INFO] [stdout] --> src/string.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | impl Str { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 7 | pub unsafe fn as_ptr(self) -> *const String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub unsafe fn from_ptr(string_rc: *const String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/token.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum LitValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 38 | Int(i64), [INFO] [stdout] 39 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `count` are never used [INFO] [stdout] --> src/token.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Span { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn index(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn count(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `scopes` are never read [INFO] [stdout] --> src/typechecker.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TypeChecker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | scopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/typechecker.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Local { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] 21 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tuple`, `Array`, `Table`, `Func`, and `Struct` are never constructed [INFO] [stdout] --> src/types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Array(TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | /// Hash table. [INFO] [stdout] 52 | Table(TypeId, TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | /// Type of both the [`crate::object::Closure`] value and [`crate::object::Func`]` prototype. [INFO] [stdout] 54 | Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UInt` is never constructed [INFO] [stdout] --> src/value.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | Int(i64), [INFO] [stdout] 12 | UInt(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_func` and `to_func` are never used [INFO] [stdout] --> src/value.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_func(&self) -> Option<&Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_func(self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjPtr` is never constructed [INFO] [stdout] --> src/value.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ObjPtr(NonNull<()>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjPtr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> src/value.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `from_func`, and `into_func` are never used [INFO] [stdout] --> src/value.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 93 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 94 | /// A slot that's considered empty. [INFO] [stdout] 95 | pub(crate) const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) unsafe fn from_func(func: Rc) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub(crate) unsafe fn into_func(self) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top` is never read [INFO] [stdout] --> src/vm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | top: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `grow_stack` is never used [INFO] [stdout] --> src/vm.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn grow_stack(&mut self, additional: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_func_expected` is never used [INFO] [stdout] --> src/vm.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn err_func_expected() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "6dc9ed3b392751ab0cd886a12b46bf1946d501ab0a4d333a010c28a760a4397d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc9ed3b392751ab0cd886a12b46bf1946d501ab0a4d333a010c28a760a4397d", kill_on_drop: false }` [INFO] [stdout] 6dc9ed3b392751ab0cd886a12b46bf1946d501ab0a4d333a010c28a760a4397d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 00cbd981e90447d3b85aec548446a0f2760f9eb7b260dd6420802f89c2497857 [INFO] running `Command { std: "docker" "start" "-a" "00cbd981e90447d3b85aec548446a0f2760f9eb7b260dd6420802f89c2497857", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::object::UpValueOrigin` [INFO] [stderr] --> src/op.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::object::UpValueOrigin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slot` [INFO] [stderr] --> src/vm.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 216 | let slot = vm.stack[callee_base].clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slot` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `ty` is never read [INFO] [stderr] --> src/ast.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Block { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 15 | /// Return value type. [INFO] [stderr] 16 | pub ty: TypeId, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | Expr(Box), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - Expr(Box), [INFO] [stderr] 32 + Expr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `Return` is never constructed [INFO] [stderr] --> src/ast.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub enum Stmt { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 30 | Return, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ReturnStmt` is never constructed [INFO] [stderr] --> src/ast.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct ReturnStmt { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReturnStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `items` is never read [INFO] [stderr] --> src/ast.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct Tuple { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 55 | pub items: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ty` and `expr` are never read [INFO] [stderr] --> src/ast.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct TupleItem { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 60 | pub ty: TypeId, [INFO] [stderr] | ^^ [INFO] [stderr] 61 | pub expr: Expr, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TupleItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | Name(Box), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 71 - Name(Box), [INFO] [stderr] 71 + Name(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | Func(Box), [INFO] [stderr] | ---- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 74 - Func(Box), [INFO] [stderr] 74 + Func(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `Call` is never constructed [INFO] [stderr] --> src/ast.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub enum Expr { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 76 | Call(Box), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `ident` is never read [INFO] [stderr] --> src/ast.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct NameAccessExpr { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 85 | pub ident: Ident, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NameAccessExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ty`, `args`, and `return_` are never read [INFO] [stderr] --> src/ast.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct FuncLit { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 109 | pub ty: TypeId, [INFO] [stderr] | ^^ [INFO] [stderr] 110 | pub args: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 111 | pub return_: Tuple, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FuncLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `ty_name` are never read [INFO] [stderr] --> src/ast.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct Arg { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 116 | pub name: Ident, [INFO] [stderr] | ^^^^ [INFO] [stderr] 117 | pub ty_name: Ident, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ty`, `callee`, and `args` are never read [INFO] [stderr] --> src/ast.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 122 | pub struct CallExpr { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 123 | pub ty: TypeId, [INFO] [stderr] | ^^ [INFO] [stderr] 124 | pub callee: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 125 | pub args: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Str` is never constructed [INFO] [stderr] --> src/ast.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 138 | pub enum Literal { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 139 | Num(Number), [INFO] [stderr] 140 | Str(String), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | Int(i64), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 145 - Int(i64), [INFO] [stderr] 145 + Int(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:146:11 [INFO] [stderr] | [INFO] [stderr] 146 | Float(f64), [INFO] [stderr] | ----- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 146 - Float(f64), [INFO] [stderr] 146 + Float(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `TypeDeclStmt` is never constructed [INFO] [stderr] --> src/ast.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 159 | pub struct TypeDeclStmt { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeDeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Alias` and `Lit` are never constructed [INFO] [stderr] --> src/ast.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 170 | pub enum TypeDef { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 171 | Alias(TypeName), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 172 | Lit(TypeLit), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Array`, `DynArray`, `Table`, and `Struct` are never constructed [INFO] [stderr] --> src/ast.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 183 | pub enum TypeLit { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 189 | Array { element: Box, size: usize }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | DynArray { element: Box }, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | Table { key: Box, value: Box }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | Struct { fields: Vec }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeLit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `ty` are never read [INFO] [stderr] --> src/ast.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 215 | pub struct FieldDef { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 216 | pub name: Ident, [INFO] [stderr] | ^^^^ [INFO] [stderr] 217 | pub ty: Box, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `FieldDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `from_string` is never used [INFO] [stderr] --> src/ast.rs:225:12 [INFO] [stderr] | [INFO] [stderr] 224 | impl Ident { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 225 | pub fn from_string(text: impl ToString) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Env` is never constructed [INFO] [stderr] --> src/env.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Env { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Weak` is never constructed [INFO] [stderr] --> src/handle.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Weak(RcWeak>); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `into_inner`, `ptr_eq`, `as_ptr`, and `downgrade` are never used [INFO] [stderr] --> src/handle.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Handle { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn into_inner(self) -> T { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn ptr_eq(&self, other: &Handle) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn as_ptr(&self) -> *const T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn downgrade(&self) -> Weak { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Shared` is never used [INFO] [stderr] --> src/handle.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | pub enum Shared { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `strong`, `upgrade`, `weak`, and `downgrade` are never used [INFO] [stderr] --> src/handle.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl Shared { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 72 | pub fn strong(&self) -> Option<&Handle> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn upgrade(&self) -> Option> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn weak(&self) -> Option<&Weak> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn downgrade(&self) -> Weak { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `file` is never read [INFO] [stderr] --> src/lexer.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Lexer<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | pub(crate) file: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `stack_size` and `is_varg` are never read [INFO] [stderr] --> src/object.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Func { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) stack_size: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub(crate) is_varg: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `floats` is never read [INFO] [stderr] --> src/object.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct Constants { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 53 | pub(crate) ints: Box<[i64]>, [INFO] [stderr] 54 | pub(crate) floats: Box<[f64]>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Parent` and `Outer` are never constructed [INFO] [stderr] --> src/object.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 88 | pub enum UpValueOrigin { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 89 | /// UpValue is located in parent's local variables. [INFO] [stderr] 90 | Parent(u32), // local_id [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 91 | /// UpValue is located in parent's up-value list. [INFO] [stderr] 92 | Outer(u32), // up-value id [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpValueOrigin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `into_string` are never used [INFO] [stderr] --> src/object.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 180 | impl CrowStr { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 181 | #[inline(always)] [INFO] [stderr] 182 | pub fn new(s: impl ToString) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn into_string(self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Str` is never constructed [INFO] [stderr] --> src/string.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Str(Rc); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Str` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `as_ptr` and `from_ptr` are never used [INFO] [stderr] --> src/string.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 6 | impl Str { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 7 | pub unsafe fn as_ptr(self) -> *const String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | pub unsafe fn from_ptr(string_rc: *const String) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Float` is never constructed [INFO] [stderr] --> src/token.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub enum LitValue { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 38 | Int(i64), [INFO] [stderr] 39 | Float(f64), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LitValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `index` and `count` are never used [INFO] [stderr] --> src/token.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 59 | impl Span { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn index(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn count(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `types` and `scopes` are never read [INFO] [stderr] --> src/typechecker.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct TypeChecker { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 8 | types: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | scopes: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ty` is never read [INFO] [stderr] --> src/typechecker.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 19 | struct Local { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 20 | name: String, [INFO] [stderr] 21 | ty: TypeId, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Tuple`, `Array`, `Table`, `Func`, and `Struct` are never constructed [INFO] [stderr] --> src/types.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub enum Type { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 49 | Tuple(Vec), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 50 | Array(TypeId), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 51 | /// Hash table. [INFO] [stderr] 52 | Table(TypeId, TypeId), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 53 | /// Type of both the [`crate::object::Closure`] value and [`crate::object::Func`]` prototype. [INFO] [stderr] 54 | Func { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | Struct { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `UInt` is never constructed [INFO] [stderr] --> src/value.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum Value { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 11 | Int(i64), [INFO] [stderr] 12 | UInt(u64), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `as_func` and `to_func` are never used [INFO] [stderr] --> src/value.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Value { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn as_func(&self) -> Option<&Rc> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn to_func(self) -> Option> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ObjPtr` is never constructed [INFO] [stderr] --> src/value.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct ObjPtr(NonNull<()>); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ObjPtr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: union `Slot` is never used [INFO] [stderr] --> src/value.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | pub union Slot { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Slot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `empty`, `from_func`, and `into_func` are never used [INFO] [stderr] --> src/value.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 93 | impl Slot { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 94 | /// A slot that's considered empty. [INFO] [stderr] 95 | pub(crate) const fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub(crate) unsafe fn from_func(func: Rc) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub(crate) unsafe fn into_func(self) -> Rc { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `top` is never read [INFO] [stderr] --> src/vm.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct CallFrame { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | top: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `grow_stack` is never used [INFO] [stderr] --> src/vm.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 54 | impl Vm { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | fn grow_stack(&mut self, additional: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `err_func_expected` is never used [INFO] [stderr] --> src/vm.rs:253:4 [INFO] [stderr] | [INFO] [stderr] 253 | fn err_func_expected() -> Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `crow` (lib) generated 48 warnings (run `cargo fix --lib -p crow` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `func` [INFO] [stderr] --> src/value.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | let func = Rc::new(Func { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slot` [INFO] [stderr] --> src/vm.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 216 | let slot = vm.stack[callee_base].clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slot` [INFO] [stderr] [INFO] [stderr] warning: variant `Lit` is never constructed [INFO] [stderr] --> src/ast.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 170 | pub enum TypeDef { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 171 | Alias(TypeName), [INFO] [stderr] 172 | Lit(TypeLit), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Outer` is never constructed [INFO] [stderr] --> src/object.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 88 | pub enum UpValueOrigin { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 92 | Outer(u32), // up-value id [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpValueOrigin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `into_string` is never used [INFO] [stderr] --> src/object.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 180 | impl CrowStr { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn into_string(self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `crow` (lib test) generated 48 warnings (43 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/crow-c77f792f36600de9) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test lexer::test::test_ignore_block_comment ... ok [INFO] [stdout] test lexer::test::test_doc_comment ... ok [INFO] [stdout] test lexer::test::test_tokenisation_comparison ... ok [INFO] [stdout] test lexer::test::test_tokenisation_keywords ... ok [INFO] [stdout] test lexer::test::test_ignore_line_comment ... ok [INFO] [stdout] test lexer::test::test_tokenisation_enclosing ... ok [INFO] [stdout] test lexer::test::test_tokenisation_punctuation ... ok [INFO] [stdout] test tests::test_basic_branch ... ok [INFO] [stdout] test lexer::test::test_tokenisation_operators ... ok [INFO] [stdout] test typechecker::test::test_typecheck_expression ... ok [INFO] [stdout] test tests::test_basic_call ... ok [INFO] [stdout] test tests::test_table ... ok [INFO] [stdout] test tests::test_basic_math ... ok [INFO] [stdout] test op::test::test_op_size ... ok [INFO] [stdout] test typechecker::test::test_typecheck_block ... ok [INFO] [stdout] test value::test::test_value_size ... ok [INFO] [stdout] test types::test::test_type_index ... ok [INFO] [stdout] test value::test::test_slot ... ok [INFO] [stdout] test op::test::test_arg24 ... ok [INFO] [stdout] test tests::test_recursion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.36s [INFO] [stdout] [INFO] [stderr] Running tests/test_language.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_language-fa5def989210eac9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_local_arithmetic ... ok [INFO] [stdout] test test_core_hello_world ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_core_hello_world stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_core_hello_world' panicked at src/parser.rs:125:9: [INFO] [stdout] not yet implemented: expression statement [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7dc51e0774e2 - std::backtrace_rs::backtrace::libunwind::trace::hc0462517b060cf4b [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7dc51e0774e2 - std::backtrace_rs::backtrace::trace_unsynchronized::he3231a4df0b43f00 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7dc51e0774e2 - std::sys::backtrace::_print_fmt::h7f744866c41d3a31 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7dc51e0774e2 - ::fmt::h1ef81e33f64f634e [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7dc51e0b3063 - core::fmt::rt::Argument::fmt::h81a194710c4034a0 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7dc51e0b3063 - core::fmt::write::h1ab4e554d51bab56 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7dc51e074943 - std::io::default_write_fmt::h1d8065796ed487b7 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7dc51e074943 - std::io::Write::write_fmt::hb706b37400bb89a4 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7dc51e077332 - std::sys::backtrace::BacktraceLock::print::h727d5db2588a6e85 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7dc51e078aac - std::panicking::default_hook::{{closure}}::h6350a945c4503995 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7dc51e078902 - std::panicking::default_hook::h4b8983249f85bd0b [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7dc51e045324 - as core::ops::function::Fn>::call::hede30da1739cef56 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7dc51e045324 - test::test_main_with_exit_callback::{{closure}}::h0965311d4539e3e1 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7dc51e079433 - as core::ops::function::Fn>::call::hae484572816f635a [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7dc51e079433 - std::panicking::rust_panic_with_hook::hb38a28752bc10485 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7dc51e0791c6 - std::panicking::begin_panic_handler::{{closure}}::h006ddf6127456535 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x7dc51e0779d9 - std::sys::backtrace::__rust_end_short_backtrace::hf5f4a9954877c175 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7dc51e078e8d - __rustc[d925719a8a7e767]::rust_begin_unwind [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7dc51dff1df0 - core::panicking::panic_fmt::h82f8bf7d1bff5441 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7dc51e001fa4 - crow::parser::Parser::parse_expr_stmt::hf0eb425fdd105471 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:125:9 [INFO] [stdout] 20: 0x7dc51e001392 - crow::parser::Parser::parse_stmts::h7d3d9c1abed0056f [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:89:31 [INFO] [stdout] 21: 0x7dc51e001097 - crow::parser::Parser::parse_module::h98fd0e6bad65e773 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:74:25 [INFO] [stdout] 22: 0x7dc51dff58d6 - crow::compile::h722fc580e8f63afc [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:29:24 [INFO] [stdout] 23: 0x7dc51dff5d1f - crow::compile_file::ha2434656de9fd01c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:48:5 [INFO] [stdout] 24: 0x7dc51dff3139 - test_language::test_core_hello_world::hf9ac806719dd071b [INFO] [stdout] at /opt/rustwide/workdir/tests/test_language.rs:3:5 [INFO] [stdout] 25: 0x7dc51dff3107 - test_language::test_core_hello_world::{{closure}}::hfb6b25a8379ba5e0 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_language.rs:2:27 [INFO] [stdout] 26: 0x7dc51dff2a86 - core::ops::function::FnOnce::call_once::ha1d0bdaef1478f3b [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x7dc51e04aacb - core::ops::function::FnOnce::call_once::h3d2c0f0c5993581d [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7dc51e04aacb - test::__rust_begin_short_backtrace::hf54991c0c0d36629 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:648:18 [INFO] [stdout] 29: 0x7dc51e049c8e - test::run_test_in_process::{{closure}}::h0341f8cea17536bb [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:671:74 [INFO] [stdout] 30: 0x7dc51e049c8e - as core::ops::function::FnOnce<()>>::call_once::h1553eed696704d3d [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x7dc51e049c8e - std::panicking::catch_unwind::do_call::h1f63de62998cca9c [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:589:40 [INFO] [stdout] 32: 0x7dc51e049c8e - std::panicking::catch_unwind::h4302cf2989a72c19 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:552:19 [INFO] [stdout] 33: 0x7dc51e049c8e - std::panic::catch_unwind::h755c1d140d191b4d [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x7dc51e049c8e - test::run_test_in_process::h9532e6446792790f [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:671:27 [INFO] [stdout] 35: 0x7dc51e049c8e - test::run_test::{{closure}}::h4a686694e7a14850 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:592:43 [INFO] [stdout] 36: 0x7dc51e00eae4 - test::run_test::{{closure}}::hc71fa205a786e45a [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/test/src/lib.rs:622:41 [INFO] [stdout] 37: 0x7dc51e00eae4 - std::sys::backtrace::__rust_begin_short_backtrace::h47b19d02f1433fd6 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: 0x7dc51e01222a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h70d3ad48daaae9ca [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x7dc51e01222a - as core::ops::function::FnOnce<()>>::call_once::h05c136ea56e78f01 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x7dc51e01222a - std::panicking::catch_unwind::do_call::h319e6bf1ae676552 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:589:40 [INFO] [stdout] 41: 0x7dc51e01222a - std::panicking::catch_unwind::h87e2ae4fefda4094 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panicking.rs:552:19 [INFO] [stdout] 42: 0x7dc51e01222a - std::panic::catch_unwind::hfb9059861e181e57 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x7dc51e01222a - std::thread::Builder::spawn_unchecked_::{{closure}}::h9acdf04a4f8f3746 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x7dc51e01222a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h04b8077dc2df262e [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x7dc51e07be87 - as core::ops::function::FnOnce>::call_once::hfdaf4814ac3c8671 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: 0x7dc51e07be87 - as core::ops::function::FnOnce>::call_once::h1e491c0829796b5d [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x7dc51e07be87 - std::sys::pal::unix::thread::Thread::new::thread_start::h72c96c274d9d1b61 [INFO] [stdout] at /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_core_hello_world [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_language` [INFO] running `Command { std: "docker" "inspect" "00cbd981e90447d3b85aec548446a0f2760f9eb7b260dd6420802f89c2497857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00cbd981e90447d3b85aec548446a0f2760f9eb7b260dd6420802f89c2497857", kill_on_drop: false }` [INFO] [stdout] 00cbd981e90447d3b85aec548446a0f2760f9eb7b260dd6420802f89c2497857