[INFO] cloning repository https://github.com/jgallag88/nu_jvmdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgallag88/nu_jvmdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallag88%2Fnu_jvmdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallag88%2Fnu_jvmdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fdbd04ce8571d5b3e2c549ba4f334a617eeef28 [INFO] checking jgallag88/nu_jvmdb against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallag88%2Fnu_jvmdb" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgallag88/nu_jvmdb on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jgallag88/nu_jvmdb [INFO] finished tweaking git repo https://github.com/jgallag88/nu_jvmdb [INFO] tweaked toml for git repo https://github.com/jgallag88/nu_jvmdb written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jgallag88/nu_jvmdb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 tokio-macros v0.3.1 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded mio v0.7.5 [INFO] [stderr] Downloaded socket2 v0.3.16 [INFO] [stderr] Downloaded tokio v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7bf678275c86acdef1a0ef9e535be375e584cb760b968cae5b0f6f4f1843a9e [INFO] running `Command { std: "docker" "start" "-a" "e7bf678275c86acdef1a0ef9e535be375e584cb760b968cae5b0f6f4f1843a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7bf678275c86acdef1a0ef9e535be375e584cb760b968cae5b0f6f4f1843a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7bf678275c86acdef1a0ef9e535be375e584cb760b968cae5b0f6f4f1843a9e", kill_on_drop: false }` [INFO] [stdout] e7bf678275c86acdef1a0ef9e535be375e584cb760b968cae5b0f6f4f1843a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97279366bea03d2dd65dffc803d5324e330547ddc2298a77b5e208a8547d320c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "97279366bea03d2dd65dffc803d5324e330547ddc2298a77b5e208a8547d320c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.80: align [INFO] [stderr] tokio v0.3.3: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Checking nu_jvmdb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `nu_jvmdb` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/jdwp.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `reader` in this scope [INFO] [stderr] --> src/jdwp.rs:247:65 [INFO] [stderr] | [INFO] [stderr] 247 | $resp_val: Deserialize::deserialize(reader)?, [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `_reader` [INFO] [stderr] ... [INFO] [stderr] 290 | / command_set! { [INFO] [stderr] 291 | | set_name: virtual_machine; [INFO] [stderr] 292 | | set_id: 1; [INFO] [stderr] 293 | | command { [INFO] [stderr] ... | [INFO] [stderr] 374 | | } [INFO] [stderr] 375 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `reader` in this scope [INFO] [stderr] --> src/jdwp.rs:247:65 [INFO] [stderr] | [INFO] [stderr] 247 | $resp_val: Deserialize::deserialize(reader)?, [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `_reader` [INFO] [stderr] ... [INFO] [stderr] 377 | / command_set! { [INFO] [stderr] 378 | | set_name: reference_type; [INFO] [stderr] 379 | | set_id: 2; [INFO] [stderr] 380 | | command { [INFO] [stderr] ... | [INFO] [stderr] 405 | | } [INFO] [stderr] 406 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `reader` in this scope [INFO] [stderr] --> src/jdwp.rs:247:65 [INFO] [stderr] | [INFO] [stderr] 247 | $resp_val: Deserialize::deserialize(reader)?, [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `_reader` [INFO] [stderr] ... [INFO] [stderr] 408 | / command_set! { [INFO] [stderr] 409 | | set_name: thread_reference; [INFO] [stderr] 410 | | set_id: 11; [INFO] [stderr] 411 | | command { [INFO] [stderr] ... | [INFO] [stderr] 442 | | } [INFO] [stderr] 443 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Location` in this scope [INFO] [stderr] --> src/jdwp.rs:435:23 [INFO] [stderr] | [INFO] [stderr] 435 | location: Location [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: consider importing one of these items: [INFO] [stderr] core::panic::Location [INFO] [stderr] crate::jdwp::Location [INFO] [stderr] std::panic::Location [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/jdwp.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/jdwp.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (error_code != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/jdwp.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/jdwp.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (error_code != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | / command_set! { [INFO] [stdout] 409 | | set_name: thread_reference; [INFO] [stdout] 410 | | set_id: 11; [INFO] [stdout] 411 | | command { [INFO] [stdout] ... | [INFO] [stdout] 442 | | } [INFO] [stdout] 443 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | / command_set! { [INFO] [stdout] 409 | | set_name: thread_reference; [INFO] [stdout] 410 | | set_id: 11; [INFO] [stdout] 411 | | command { [INFO] [stdout] ... | [INFO] [stdout] 442 | | } [INFO] [stdout] 443 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jdwp::Location` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jdwp::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jdwp::Location` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jdwp::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/jdwp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = stream.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/jdwp.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let flags = stream.read_u8()?; // TODO check response flag [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/jdwp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = stream.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/jdwp.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let flags = stream.read_u8()?; // TODO check response flag [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/jdwp.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | fn deserialize(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/jdwp.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | fn deserialize(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut stream = &mut *self.stream.borrow_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut stream = &mut *self.stream.borrow_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let mut buf = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let mut buf = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `classes_by_signature` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `classes_by_signature` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `all_classes` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exit` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `all_classes` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exit` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jdwp.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writer.write_all(utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jdwp.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writer.write_all(utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.47s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking nu_jvmdb v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/jdwp.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/jdwp.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (error_code != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/jdwp.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/jdwp.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (error_code != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | / command_set! { [INFO] [stdout] 409 | | set_name: thread_reference; [INFO] [stdout] 410 | | set_id: 11; [INFO] [stdout] 411 | | command { [INFO] [stdout] ... | [INFO] [stdout] 442 | | } [INFO] [stdout] 443 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jdwp::Location` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jdwp::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/jdwp.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | use super::{Deserialize, JdwpConnection, Serialize, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | / command_set! { [INFO] [stdout] 378 | | set_name: reference_type; [INFO] [stdout] 379 | | set_id: 2; [INFO] [stdout] 380 | | command { [INFO] [stdout] ... | [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/jdwp.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | / command_set! { [INFO] [stdout] 409 | | set_name: thread_reference; [INFO] [stdout] 410 | | set_id: 11; [INFO] [stdout] 411 | | command { [INFO] [stdout] ... | [INFO] [stdout] 442 | | } [INFO] [stdout] 443 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jdwp::Location` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jdwp::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/jdwp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = stream.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/jdwp.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let flags = stream.read_u8()?; // TODO check response flag [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/jdwp.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | fn deserialize(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/jdwp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = stream.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/jdwp.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let flags = stream.read_u8()?; // TODO check response flag [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/jdwp.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | fn deserialize(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut stream = &mut *self.stream.borrow_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut stream = &mut *self.stream.borrow_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let mut buf = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jdwp.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let mut buf = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `classes_by_signature` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `all_classes` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exit` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `classes_by_signature` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `all_classes` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exit` [INFO] [stdout] --> src/jdwp.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn $cmd(conn: &JdwpConnection $(, $arg: $arg_ty )* ) -> Result<$resp_name> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | / command_set! { [INFO] [stdout] 291 | | set_name: virtual_machine; [INFO] [stdout] 292 | | set_id: 1; [INFO] [stdout] 293 | | command { [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jdwp.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writer.write_all(utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jdwp.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writer.write_all(utf8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "97279366bea03d2dd65dffc803d5324e330547ddc2298a77b5e208a8547d320c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97279366bea03d2dd65dffc803d5324e330547ddc2298a77b5e208a8547d320c", kill_on_drop: false }` [INFO] [stdout] 97279366bea03d2dd65dffc803d5324e330547ddc2298a77b5e208a8547d320c