[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] checking tino-platform/tino against master#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tino-platform/tino on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tino-platform/tino against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tino-platform/tino on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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] [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da30ddd05eace76f39cbb7383ded5d24a04b5fc75d8a7b745c78140aead187c [INFO] running `Command { std: "docker" "start" "-a" "7da30ddd05eace76f39cbb7383ded5d24a04b5fc75d8a7b745c78140aead187c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da30ddd05eace76f39cbb7383ded5d24a04b5fc75d8a7b745c78140aead187c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da30ddd05eace76f39cbb7383ded5d24a04b5fc75d8a7b745c78140aead187c", kill_on_drop: false }` [INFO] [stdout] 7da30ddd05eace76f39cbb7383ded5d24a04b5fc75d8a7b745c78140aead187c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e913fb94cc06e6487d53afb1b390fe028266c579f4d0245836cc08b6b54a2080 [INFO] running `Command { std: "docker" "start" "-a" "e913fb94cc06e6487d53afb1b390fe028266c579f4d0245836cc08b6b54a2080", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [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 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [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: 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: 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/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: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_field_at` is never used [INFO] [stdout] --> vm/src/process/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 22 | [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: 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: 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: 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/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: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_field_at` is never used [INFO] [stdout] --> vm/src/process/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 22 | [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] [stderr] Compiling capnp v0.8.11 [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: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 4.02s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e913fb94cc06e6487d53afb1b390fe028266c579f4d0245836cc08b6b54a2080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e913fb94cc06e6487d53afb1b390fe028266c579f4d0245836cc08b6b54a2080", kill_on_drop: false }` [INFO] [stdout] e913fb94cc06e6487d53afb1b390fe028266c579f4d0245836cc08b6b54a2080