[INFO] updating cached repository https://github.com/qiaojinxia/gwvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/qiaojinxia/gwvm [INFO] [stderr] 53af3c9..2adf5f4 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2adf5f45c87362c7884c560cb21f877cc841c00c [INFO] checking qiaojinxia/gwvm against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2Fgwvm" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qiaojinxia/gwvm on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qiaojinxia/gwvm [INFO] finished tweaking git repo https://github.com/qiaojinxia/gwvm [INFO] tweaked toml for git repo https://github.com/qiaojinxia/gwvm written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/qiaojinxia/gwvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c36ec82b23bd62fadd65511e3d61a05fa7cc46e71af33475b1bbeed1a6c477f7 [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" "c36ec82b23bd62fadd65511e3d61a05fa7cc46e71af33475b1bbeed1a6c477f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c36ec82b23bd62fadd65511e3d61a05fa7cc46e71af33475b1bbeed1a6c477f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36ec82b23bd62fadd65511e3d61a05fa7cc46e71af33475b1bbeed1a6c477f7", kill_on_drop: false }` [INFO] [stdout] c36ec82b23bd62fadd65511e3d61a05fa7cc46e71af33475b1bbeed1a6c477f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2105e363ae3f9934a631d2b0b920f88eb8211d8cd9ebf6befdf84a1b2ac1c098 [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" "2105e363ae3f9934a631d2b0b920f88eb8211d8cd9ebf6befdf84a1b2ac1c098", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.5 [INFO] [stderr] Checking gwvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Exceptions`, `LocalVaribleTable` [INFO] [stdout] --> src/classpath/class_reader.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classpath::classfile_attribute::Attribute::{Exceptions, LocalVaribleTable}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/classpath/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | 0...63 => StackMapFrameBody::SameFrame, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | 64...127 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | 248...250 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | 252...254 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/classpath/classfile.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::classpath::classfile_attribute::{Attribute, AttributeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::classfile::Constant` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::classfile::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Error, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_value_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | const_value_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConstValueIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `enum_const_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | enum_const_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `class_info_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | class_info_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassInfoIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `annotation_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | annotation_value(Annotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AnnotationValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `array_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | array_value { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrayValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::vmcode::Inst::Code` [INFO] [stdout] --> src/classpath/vmcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::vmcode::Inst::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Exceptions`, `LocalVaribleTable` [INFO] [stdout] --> src/classpath/class_reader.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classpath::classfile_attribute::Attribute::{Exceptions, LocalVaribleTable}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/classpath/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | 0...63 => StackMapFrameBody::SameFrame, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | 64...127 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | 248...250 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | 252...254 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/classpath/classfile.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::classpath::classfile_attribute::{Attribute, AttributeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::classfile::Constant` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::classfile::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Error, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_value_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | const_value_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConstValueIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `enum_const_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | enum_const_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `class_info_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | class_info_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassInfoIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `annotation_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | annotation_value(Annotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AnnotationValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `array_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | array_value { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrayValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::vmcode::Inst::Code` [INFO] [stdout] --> src/classpath/vmcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::vmcode::Inst::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/classpath/classfile.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | for (i, v) in methodinfo.attribute_info.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut res = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/class_reader.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut attribute = self.read_attribute_info(constant_pool.as_ref())?; [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/classpath/class_reader.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut buf = &self.classreader[self.index..self.index + 4]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/classpath/classfile.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | for (i, v) in methodinfo.attribute_info.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut res = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/class_reader.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut buf = &self.classreader[self.index]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/class_reader.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut attribute = self.read_attribute_info(constant_pool.as_ref())?; [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/classpath/class_reader.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut buf = &self.classreader[self.index..self.index + 4]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/class_reader.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut buf = &self.classreader[self.index]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/classfile_attribute.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut res = String::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/classfile_attribute.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut res = String::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/classfile_attribute.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut output = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_method_parameters_attribute` [INFO] [stdout] --> src/classpath/class_reader.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 581 | fn read_method_parameters_attribute(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classpath/classfile.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/classpath/classfile.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/classpath/classfile.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn value(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_type` [INFO] [stdout] --> src/classpath/classfile.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn parse_type(&self) -> ConstantType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_tag` [INFO] [stdout] --> src/classpath/classfile_access.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse_tag(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnclosingMethod` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / EnclosingMethod { [INFO] [stdout] 68 | | class_index: u16, [INFO] [stdout] 69 | | method_index: u16, [INFO] [stdout] 70 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Synthetic` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Synthetic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MethodParameter` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / MethodParameter { [INFO] [stdout] 77 | | parameters_count: u8, [INFO] [stdout] 78 | | parameters: Vec, [INFO] [stdout] 79 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Null` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UninitializedThis` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | UninitializedThis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Uninitialized` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | Uninitialized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `buffered_io_capacity` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(buffered_io_capacity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(str_strip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classpath/classfile_attribute.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut output = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CodeAttribute` should have a snake case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | Attribute::Code(CodeAttribute) => print!("{}", CodeAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `code_attribute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_method_parameters_attribute` [INFO] [stdout] --> src/classpath/class_reader.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 581 | fn read_method_parameters_attribute(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classpath/classfile.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/classpath/classfile.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/classpath/classfile.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn value(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_type` [INFO] [stdout] --> src/classpath/classfile.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn parse_type(&self) -> ConstantType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_tag` [INFO] [stdout] --> src/classpath/classfile_access.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse_tag(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnclosingMethod` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / EnclosingMethod { [INFO] [stdout] 68 | | class_index: u16, [INFO] [stdout] 69 | | method_index: u16, [INFO] [stdout] 70 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Synthetic` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Synthetic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MethodParameter` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / MethodParameter { [INFO] [stdout] 77 | | parameters_count: u8, [INFO] [stdout] 78 | | parameters: Vec, [INFO] [stdout] 79 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Null` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UninitializedThis` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | UninitializedThis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Uninitialized` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | Uninitialized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `buffered_io_capacity` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(buffered_io_capacity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(str_strip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CodeAttribute` should have a snake case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | Attribute::Code(CodeAttribute) => print!("{}", CodeAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `code_attribute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.14s [INFO] running `Command { std: "docker" "inspect" "2105e363ae3f9934a631d2b0b920f88eb8211d8cd9ebf6befdf84a1b2ac1c098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2105e363ae3f9934a631d2b0b920f88eb8211d8cd9ebf6befdf84a1b2ac1c098", kill_on_drop: false }` [INFO] [stdout] 2105e363ae3f9934a631d2b0b920f88eb8211d8cd9ebf6befdf84a1b2ac1c098