[INFO] cloning repository https://github.com/archerfeel/azeroth-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archerfeel/azeroth-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcherfeel%2Fazeroth-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcherfeel%2Fazeroth-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30a4cbabf144cec914b5b5aa15bfa78d34da6af4 [INFO] testing archerfeel/azeroth-vm against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcherfeel%2Fazeroth-vm" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archerfeel/azeroth-vm on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archerfeel/azeroth-vm [INFO] finished tweaking git repo https://github.com/archerfeel/azeroth-vm [INFO] tweaked toml for git repo https://github.com/archerfeel/azeroth-vm written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ae1ececb211355d4e0ed6669467ce7c3e1f0583cb81d9f7cd3e5c3f8a233884 [INFO] running `Command { std: "docker" "start" "-a" "7ae1ececb211355d4e0ed6669467ce7c3e1f0583cb81d9f7cd3e5c3f8a233884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ae1ececb211355d4e0ed6669467ce7c3e1f0583cb81d9f7cd3e5c3f8a233884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae1ececb211355d4e0ed6669467ce7c3e1f0583cb81d9f7cd3e5c3f8a233884", kill_on_drop: false }` [INFO] [stdout] 7ae1ececb211355d4e0ed6669467ce7c3e1f0583cb81d9f7cd3e5c3f8a233884 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b9e0cf3a914fbdee4b51c97ad3cd1705759bc2a32e6b93ac622184850e09fe5 [INFO] running `Command { std: "docker" "start" "-a" "5b9e0cf3a914fbdee4b51c97ad3cd1705759bc2a32e6b93ac622184850e09fe5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling azeroth-jni v0.1.0 (/opt/rustwide/workdir/jni) [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling zip v0.3.3 [INFO] [stderr] Compiling azeroth-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::gc` [INFO] [stdout] --> src/mem/heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::gc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/interpreter/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klass` [INFO] [stdout] --> src/interpreter/mod.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | let (klass, initialized) = found.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_klass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 160 | let eden_ptr = jvm_heap!().base.add(eden.offset as usize); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { jvm_heap!().base.add(offset) } [INFO] [stdout] | ------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_value` [INFO] [stdout] --> src/bytecode/field.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn init_value(access_flag: u16, descriptor: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_PRIVATE` [INFO] [stdout] --> src/bytecode/method.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const ACC_PRIVATE: U2 = 0x0002; // Declared private; accessible only within the defining class. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_BRIDGE` [INFO] [stdout] --> src/bytecode/method.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const ACC_BRIDGE: U2 = 0x0040; // A bridge method, generated by the compiler. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_VARARGS` [INFO] [stdout] --> src/bytecode/method.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const ACC_VARARGS: U2 = 0x0080; // Declared with variable number of arguments. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stdout] --> src/bytecode/method.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | const ACC_ABSTRACT: U2 = 0x0400; // Declared abstract; no implementation is provided. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_STRICT` [INFO] [stdout] --> src/bytecode/method.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const ACC_STRICT: U2 = 0x0800; // Declared strictfp; floating-point mode is FPstrict. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_SYNTHETIC` [INFO] [stdout] --> src/bytecode/method.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const ACC_SYNTHETIC: U2 = 0x1000; // Declared synthetic; not present in the source code. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_array_in_region` [INFO] [stdout] --> src/mem/heap.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn allocate_array_in_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_stack_size` [INFO] [stdout] --> src/mem/stack.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | max_stack_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_subclass` [INFO] [stdout] --> src/mem/stack.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_subclass(klass: &Klass, target: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(weak_into_raw)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/thread.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!(format!("ClassNotFoundException: {}", no_class)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!("ClassNotFoundException: {}", no_class), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/mod.rs:707:25 [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 708 | | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | | instruction [INFO] [stdout] 710 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!( [INFO] [stdout] 708 | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | instruction [INFO] [stdout] 710 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.22s [INFO] running `Command { std: "docker" "inspect" "5b9e0cf3a914fbdee4b51c97ad3cd1705759bc2a32e6b93ac622184850e09fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9e0cf3a914fbdee4b51c97ad3cd1705759bc2a32e6b93ac622184850e09fe5", kill_on_drop: false }` [INFO] [stdout] 5b9e0cf3a914fbdee4b51c97ad3cd1705759bc2a32e6b93ac622184850e09fe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11485b8699c9fafc8349b5840e3cb2262a5c6e888bd80dabf16cc1d3b83fec48 [INFO] running `Command { std: "docker" "start" "-a" "11485b8699c9fafc8349b5840e3cb2262a5c6e888bd80dabf16cc1d3b83fec48", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::gc` [INFO] [stdout] --> src/mem/heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::gc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling azeroth-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/interpreter/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klass` [INFO] [stdout] --> src/interpreter/mod.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | let (klass, initialized) = found.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_klass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 160 | let eden_ptr = jvm_heap!().base.add(eden.offset as usize); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { jvm_heap!().base.add(offset) } [INFO] [stdout] | ------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_value` [INFO] [stdout] --> src/bytecode/field.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn init_value(access_flag: u16, descriptor: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_PRIVATE` [INFO] [stdout] --> src/bytecode/method.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const ACC_PRIVATE: U2 = 0x0002; // Declared private; accessible only within the defining class. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_BRIDGE` [INFO] [stdout] --> src/bytecode/method.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const ACC_BRIDGE: U2 = 0x0040; // A bridge method, generated by the compiler. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_VARARGS` [INFO] [stdout] --> src/bytecode/method.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const ACC_VARARGS: U2 = 0x0080; // Declared with variable number of arguments. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stdout] --> src/bytecode/method.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | const ACC_ABSTRACT: U2 = 0x0400; // Declared abstract; no implementation is provided. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_STRICT` [INFO] [stdout] --> src/bytecode/method.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const ACC_STRICT: U2 = 0x0800; // Declared strictfp; floating-point mode is FPstrict. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_SYNTHETIC` [INFO] [stdout] --> src/bytecode/method.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const ACC_SYNTHETIC: U2 = 0x1000; // Declared synthetic; not present in the source code. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_array_in_region` [INFO] [stdout] --> src/mem/heap.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn allocate_array_in_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_stack_size` [INFO] [stdout] --> src/mem/stack.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | max_stack_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_subclass` [INFO] [stdout] --> src/mem/stack.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_subclass(klass: &Klass, target: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(weak_into_raw)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/thread.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!(format!("ClassNotFoundException: {}", no_class)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!("ClassNotFoundException: {}", no_class), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/mod.rs:707:25 [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 708 | | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | | instruction [INFO] [stdout] 710 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!( [INFO] [stdout] 708 | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | instruction [INFO] [stdout] 710 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gc` [INFO] [stdout] --> src/mem/heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::gc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/interpreter/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klass` [INFO] [stdout] --> src/interpreter/mod.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | let (klass, initialized) = found.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_klass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 160 | let eden_ptr = jvm_heap!().base.add(eden.offset as usize); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { jvm_heap!().base.add(offset) } [INFO] [stdout] | ------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/heap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 219 | let obj0_ptr = unsafe { jvm_heap!().base.add(obj0 as usize) }; [INFO] [stdout] | ------ ----------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_value` [INFO] [stdout] --> src/bytecode/field.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn init_value(access_flag: u16, descriptor: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_PRIVATE` [INFO] [stdout] --> src/bytecode/method.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const ACC_PRIVATE: U2 = 0x0002; // Declared private; accessible only within the defining class. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_BRIDGE` [INFO] [stdout] --> src/bytecode/method.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const ACC_BRIDGE: U2 = 0x0040; // A bridge method, generated by the compiler. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_VARARGS` [INFO] [stdout] --> src/bytecode/method.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const ACC_VARARGS: U2 = 0x0080; // Declared with variable number of arguments. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stdout] --> src/bytecode/method.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | const ACC_ABSTRACT: U2 = 0x0400; // Declared abstract; no implementation is provided. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_STRICT` [INFO] [stdout] --> src/bytecode/method.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const ACC_STRICT: U2 = 0x0800; // Declared strictfp; floating-point mode is FPstrict. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_SYNTHETIC` [INFO] [stdout] --> src/bytecode/method.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const ACC_SYNTHETIC: U2 = 0x1000; // Declared synthetic; not present in the source code. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_array_in_region` [INFO] [stdout] --> src/mem/heap.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn allocate_array_in_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_stack_size` [INFO] [stdout] --> src/mem/stack.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | max_stack_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_subclass` [INFO] [stdout] --> src/mem/stack.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_subclass(klass: &Klass, target: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(weak_into_raw)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bytecode/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/thread.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!(format!("ClassNotFoundException: {}", no_class)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | Err(no_class) => panic!("ClassNotFoundException: {}", no_class), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/mod.rs:707:25 [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 708 | | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | | instruction [INFO] [stdout] 710 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 707 | _ => panic!( [INFO] [stdout] 708 | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stdout] 709 | instruction [INFO] [stdout] 710 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "11485b8699c9fafc8349b5840e3cb2262a5c6e888bd80dabf16cc1d3b83fec48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11485b8699c9fafc8349b5840e3cb2262a5c6e888bd80dabf16cc1d3b83fec48", kill_on_drop: false }` [INFO] [stdout] 11485b8699c9fafc8349b5840e3cb2262a5c6e888bd80dabf16cc1d3b83fec48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33c0a674245b4c1860cf57b0a4472a6f41ef6aad908b06793f02e44517f7900b [INFO] running `Command { std: "docker" "start" "-a" "33c0a674245b4c1860cf57b0a4472a6f41ef6aad908b06793f02e44517f7900b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::gc` [INFO] [stderr] --> src/mem/heap.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::gc; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::Thread` [INFO] [stderr] --> src/interpreter/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::thread::Thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `klass` [INFO] [stderr] --> src/interpreter/mod.rs:597:22 [INFO] [stderr] | [INFO] [stderr] 597 | let (klass, initialized) = found.unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_klass` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/heap.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 159 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 160 | let eden_ptr = jvm_heap!().base.add(eden.offset as usize); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 183 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/heap.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 170 | unsafe { jvm_heap!().base.add(offset) } [INFO] [stderr] | ------ ----------- in this macro invocation [INFO] [stderr] | | [INFO] [stderr] | because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 183 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `init_value` [INFO] [stderr] --> src/bytecode/field.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | fn init_value(access_flag: u16, descriptor: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_PRIVATE` [INFO] [stderr] --> src/bytecode/method.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const ACC_PRIVATE: U2 = 0x0002; // Declared private; accessible only within the defining class. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_BRIDGE` [INFO] [stderr] --> src/bytecode/method.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | const ACC_BRIDGE: U2 = 0x0040; // A bridge method, generated by the compiler. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_VARARGS` [INFO] [stderr] --> src/bytecode/method.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | const ACC_VARARGS: U2 = 0x0080; // Declared with variable number of arguments. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stderr] --> src/bytecode/method.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | const ACC_ABSTRACT: U2 = 0x0400; // Declared abstract; no implementation is provided. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_STRICT` [INFO] [stderr] --> src/bytecode/method.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | const ACC_STRICT: U2 = 0x0800; // Declared strictfp; floating-point mode is FPstrict. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_SYNTHETIC` [INFO] [stderr] --> src/bytecode/method.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | const ACC_SYNTHETIC: U2 = 0x1000; // Declared synthetic; not present in the source code. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `allocate_array_in_region` [INFO] [stderr] --> src/mem/heap.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 132 | fn allocate_array_in_region( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `max_stack_size` [INFO] [stderr] --> src/mem/stack.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | max_stack_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_subclass` [INFO] [stderr] --> src/mem/stack.rs:359:4 [INFO] [stderr] | [INFO] [stderr] 359 | fn is_subclass(klass: &Klass, target: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(weak_into_raw)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 58 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 97 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter/thread.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | Err(no_class) => panic!(format!("ClassNotFoundException: {}", no_class)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 56 | Err(no_class) => panic!("ClassNotFoundException: {}", no_class), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter/mod.rs:707:25 [INFO] [stderr] | [INFO] [stderr] 707 | _ => panic!(format!( [INFO] [stderr] | _________________________^ [INFO] [stderr] 708 | | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stderr] 709 | | instruction [INFO] [stderr] 710 | | )), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 707 | _ => panic!( [INFO] [stderr] 708 | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stderr] 709 | instruction [INFO] [stderr] 710 | ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 22 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::gc` [INFO] [stderr] --> src/mem/heap.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::gc; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::Thread` [INFO] [stderr] --> src/interpreter/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::thread::Thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `klass` [INFO] [stderr] --> src/interpreter/mod.rs:597:22 [INFO] [stderr] | [INFO] [stderr] 597 | let (klass, initialized) = found.unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_klass` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/heap.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 159 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 160 | let eden_ptr = jvm_heap!().base.add(eden.offset as usize); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 183 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/heap.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 170 | unsafe { jvm_heap!().base.add(offset) } [INFO] [stderr] | ------ ----------- in this macro invocation [INFO] [stderr] | | [INFO] [stderr] | because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 183 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/heap.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 219 | let obj0_ptr = unsafe { jvm_heap!().base.add(obj0 as usize) }; [INFO] [stderr] | ------ ----------- in this macro invocation [INFO] [stderr] | | [INFO] [stderr] | because it's nested under this `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `jvm_heap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `init_value` [INFO] [stderr] --> src/bytecode/field.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | fn init_value(access_flag: u16, descriptor: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_PRIVATE` [INFO] [stderr] --> src/bytecode/method.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const ACC_PRIVATE: U2 = 0x0002; // Declared private; accessible only within the defining class. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_BRIDGE` [INFO] [stderr] --> src/bytecode/method.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | const ACC_BRIDGE: U2 = 0x0040; // A bridge method, generated by the compiler. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_VARARGS` [INFO] [stderr] --> src/bytecode/method.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | const ACC_VARARGS: U2 = 0x0080; // Declared with variable number of arguments. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stderr] --> src/bytecode/method.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | const ACC_ABSTRACT: U2 = 0x0400; // Declared abstract; no implementation is provided. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_STRICT` [INFO] [stderr] --> src/bytecode/method.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | const ACC_STRICT: U2 = 0x0800; // Declared strictfp; floating-point mode is FPstrict. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACC_SYNTHETIC` [INFO] [stderr] --> src/bytecode/method.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | const ACC_SYNTHETIC: U2 = 0x1000; // Declared synthetic; not present in the source code. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `allocate_array_in_region` [INFO] [stderr] --> src/mem/heap.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 132 | fn allocate_array_in_region( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `max_stack_size` [INFO] [stderr] --> src/mem/stack.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | max_stack_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_subclass` [INFO] [stderr] --> src/mem/stack.rs:359:4 [INFO] [stderr] | [INFO] [stderr] 359 | fn is_subclass(klass: &Klass, target: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `weak_into_raw` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(weak_into_raw)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 58 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bytecode/mod.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | panic!(format!("Illegal method descriptor: {}", descriptor)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 97 | panic!("Illegal method descriptor: {}", descriptor); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter/thread.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | Err(no_class) => panic!(format!("ClassNotFoundException: {}", no_class)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 56 | Err(no_class) => panic!("ClassNotFoundException: {}", no_class), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter/mod.rs:707:25 [INFO] [stderr] | [INFO] [stderr] 707 | _ => panic!(format!( [INFO] [stderr] | _________________________^ [INFO] [stderr] 708 | | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stderr] 709 | | instruction [INFO] [stderr] 710 | | )), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 707 | _ => panic!( [INFO] [stderr] 708 | "Instruction 0x{:2x?} not implemented yet.", [INFO] [stderr] 709 | instruction [INFO] [stderr] 710 | ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/azerothvm-4c4acdf1d6001044) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test interpreter::test_shift ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/java-1ef4c75b994bc957) [INFO] [stdout] test mem::klass::test::test_layout ... ok [INFO] [stdout] test mem::klass::test::test_itable ... ok [INFO] [stdout] test mem::heap::test::test ... ok [INFO] [stdout] test bytecode::test_resolve_method ... ok [INFO] [stdout] test mem::klass::test::test_vtable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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] [stderr] Doc-tests azerothvm [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" "33c0a674245b4c1860cf57b0a4472a6f41ef6aad908b06793f02e44517f7900b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c0a674245b4c1860cf57b0a4472a6f41ef6aad908b06793f02e44517f7900b", kill_on_drop: false }` [INFO] [stdout] 33c0a674245b4c1860cf57b0a4472a6f41ef6aad908b06793f02e44517f7900b