[INFO] cloning repository https://github.com/alekratz/file-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alekratz/file-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Ffile-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Ffile-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e07753049d39882ee6e9715867c02e3ff86bbdd [INFO] testing alekratz/file-lang against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Ffile-lang" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekratz/file-lang on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alekratz/file-lang [INFO] finished tweaking git repo https://github.com/alekratz/file-lang [INFO] tweaked toml for git repo https://github.com/alekratz/file-lang written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/alekratz/file-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c122d4bb5ef90ffe987e5d96bae4db114e632339bc52619272225d01110e31f7 [INFO] running `Command { std: "docker" "start" "-a" "c122d4bb5ef90ffe987e5d96bae4db114e632339bc52619272225d01110e31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c122d4bb5ef90ffe987e5d96bae4db114e632339bc52619272225d01110e31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c122d4bb5ef90ffe987e5d96bae4db114e632339bc52619272225d01110e31f7", kill_on_drop: false }` [INFO] [stdout] c122d4bb5ef90ffe987e5d96bae4db114e632339bc52619272225d01110e31f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 693933c60f877ea220364a2f206040d2005d77d3532c354f83d6ed2c19f8cc92 [INFO] running `Command { std: "docker" "start" "-a" "693933c60f877ea220364a2f206040d2005d77d3532c354f83d6ed2c19f8cc92", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cc v1.0.42 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling structopt v0.3.1 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling file-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm::fun::*` [INFO] [stdout] --> src/compile/constant.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{compile::builtins::*, vm::fun::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fun::*` [INFO] [stdout] --> src/compile/translate/constant.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | vm::{fun::*, object::*, value::*}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::prelude::*` [INFO] [stdout] --> src/vm/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | common::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/vm/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/state.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_user_fun(&mut self, fun: &UserFun, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/common/span.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapping` [INFO] [stdout] --> src/common/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mapping: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/common/util.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/common/util.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn insert(&mut self, value: V) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/common/util.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get(&self) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binary_binding_name` [INFO] [stdout] --> src/syn/ast.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn binary_binding_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unary_binding_name` [INFO] [stdout] --> src/syn/ast.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn unary_binding_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/syn/lexer.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn text(&self) -> &'text str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_ops` [INFO] [stdout] --> src/syn/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_ops(text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `curr_text` [INFO] [stdout] --> src/syn/parser.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn curr_text(&self) -> &'text str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/syn/parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn text(&self) -> &'text str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `un_ops` [INFO] [stdout] --> src/compile/builtins.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | un_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bin_ops` [INFO] [stdout] --> src/compile/builtins.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | bin_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `assign_ops` [INFO] [stdout] --> src/compile/builtins.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assign_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `functions` [INFO] [stdout] --> src/compile/builtins.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | functions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/compile/builtins.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | types: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_bindings` [INFO] [stdout] --> src/compile/builtins.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | type_bindings: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `un_ops` [INFO] [stdout] --> src/compile/builtins.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn un_ops(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_un_op` [INFO] [stdout] --> src/compile/builtins.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn insert_un_op(&mut self, op: OpList, binding: Binding) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bin_ops` [INFO] [stdout] --> src/compile/builtins.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn bin_ops(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_bin_op` [INFO] [stdout] --> src/compile/builtins.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn insert_bin_op(&mut self, op: OpList, binding: Binding) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `functions` [INFO] [stdout] --> src/compile/builtins.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn functions(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_function` [INFO] [stdout] --> src/compile/builtins.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn insert_function(&mut self, binding: Binding, fun: BuiltinFun) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `types` [INFO] [stdout] --> src/compile/builtins.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn types(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_type` [INFO] [stdout] --> src/compile/builtins.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn insert_type(&mut self, binding: Binding, ty: BuiltinType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/compile/builtins.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_type(&self) -> Option<&BuiltinType> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REPR` [INFO] [stdout] --> src/compile/builtins.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub const REPR: &str = "__repr__"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_function_ref` [INFO] [stdout] --> src/vm/artifact.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn main_function_ref(&self) -> ValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constants` [INFO] [stdout] --> src/vm/artifact.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn constants(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_function` [INFO] [stdout] --> src/vm/artifact.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn main_function(&self) -> &dyn Object { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Partial` [INFO] [stdout] --> src/vm/fun.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Partial(Vec, ValueRef), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Fun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `binding` [INFO] [stdout] --> src/vm/fun.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | binding: Binding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arity` [INFO] [stdout] --> src/vm/fun.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | arity: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binding` [INFO] [stdout] --> src/vm/fun.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn binding(&self) -> Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/vm/fun.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vm/fun.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn new(binding: Binding, fun: BuiltinFunPtr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun` [INFO] [stdout] --> src/vm/fun.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn fun(&self) -> &BuiltinFunPtr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binding` [INFO] [stdout] --> src/vm/fun.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn binding(&self) -> Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constants_end` [INFO] [stdout] --> src/vm/storage.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | constants_end: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_frame` [INFO] [stdout] --> src/vm/storage.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stack_frame(&self) -> &StackFrame { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_frames` [INFO] [stdout] --> src/vm/storage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn stack_frames(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `return_register` [INFO] [stdout] --> src/vm/storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn return_register(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset_return_register` [INFO] [stdout] --> src/vm/storage.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn unset_return_register(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/vm/storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn free(&mut self, value_ref: ValueRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/compile/context/ir.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | text: &'t str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IrCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/context/ir.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_constant` [INFO] [stdout] --> src/compile/context/ir.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_constant(&self, value_ref: ValueRef) -> &ConstValue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/compile/context/ir.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn text(&self) -> &'t str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_type` [INFO] [stdout] --> src/compile/translate/ir.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn translate_type(&mut self, _type_def: &TypeDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_fun` [INFO] [stdout] --> src/compile/translate/ir.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn translate_fun(&mut self, fun_def: &FunDef) -> UserFun { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "693933c60f877ea220364a2f206040d2005d77d3532c354f83d6ed2c19f8cc92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693933c60f877ea220364a2f206040d2005d77d3532c354f83d6ed2c19f8cc92", kill_on_drop: false }` [INFO] [stdout] 693933c60f877ea220364a2f206040d2005d77d3532c354f83d6ed2c19f8cc92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1582a5ddefd62b76f34968c8754d78dbf6303cdea050e4454356c480c4d3fb00 [INFO] running `Command { std: "docker" "start" "-a" "1582a5ddefd62b76f34968c8754d78dbf6303cdea050e4454356c480c4d3fb00", kill_on_drop: false }` [INFO] [stderr] Compiling file-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm::fun::*` [INFO] [stdout] --> src/compile/constant.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{compile::builtins::*, vm::fun::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fun::*` [INFO] [stdout] --> src/compile/translate/constant.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | vm::{fun::*, object::*, value::*}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::prelude::*` [INFO] [stdout] --> src/vm/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | common::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/vm/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/state.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_user_fun(&mut self, fun: &UserFun, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/common/span.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapping` [INFO] [stdout] --> src/common/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mapping: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/common/util.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/common/util.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn insert(&mut self, value: V) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/common/util.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get(&self) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binary_binding_name` [INFO] [stdout] --> src/syn/ast.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn binary_binding_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unary_binding_name` [INFO] [stdout] --> src/syn/ast.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn unary_binding_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/syn/lexer.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn text(&self) -> &'text str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_ops` [INFO] [stdout] --> src/syn/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_ops(text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `curr_text` [INFO] [stdout] --> src/syn/parser.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn curr_text(&self) -> &'text str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/syn/parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn text(&self) -> &'text str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `un_ops` [INFO] [stdout] --> src/compile/builtins.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | un_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bin_ops` [INFO] [stdout] --> src/compile/builtins.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | bin_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `assign_ops` [INFO] [stdout] --> src/compile/builtins.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assign_ops: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `functions` [INFO] [stdout] --> src/compile/builtins.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | functions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/compile/builtins.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | types: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_bindings` [INFO] [stdout] --> src/compile/builtins.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | type_bindings: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/builtins.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `un_ops` [INFO] [stdout] --> src/compile/builtins.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn un_ops(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_un_op` [INFO] [stdout] --> src/compile/builtins.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn insert_un_op(&mut self, op: OpList, binding: Binding) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bin_ops` [INFO] [stdout] --> src/compile/builtins.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn bin_ops(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_bin_op` [INFO] [stdout] --> src/compile/builtins.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn insert_bin_op(&mut self, op: OpList, binding: Binding) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `functions` [INFO] [stdout] --> src/compile/builtins.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn functions(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_function` [INFO] [stdout] --> src/compile/builtins.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn insert_function(&mut self, binding: Binding, fun: BuiltinFun) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `types` [INFO] [stdout] --> src/compile/builtins.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn types(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_type` [INFO] [stdout] --> src/compile/builtins.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn insert_type(&mut self, binding: Binding, ty: BuiltinType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/compile/builtins.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_type(&self) -> Option<&BuiltinType> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REPR` [INFO] [stdout] --> src/compile/builtins.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub const REPR: &str = "__repr__"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_function_ref` [INFO] [stdout] --> src/vm/artifact.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn main_function_ref(&self) -> ValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constants` [INFO] [stdout] --> src/vm/artifact.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn constants(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_function` [INFO] [stdout] --> src/vm/artifact.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn main_function(&self) -> &dyn Object { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Partial` [INFO] [stdout] --> src/vm/fun.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Partial(Vec, ValueRef), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Fun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `binding` [INFO] [stdout] --> src/vm/fun.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | binding: Binding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arity` [INFO] [stdout] --> src/vm/fun.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | arity: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm/fun.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binding` [INFO] [stdout] --> src/vm/fun.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn binding(&self) -> Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/vm/fun.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vm/fun.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn new(binding: Binding, fun: BuiltinFunPtr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun` [INFO] [stdout] --> src/vm/fun.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn fun(&self) -> &BuiltinFunPtr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binding` [INFO] [stdout] --> src/vm/fun.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn binding(&self) -> Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constants_end` [INFO] [stdout] --> src/vm/storage.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | constants_end: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_frame` [INFO] [stdout] --> src/vm/storage.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stack_frame(&self) -> &StackFrame { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_frames` [INFO] [stdout] --> src/vm/storage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn stack_frames(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `return_register` [INFO] [stdout] --> src/vm/storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn return_register(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset_return_register` [INFO] [stdout] --> src/vm/storage.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn unset_return_register(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/vm/storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn free(&mut self, value_ref: ValueRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/compile/context/ir.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | text: &'t str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IrCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compile/context/ir.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_constant` [INFO] [stdout] --> src/compile/context/ir.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_constant(&self, value_ref: ValueRef) -> &ConstValue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/compile/context/ir.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn text(&self) -> &'t str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_type` [INFO] [stdout] --> src/compile/translate/ir.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn translate_type(&mut self, _type_def: &TypeDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_fun` [INFO] [stdout] --> src/compile/translate/ir.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn translate_fun(&mut self, fun_def: &FunDef) -> UserFun { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.35s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/file_lang-d3d96678bf248c50) [INFO] running `Command { std: "docker" "inspect" "1582a5ddefd62b76f34968c8754d78dbf6303cdea050e4454356c480c4d3fb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1582a5ddefd62b76f34968c8754d78dbf6303cdea050e4454356c480c4d3fb00", kill_on_drop: false }` [INFO] [stdout] 1582a5ddefd62b76f34968c8754d78dbf6303cdea050e4454356c480c4d3fb00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0ac256fa42b4cbca93dfd5498643fbe19573b07391aa68ff97ed56f5dc792d1 [INFO] running `Command { std: "docker" "start" "-a" "c0ac256fa42b4cbca93dfd5498643fbe19573b07391aa68ff97ed56f5dc792d1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `vm::fun::*` [INFO] [stderr] --> src/compile/constant.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{compile::builtins::*, vm::fun::*}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `fun::*` [INFO] [stderr] --> src/compile/translate/constant.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | vm::{fun::*, object::*, value::*}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::prelude::*` [INFO] [stderr] --> src/vm/state.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | common::prelude::*, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/vm/state.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/vm/state.rs:44:52 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn call_user_fun(&mut self, fun: &UserFun, args: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `len` [INFO] [stderr] --> src/common/span.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mapping` [INFO] [stderr] --> src/common/util.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | mapping: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/common/util.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/common/util.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn insert(&mut self, value: V) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/common/util.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get(&self) -> Option<&V> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `binary_binding_name` [INFO] [stderr] --> src/syn/ast.rs:313:12 [INFO] [stderr] | [INFO] [stderr] 313 | pub fn binary_binding_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unary_binding_name` [INFO] [stderr] --> src/syn/ast.rs:317:12 [INFO] [stderr] | [INFO] [stderr] 317 | pub fn unary_binding_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `text` [INFO] [stderr] --> src/syn/lexer.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn text(&self) -> &'text str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_ops` [INFO] [stderr] --> src/syn/parser.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse_ops(text: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `curr_text` [INFO] [stderr] --> src/syn/parser.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn curr_text(&self) -> &'text str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `text` [INFO] [stderr] --> src/syn/parser.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn text(&self) -> &'text str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `un_ops` [INFO] [stderr] --> src/compile/builtins.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | un_ops: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bin_ops` [INFO] [stderr] --> src/compile/builtins.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | bin_ops: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `assign_ops` [INFO] [stderr] --> src/compile/builtins.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | assign_ops: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `functions` [INFO] [stderr] --> src/compile/builtins.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | functions: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `types` [INFO] [stderr] --> src/compile/builtins.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | types: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `type_bindings` [INFO] [stderr] --> src/compile/builtins.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | type_bindings: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builtins` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/builtins.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `un_ops` [INFO] [stderr] --> src/compile/builtins.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn un_ops(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_un_op` [INFO] [stderr] --> src/compile/builtins.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn insert_un_op(&mut self, op: OpList, binding: Binding) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bin_ops` [INFO] [stderr] --> src/compile/builtins.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn bin_ops(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_bin_op` [INFO] [stderr] --> src/compile/builtins.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn insert_bin_op(&mut self, op: OpList, binding: Binding) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `functions` [INFO] [stderr] --> src/compile/builtins.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn functions(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_function` [INFO] [stderr] --> src/compile/builtins.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn insert_function(&mut self, binding: Binding, fun: BuiltinFun) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `types` [INFO] [stderr] --> src/compile/builtins.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn types(&self) -> &HashMap { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_type` [INFO] [stderr] --> src/compile/builtins.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn insert_type(&mut self, binding: Binding, ty: BuiltinType) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_type` [INFO] [stderr] --> src/compile/builtins.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get_type(&self) -> Option<&BuiltinType> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `REPR` [INFO] [stderr] --> src/compile/builtins.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | pub const REPR: &str = "__repr__"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `main_function_ref` [INFO] [stderr] --> src/vm/artifact.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn main_function_ref(&self) -> ValueRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `constants` [INFO] [stderr] --> src/vm/artifact.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn constants(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `main_function` [INFO] [stderr] --> src/vm/artifact.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn main_function(&self) -> &dyn Object { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Partial` [INFO] [stderr] --> src/vm/fun.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Partial(Vec, ValueRef), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Fun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm/fun.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `binding` [INFO] [stderr] --> src/vm/fun.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | binding: Binding, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm/fun.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `arity` [INFO] [stderr] --> src/vm/fun.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | arity: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UserFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm/fun.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `binding` [INFO] [stderr] --> src/vm/fun.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn binding(&self) -> Binding { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arity` [INFO] [stderr] --> src/vm/fun.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn arity(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/vm/fun.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn new(binding: Binding, fun: BuiltinFunPtr) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fun` [INFO] [stderr] --> src/vm/fun.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn fun(&self) -> &BuiltinFunPtr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `binding` [INFO] [stderr] --> src/vm/fun.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn binding(&self) -> Binding { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `constants_end` [INFO] [stderr] --> src/vm/storage.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | constants_end: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_frame` [INFO] [stderr] --> src/vm/storage.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn stack_frame(&self) -> &StackFrame { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_frames` [INFO] [stderr] --> src/vm/storage.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn stack_frames(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `return_register` [INFO] [stderr] --> src/vm/storage.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn return_register(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unset_return_register` [INFO] [stderr] --> src/vm/storage.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn unset_return_register(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `free` [INFO] [stderr] --> src/vm/storage.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn free(&mut self, value_ref: ValueRef) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `text` [INFO] [stderr] --> src/compile/context/ir.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | text: &'t str, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IrCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/compile/context/ir.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_constant` [INFO] [stderr] --> src/compile/context/ir.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_constant(&self, value_ref: ValueRef) -> &ConstValue { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `text` [INFO] [stderr] --> src/compile/context/ir.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn text(&self) -> &'t str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `translate_type` [INFO] [stderr] --> src/compile/translate/ir.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | fn translate_type(&mut self, _type_def: &TypeDef) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `translate_fun` [INFO] [stderr] --> src/compile/translate/ir.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | fn translate_fun(&mut self, fun_def: &FunDef) -> UserFun { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] running 20 tests [INFO] [stderr] [INFO] [stderr] warning: `file-lang` (bin "file-lang" test) generated 54 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_lang-d3d96678bf248c50) [INFO] [stdout] test syn::lexer::test::test_bin_numbers ... ok [INFO] [stdout] test syn::lexer::test::test_hex_numbers ... ok [INFO] [stdout] test syn::lexer::test::test_idents ... ok [INFO] [stdout] test syn::lexer::test::test_exponents ... ok [INFO] [stdout] test syn::lexer::test::test_dec_numbers ... ok [INFO] [stdout] test syn::lexer::test::test_oct_numbers ... ok [INFO] [stdout] test syn::lexer::test::test_raw_strings ... ok [INFO] [stdout] test syn::lexer::test::test_keywords ... ok [INFO] [stdout] test syn::lexer::test::test_real_numbers ... ok [INFO] [stdout] test syn::lexer::test::test_strings ... ok [INFO] [stdout] test syn::lexer::test::test_tagged_strings ... ok [INFO] [stdout] test syn::parser::test::test_parser_access_expr ... ok [INFO] [stdout] test syn::lexer::test::test_ops ... ok [INFO] [stdout] test syn::parser::test::test_parser_atom ... ok [INFO] [stdout] test syn::parser::test::test_parser_assign_stmt ... ok [INFO] [stdout] test syn::parser::test::test_parser_bin_expr ... ok [INFO] [stdout] test syn::parser::test::test_parser_fun_def_stmt ... ok [INFO] [stdout] test syn::parser::test::test_parser_loops ... ok [INFO] [stdout] test syn::parser::test::test_parser_if_stmt ... ok [INFO] [stdout] test syn::parser::test::test_parser_un_expr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c0ac256fa42b4cbca93dfd5498643fbe19573b07391aa68ff97ed56f5dc792d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ac256fa42b4cbca93dfd5498643fbe19573b07391aa68ff97ed56f5dc792d1", kill_on_drop: false }` [INFO] [stdout] c0ac256fa42b4cbca93dfd5498643fbe19573b07391aa68ff97ed56f5dc792d1