[INFO] cloning repository https://github.com/kaiakz/jvmrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaiakz/jvmrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiakz%2Fjvmrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiakz%2Fjvmrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e2f03500cdeb71af11bf1b0ee5743c2f0ec1d18 [INFO] building kaiakz/jvmrs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiakz%2Fjvmrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaiakz/jvmrs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaiakz/jvmrs [INFO] finished tweaking git repo https://github.com/kaiakz/jvmrs [INFO] tweaked toml for git repo https://github.com/kaiakz/jvmrs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaiakz/jvmrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44368c6465b60ad52c0844801f804998a4edf9d0445fd0756f3967b938c11603 [INFO] running `Command { std: "docker" "start" "-a" "44368c6465b60ad52c0844801f804998a4edf9d0445fd0756f3967b938c11603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44368c6465b60ad52c0844801f804998a4edf9d0445fd0756f3967b938c11603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44368c6465b60ad52c0844801f804998a4edf9d0445fd0756f3967b938c11603", kill_on_drop: false }` [INFO] [stdout] 44368c6465b60ad52c0844801f804998a4edf9d0445fd0756f3967b938c11603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d64a8b1248be87153eed4154d822cee11b8b3da830af4408d0c00d600a545aaf [INFO] running `Command { std: "docker" "start" "-a" "d64a8b1248be87153eed4154d822cee11b8b3da830af4408d0c00d600a545aaf", kill_on_drop: false }` [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stderr] Compiling jvmrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::bytes::ByteStream` [INFO] [stdout] --> src/classpath.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::bytes::ByteStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::Slot` [INFO] [stdout] --> src/instructions/stack/dup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mem::Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::Slot` [INFO] [stdout] --> src/instructions/stack/swap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mem::Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::bytes` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/constants/xconst.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/constants/nop.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/instructions/constants/nop.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn excute(&self, frame: &mut Frame) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/dup.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/swap.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/pop.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/bools.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/bools.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cf` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let cf = classfile::ClassFile::load(b); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/cmd.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmd() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/classfile/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | // magic : u32, [INFO] [stdout] 12 | minor_version : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | majar_version : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | constant_pool : cp::ConstantPool, //use vector to store constantinfo and its len() to represent constantpool_count [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | access_flags : u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | this_class : u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | super_class : u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | interfaces : interface::Interface, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | fields : member::Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | methods : member::Member, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | attributes : attribute::Attribute, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Integer {val:i32}, [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | Float {val:f32}, [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | Long {val:i64}, [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Double {val:f64}, [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Class {name_index:u16}, [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `utf8_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | String {utf8_index:u16}, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | Fieldref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | -------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | Methodref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | --------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | InterfaceMethodref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | ------------------ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `descriptor_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | NameAndType {name_index:u16, descriptor_index:u16}, [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_kind` and `reference_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | MethodHandle {reference_kind:u8, reference_index:u16}, [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descriptor_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | MethodType {descriptor_index:u16}, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | InvokeDynamic {bootstrap_method_attr_index:u16, name_and_type_index:u16}, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/classfile/attribute.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Attribute { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | info : Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_stack`, `max_locals`, `code`, `exception_table`, and `attribute_info` are never read [INFO] [stdout] --> src/classfile/attribute.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | Code { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 22 | max_stack:u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | max_locals:u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | //code_length [INFO] [stdout] 25 | code:Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | //exception_table_length [INFO] [stdout] 27 | exception_table: ExceptionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | //attribute_count [INFO] [stdout] 29 | attribute_info: Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constantvalue_index` is never read [INFO] [stdout] --> src/classfile/attribute.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | ConstantValue {constantvalue_index:u16}, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_index_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | Exceptions { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 37 | //number_of_exceptions: u16 [INFO] [stdout] 38 | exception_index_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_number_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | LineNumberTable { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 42 | line_number_table: LineNumberTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_variable_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | LocalVaribleTable { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 46 | local_variable_table: LocalVariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sourfile_index` is never read [INFO] [stdout] --> src/classfile/attribute.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | SourceFile {sourfile_index:u16}, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `info` are never read [INFO] [stdout] --> src/classfile/attribute.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | _Unparsed {name:String, info:Bytes}, [INFO] [stdout] | --------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | struct ExceptionTable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 162 | exception_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/classfile/attribute.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct ExcetionTableEntry { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 166 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 168 | handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 169 | catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_number_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | struct LineNumberTable { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 192 | line_number_table: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> src/classfile/attribute.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct LineNumberTableEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 196 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_variable_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct LocalVariableTable { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 217 | local_variable_table: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name_index`, `descriptor_index`, and `index` are never read [INFO] [stdout] --> src/classfile/attribute.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct LocalVariableTableEntry { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 221 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 222 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 223 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 224 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 225 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> src/classfile/member.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_flags`, `name_index`, `descriptor_index`, and `attribute` are never read [INFO] [stdout] --> src/classfile/member.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | access_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | attribute: Attribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interfaces` is never read [INFO] [stdout] --> src/classfile/interface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Interface { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | interfaces : Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/mem/thread.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_stack` and `frames` are never read [INFO] [stdout] --> src/mem/thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Stack { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | max_stack: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_local_variables` is never read [INFO] [stdout] --> src/mem/frame.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | max_local_variables: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.36s [INFO] running `Command { std: "docker" "inspect" "d64a8b1248be87153eed4154d822cee11b8b3da830af4408d0c00d600a545aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64a8b1248be87153eed4154d822cee11b8b3da830af4408d0c00d600a545aaf", kill_on_drop: false }` [INFO] [stdout] d64a8b1248be87153eed4154d822cee11b8b3da830af4408d0c00d600a545aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20f10a27baca642c6fbde19faa7cc2fd0933af8e0acdbdf1f1747bdfc3927544 [INFO] running `Command { std: "docker" "start" "-a" "20f10a27baca642c6fbde19faa7cc2fd0933af8e0acdbdf1f1747bdfc3927544", kill_on_drop: false }` [INFO] [stderr] Compiling jvmrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::bytes::ByteStream` [INFO] [stdout] --> src/classpath.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::bytes::ByteStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::Slot` [INFO] [stdout] --> src/instructions/stack/dup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mem::Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mem::Slot` [INFO] [stdout] --> src/instructions/stack/swap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mem::Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::bytes` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/constants/xconst.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/constants/nop.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/instructions/constants/nop.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn excute(&self, frame: &mut Frame) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/dup.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/swap.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/stack/pop.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xadd.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xsub.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xmul.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xdiv.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xrem.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/xneg.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/sh.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/bools.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/math/bools.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/i2x.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/l2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/f2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/instructions/conversions/d2x.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn fetch_operands(&mut self, reader: &mut ByteCode) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cf` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let cf = classfile::ClassFile::load(b); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/cmd.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmd() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/classfile/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | // magic : u32, [INFO] [stdout] 12 | minor_version : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | majar_version : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | constant_pool : cp::ConstantPool, //use vector to store constantinfo and its len() to represent constantpool_count [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | access_flags : u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | this_class : u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | super_class : u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | interfaces : interface::Interface, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | fields : member::Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | methods : member::Member, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | attributes : attribute::Attribute, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Integer {val:i32}, [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | Float {val:f32}, [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | Long {val:i64}, [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> src/classfile/cp.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Double {val:f64}, [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Class {name_index:u16}, [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `utf8_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | String {utf8_index:u16}, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | Fieldref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | -------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | Methodref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | --------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | InterfaceMethodref {class_index:u16, name_and_type_index:u16}, [INFO] [stdout] | ------------------ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `descriptor_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | NameAndType {name_index:u16, descriptor_index:u16}, [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_kind` and `reference_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | MethodHandle {reference_kind:u8, reference_index:u16}, [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descriptor_index` is never read [INFO] [stdout] --> src/classfile/cp.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | MethodType {descriptor_index:u16}, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/classfile/cp.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | InvokeDynamic {bootstrap_method_attr_index:u16, name_and_type_index:u16}, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/classfile/attribute.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Attribute { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | info : Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_stack`, `max_locals`, `code`, `exception_table`, and `attribute_info` are never read [INFO] [stdout] --> src/classfile/attribute.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | Code { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 22 | max_stack:u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | max_locals:u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | //code_length [INFO] [stdout] 25 | code:Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | //exception_table_length [INFO] [stdout] 27 | exception_table: ExceptionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | //attribute_count [INFO] [stdout] 29 | attribute_info: Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constantvalue_index` is never read [INFO] [stdout] --> src/classfile/attribute.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | ConstantValue {constantvalue_index:u16}, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_index_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | Exceptions { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 37 | //number_of_exceptions: u16 [INFO] [stdout] 38 | exception_index_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_number_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | LineNumberTable { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 42 | line_number_table: LineNumberTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_variable_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | LocalVaribleTable { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 46 | local_variable_table: LocalVariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sourfile_index` is never read [INFO] [stdout] --> src/classfile/attribute.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | SourceFile {sourfile_index:u16}, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `info` are never read [INFO] [stdout] --> src/classfile/attribute.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | _Unparsed {name:String, info:Bytes}, [INFO] [stdout] | --------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | struct ExceptionTable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 162 | exception_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/classfile/attribute.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct ExcetionTableEntry { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 166 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 168 | handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 169 | catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_number_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | struct LineNumberTable { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 192 | line_number_table: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> src/classfile/attribute.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct LineNumberTableEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 196 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_variable_table` is never read [INFO] [stdout] --> src/classfile/attribute.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct LocalVariableTable { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 217 | local_variable_table: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name_index`, `descriptor_index`, and `index` are never read [INFO] [stdout] --> src/classfile/attribute.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct LocalVariableTableEntry { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 221 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 222 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 223 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 224 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 225 | index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> src/classfile/member.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_flags`, `name_index`, `descriptor_index`, and `attribute` are never read [INFO] [stdout] --> src/classfile/member.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | access_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | attribute: Attribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interfaces` is never read [INFO] [stdout] --> src/classfile/interface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Interface { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | interfaces : Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/mem/thread.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_stack` and `frames` are never read [INFO] [stdout] --> src/mem/thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Stack { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | max_stack: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_local_variables` is never read [INFO] [stdout] --> src/mem/frame.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | max_local_variables: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "20f10a27baca642c6fbde19faa7cc2fd0933af8e0acdbdf1f1747bdfc3927544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f10a27baca642c6fbde19faa7cc2fd0933af8e0acdbdf1f1747bdfc3927544", kill_on_drop: false }` [INFO] [stdout] 20f10a27baca642c6fbde19faa7cc2fd0933af8e0acdbdf1f1747bdfc3927544