[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] checking alekratz/file-lang against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Ffile-lang" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekratz/file-lang on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.5.0 [INFO] [stderr] Downloaded cc v1.0.42 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded snafu v0.5.0 [INFO] [stderr] Downloaded shrinkwraprs v0.2.1 [INFO] [stderr] Downloaded structopt-derive v0.3.1 [INFO] [stderr] Downloaded structopt v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9043c784c8be857866f068f822571b7607df647be39ee088e9d7c91cef76295 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9043c784c8be857866f068f822571b7607df647be39ee088e9d7c91cef76295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9043c784c8be857866f068f822571b7607df647be39ee088e9d7c91cef76295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9043c784c8be857866f068f822571b7607df647be39ee088e9d7c91cef76295", kill_on_drop: false }` [INFO] [stdout] b9043c784c8be857866f068f822571b7607df647be39ee088e9d7c91cef76295 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7942af02d62a0a273b51137c3ce8d1a226a2335b88abc6f81b4b7a663d1ae834 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7942af02d62a0a273b51137c3ce8d1a226a2335b88abc6f81b4b7a663d1ae834", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking backtrace-sys v0.1.31 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Checking structopt v0.3.1 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking snafu v0.5.0 [INFO] [stderr] Checking 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 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: 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: 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: `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: 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] [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: 45 warnings emitted [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: 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: `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: 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] [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "7942af02d62a0a273b51137c3ce8d1a226a2335b88abc6f81b4b7a663d1ae834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7942af02d62a0a273b51137c3ce8d1a226a2335b88abc6f81b4b7a663d1ae834", kill_on_drop: false }` [INFO] [stdout] 7942af02d62a0a273b51137c3ce8d1a226a2335b88abc6f81b4b7a663d1ae834