[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] testing tino-platform/tino against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftino-platform%2Ftino" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tino-platform/tino on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f35deebcfb56246cc0dac01d538db67fae189e923954e1d0ba436fef1ec1b153 [INFO] running `Command { std: "docker" "start" "-a" "f35deebcfb56246cc0dac01d538db67fae189e923954e1d0ba436fef1ec1b153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f35deebcfb56246cc0dac01d538db67fae189e923954e1d0ba436fef1ec1b153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35deebcfb56246cc0dac01d538db67fae189e923954e1d0ba436fef1ec1b153", kill_on_drop: false }` [INFO] [stdout] f35deebcfb56246cc0dac01d538db67fae189e923954e1d0ba436fef1ec1b153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79ccd1cde6d5c4bdfa835302fa391a254a33b7e97eeb81355d445f8d9665c723 [INFO] running `Command { std: "docker" "start" "-a" "79ccd1cde6d5c4bdfa835302fa391a254a33b7e97eeb81355d445f8d9665c723", 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] 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] 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: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(bool, bool) -> bool) -> Result { [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 is never read: `functions` [INFO] [stdout] --> vm/src/obj.rs:42:5 [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] --> vm/src/obj.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field_at` [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: field is never read: `name` [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> vm/src/vm/func.rs:10:5 [INFO] [stdout] | [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling capnp v0.8.11 [INFO] [stdout] warning: 17 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: field is never read: `class_module` [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | class_module: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_names` [INFO] [stdout] --> bytecode/src/model.rs:8:5 [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func_module` [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | func_module: 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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class_name` [INFO] [stdout] --> bytecode/src/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | class_name: Option, [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:15:5 [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `members` [INFO] [stdout] --> bytecode/src/model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `funcs` [INFO] [stdout] --> bytecode/src/model.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Specific` [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> bytecode/src/model.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> bytecode/src/model.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reference` [INFO] [stdout] --> bytecode/src/model.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dynamic` [INFO] [stdout] --> bytecode/src/model.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_binds` [INFO] [stdout] --> bytecode/src/model.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ops` [INFO] [stdout] --> bytecode/src/model.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "79ccd1cde6d5c4bdfa835302fa391a254a33b7e97eeb81355d445f8d9665c723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ccd1cde6d5c4bdfa835302fa391a254a33b7e97eeb81355d445f8d9665c723", kill_on_drop: false }` [INFO] [stdout] 79ccd1cde6d5c4bdfa835302fa391a254a33b7e97eeb81355d445f8d9665c723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 77327f35ecaa7d3decfef2a160b55c69fea78c9a1a0edf9de8b2b2e7a1ef0a2f [INFO] running `Command { std: "docker" "start" "-a" "77327f35ecaa7d3decfef2a160b55c69fea78c9a1a0edf9de8b2b2e7a1ef0a2f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 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] 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: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(bool, bool) -> bool) -> Result { [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] [stderr] Compiling libtruss-vm v0.1.0 (/opt/rustwide/workdir/vm) [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 is never read: `functions` [INFO] [stdout] --> vm/src/obj.rs:42:5 [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] --> vm/src/obj.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field_at` [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: field is never read: `name` [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> vm/src/vm/func.rs:10:5 [INFO] [stdout] | [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class_module` [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | class_module: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libtruss-bytecode v0.1.0 (/opt/rustwide/workdir/bytecode) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_names` [INFO] [stdout] --> bytecode/src/model.rs:8:5 [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func_module` [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | func_module: 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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class_name` [INFO] [stdout] --> bytecode/src/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | class_name: Option, [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:15:5 [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `members` [INFO] [stdout] --> bytecode/src/model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `funcs` [INFO] [stdout] --> bytecode/src/model.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Specific` [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> bytecode/src/model.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> bytecode/src/model.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reference` [INFO] [stdout] --> bytecode/src/model.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dynamic` [INFO] [stdout] --> bytecode/src/model.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_binds` [INFO] [stdout] --> bytecode/src/model.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ops` [INFO] [stdout] --> bytecode/src/model.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class_module` [INFO] [stdout] --> bytecode/src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | class_module: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_names` [INFO] [stdout] --> bytecode/src/model.rs:8:5 [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] --> bytecode/src/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func_module` [INFO] [stdout] --> bytecode/src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | func_module: 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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class_name` [INFO] [stdout] --> bytecode/src/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | class_name: Option, [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> bytecode/src/model.rs:15:5 [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] --> bytecode/src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: ClassId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `members` [INFO] [stdout] --> bytecode/src/model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | members: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `funcs` [INFO] [stdout] --> bytecode/src/model.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | funcs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Specific` [INFO] [stdout] --> bytecode/src/model.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Specific(ClassId, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> bytecode/src/model.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Generic(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> bytecode/src/model.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> bytecode/src/model.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reference` [INFO] [stdout] --> bytecode/src/model.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Reference(TypeReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dynamic` [INFO] [stdout] --> bytecode/src/model.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Dynamic(Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> bytecode/src/model.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | id: FuncId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `generic_binds` [INFO] [stdout] --> bytecode/src/model.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | generic_binds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ops` [INFO] [stdout] --> bytecode/src/model.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] 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] 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: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(i64, i64) -> i64) -> Result { [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: &Fn(bool, bool) -> bool) -> Result { [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 is never read: `functions` [INFO] [stdout] --> vm/src/obj.rs:42:5 [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] --> vm/src/obj.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field_at` [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: field is never read: `name` [INFO] [stdout] --> vm/src/vm/func.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> vm/src/vm/func.rs:10:5 [INFO] [stdout] | [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] --> vm/src/vm/func.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "77327f35ecaa7d3decfef2a160b55c69fea78c9a1a0edf9de8b2b2e7a1ef0a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77327f35ecaa7d3decfef2a160b55c69fea78c9a1a0edf9de8b2b2e7a1ef0a2f", kill_on_drop: false }` [INFO] [stdout] 77327f35ecaa7d3decfef2a160b55c69fea78c9a1a0edf9de8b2b2e7a1ef0a2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4b07a894e0bf611e532fd4cf0d5efb7222aba5321fde8de72349ead71d58b167 [INFO] running `Command { std: "docker" "start" "-a" "4b07a894e0bf611e532fd4cf0d5efb7222aba5321fde8de72349ead71d58b167", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `classload::ClassIdentifier` [INFO] [stderr] --> vm/src/vm/func.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use classload::ClassIdentifier; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> vm/src/classload.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | loader: Arc> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - loader: Arc> [INFO] [stderr] 26 + loader: Arc> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> vm/src/classload.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new(src: Arc>) -> ClassPool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - pub fn new(src: Arc>) -> ClassPool { [INFO] [stderr] 31 + pub fn new(src: Arc>) -> ClassPool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> vm/src/vm/isn.rs:233:50 [INFO] [stderr] | [INFO] [stderr] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 233 - fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] 233 + fn helper_intbyte_op(p: &mut Process, byte_exp: &dyn Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> vm/src/vm/isn.rs:233:78 [INFO] [stderr] | [INFO] [stderr] 233 | fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 233 - fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] 233 + fn helper_intbyte_op(p: &mut Process, byte_exp: &Fn(u8, u8) -> u8, int_exp: &dyn Fn(i64, i64) -> i64) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> vm/src/vm/isn.rs:280:45 [INFO] [stderr] | [INFO] [stderr] 280 | fn helper_boolean_op(p: &mut Process, exp: &Fn(bool, bool) -> bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 280 - fn helper_boolean_op(p: &mut Process, exp: &Fn(bool, bool) -> bool) -> Result { [INFO] [stderr] 280 + fn helper_boolean_op(p: &mut Process, exp: &dyn Fn(bool, bool) -> bool) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> vm/src/vm/isn.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] 91 | [INFO] [stderr] 92 | p.stack.push(Object(idx)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `created` [INFO] [stderr] --> vm/src/vm/isn.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> vm/src/vm/isn.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | let idx = unimplemented!(); // TODO Add the object to the heap and get a reference. [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `class` [INFO] [stderr] --> vm/src/vm/isn.rs:180:45 [INFO] [stderr] | [INFO] [stderr] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `usize` [INFO] [stderr] --> vm/src/vm/isn.rs:180:52 [INFO] [stderr] | [INFO] [stderr] 180 | &Instruction::InvokeVirtual(ref class, usize) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> vm/src/process/heap.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | let mut funcs = vec![]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> vm/src/vm/isn.rs:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | let mut created = HeapObject::new(class.clone()); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `functions` [INFO] [stderr] --> vm/src/obj.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | functions: Vec> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `VmClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> vm/src/obj.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_field_at` [INFO] [stderr] --> vm/src/process/mod.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_field_at(&self, index: HeapIndex) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> vm/src/vm/func.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VmFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> vm/src/vm/func.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flags` [INFO] [stderr] --> vm/src/vm/func.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | flags: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VmFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> vm/src/vm/func.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libtruss-vm` (lib) generated 17 warnings [INFO] [stderr] warning: `libtruss-vm` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: field is never read: `class_module` [INFO] [stderr] --> bytecode/src/model.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | class_module: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> bytecode/src/model.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `generic_names` [INFO] [stderr] --> bytecode/src/model.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | generic_names: Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ClassId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `func_module` [INFO] [stderr] --> bytecode/src/model.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | func_module: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `class_name` [INFO] [stderr] --> bytecode/src/model.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | class_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> bytecode/src/model.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | name: String [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FuncId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> bytecode/src/model.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> bytecode/src/model.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | id: ClassId, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `members` [INFO] [stderr] --> bytecode/src/model.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | members: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `funcs` [INFO] [stderr] --> bytecode/src/model.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | funcs: Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Specific` [INFO] [stderr] --> bytecode/src/model.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Specific(ClassId, Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Generic` [INFO] [stderr] --> bytecode/src/model.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Generic(String) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Byte` [INFO] [stderr] --> bytecode/src/model.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Byte, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> bytecode/src/model.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Integer, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Reference` [INFO] [stderr] --> bytecode/src/model.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Reference(TypeReference), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dynamic` [INFO] [stderr] --> bytecode/src/model.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | Dynamic(Option) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> bytecode/src/model.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | id: FuncId, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `generic_binds` [INFO] [stderr] --> bytecode/src/model.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | generic_binds: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ops` [INFO] [stderr] --> bytecode/src/model.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | ops: Vec // TODO Figure out how these work. [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libtruss-bytecode` (lib) generated 18 warnings [INFO] [stderr] warning: `libtruss-bytecode` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libtruss_bytecode-f7b48f29e8797e10) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libtruss_vm-ced3712dcc639479) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libtruss-bytecode [INFO] [stderr] Doc-tests libtruss-vm [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b07a894e0bf611e532fd4cf0d5efb7222aba5321fde8de72349ead71d58b167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b07a894e0bf611e532fd4cf0d5efb7222aba5321fde8de72349ead71d58b167", kill_on_drop: false }` [INFO] [stdout] 4b07a894e0bf611e532fd4cf0d5efb7222aba5321fde8de72349ead71d58b167