[INFO] cloning repository https://github.com/tino-platform/tino [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tino-platform/tino" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc77bb1fd6ca7013238a619b487d92c47672273 [INFO] building tino-platform/tino against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tino-platform/tino on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tino-platform/tino [INFO] finished tweaking git repo https://github.com/tino-platform/tino [INFO] tweaked toml for git repo https://github.com/tino-platform/tino written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/tino-platform/tino already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capnpc v0.8.7 [INFO] [stderr] Downloaded capnp v0.8.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edeab871d16a06ec25bd5c182470dd5019ba083e96416a22ec6afe7c9c120d7b [INFO] running `Command { std: "docker" "start" "-a" "edeab871d16a06ec25bd5c182470dd5019ba083e96416a22ec6afe7c9c120d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edeab871d16a06ec25bd5c182470dd5019ba083e96416a22ec6afe7c9c120d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edeab871d16a06ec25bd5c182470dd5019ba083e96416a22ec6afe7c9c120d7b", kill_on_drop: false }` [INFO] [stdout] edeab871d16a06ec25bd5c182470dd5019ba083e96416a22ec6afe7c9c120d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99a3c74aad06b39983775b0783b17a750cfe6c29fc56c33a1b3f320c6c07803a [INFO] running `Command { std: "docker" "start" "-a" "99a3c74aad06b39983775b0783b17a750cfe6c29fc56c33a1b3f320c6c07803a", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling libtruss-vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: unused import: `classload::ClassIdentifier` [INFO] [stdout] --> vm/src/vm/func.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use classload::ClassIdentifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &dyn Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:78 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &dyn Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &dyn Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> vm/src/vm/isn.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | p.stack.push(Object(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created` [INFO] [stdout] --> vm/src/vm/isn.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> vm/src/vm/isn.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> vm/src/vm/isn.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize` [INFO] [stdout] --> vm/src/vm/isn.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/process/heap.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut funcs = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/vm/isn.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> vm/src/obj.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VmClass { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | functions: Vec> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_field_at` is never used [INFO] [stdout] --> vm/src/process/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_field_at(&self, index: HeapIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `flags` are never read [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VmFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub isns: Vec, [INFO] [stdout] 10 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VmFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling capnp v0.8.11 [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling capnpc v0.8.7 [INFO] [stderr] Compiling libtruss-bytecode v0.1.0 (/opt/rustwide/workdir/bytecode) [INFO] [stdout] warning: fields `class_module`, `name` and `generic_names` are never read [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClassId { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | class_module: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | generic_names: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `func_module`, `class_name` and `name` are never read [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FuncId { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | func_module: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | class_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `members` and `funcs` are never read [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ClassDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Specific` and `Generic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum TypeReference { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Byte`, `Integer`, `Reference` and `Dynamic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum FieldType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `generic_binds` and `ops` are never read [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FunctionDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "99a3c74aad06b39983775b0783b17a750cfe6c29fc56c33a1b3f320c6c07803a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a3c74aad06b39983775b0783b17a750cfe6c29fc56c33a1b3f320c6c07803a", kill_on_drop: false }` [INFO] [stdout] 99a3c74aad06b39983775b0783b17a750cfe6c29fc56c33a1b3f320c6c07803a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb29f9e16cd6a0e277a1c8171013712baa8f000b2a5a7f221ef8d1ea7c844d1a [INFO] running `Command { std: "docker" "start" "-a" "fb29f9e16cd6a0e277a1c8171013712baa8f000b2a5a7f221ef8d1ea7c844d1a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `classload::ClassIdentifier` [INFO] [stdout] --> vm/src/vm/func.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use classload::ClassIdentifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &dyn Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:78 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &dyn Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &dyn Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> vm/src/vm/isn.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | p.stack.push(Object(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created` [INFO] [stdout] --> vm/src/vm/isn.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> vm/src/vm/isn.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> vm/src/vm/isn.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize` [INFO] [stdout] --> vm/src/vm/isn.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/process/heap.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut funcs = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/vm/isn.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> vm/src/obj.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VmClass { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | functions: Vec> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libtruss-vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: associated function `get_field_at` is never used [INFO] [stdout] --> vm/src/process/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_field_at(&self, index: HeapIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `flags` are never read [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VmFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub isns: Vec, [INFO] [stdout] 10 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VmFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_module`, `name` and `generic_names` are never read [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClassId { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | class_module: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | generic_names: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libtruss-bytecode v0.1.0 (/opt/rustwide/workdir/bytecode) [INFO] [stdout] warning: fields `func_module`, `class_name` and `name` are never read [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FuncId { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | func_module: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | class_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `members` and `funcs` are never read [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ClassDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Specific` and `Generic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum TypeReference { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Byte`, `Integer`, `Reference` and `Dynamic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum FieldType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `generic_binds` and `ops` are never read [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FunctionDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classload::ClassIdentifier` [INFO] [stdout] --> vm/src/vm/func.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use classload::ClassIdentifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | loader: Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_module`, `name` and `generic_names` are never read [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClassId { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | class_module: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | generic_names: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/classload.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `func_module`, `class_name` and `name` are never read [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FuncId { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | func_module: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | class_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `members` and `funcs` are never read [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ClassDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Specific` and `Generic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum TypeReference { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Byte`, `Integer`, `Reference` and `Dynamic` are never constructed [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum FieldType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `generic_binds` and `ops` are never read [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FunctionDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &dyn Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:233:78 [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &dyn Fn(i64, i64) -> i64) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> vm/src/vm/isn.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | fn helper_boolean_op(p: &mut Process, exp: &dyn Fn(bool, bool) -> bool) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> vm/src/vm/isn.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | p.stack.push(Object(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created` [INFO] [stdout] --> vm/src/vm/isn.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> vm/src/vm/isn.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> vm/src/vm/isn.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize` [INFO] [stdout] --> vm/src/vm/isn.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/process/heap.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut funcs = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/vm/isn.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> vm/src/obj.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VmClass { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | functions: Vec> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_field_at` is never used [INFO] [stdout] --> vm/src/process/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_field_at(&self, index: HeapIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `flags` are never read [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VmFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub isns: Vec, [INFO] [stdout] 10 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VmFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "fb29f9e16cd6a0e277a1c8171013712baa8f000b2a5a7f221ef8d1ea7c844d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb29f9e16cd6a0e277a1c8171013712baa8f000b2a5a7f221ef8d1ea7c844d1a", kill_on_drop: false }` [INFO] [stdout] fb29f9e16cd6a0e277a1c8171013712baa8f000b2a5a7f221ef8d1ea7c844d1a