[INFO] cloning repository https://github.com/maxmcc/rust-jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxmcc/rust-jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af1ddffa6f04ef7deaf1f36f9acf3599a690ff87 [INFO] testing maxmcc/rust-jvm against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maxmcc/rust-jvm [INFO] finished tweaking git repo https://github.com/maxmcc/rust-jvm [INFO] tweaked toml for git repo https://github.com/maxmcc/rust-jvm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxmcc/rust-jvm on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maxmcc/rust-jvm 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded nom v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb83f8700b3a8ec4af8756b06bbd64080a9eaab2062b07458351881e2bb13550 [INFO] running `Command { std: "docker" "start" "-a" "cb83f8700b3a8ec4af8756b06bbd64080a9eaab2062b07458351881e2bb13550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb83f8700b3a8ec4af8756b06bbd64080a9eaab2062b07458351881e2bb13550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb83f8700b3a8ec4af8756b06bbd64080a9eaab2062b07458351881e2bb13550", kill_on_drop: false }` [INFO] [stdout] cb83f8700b3a8ec4af8756b06bbd64080a9eaab2062b07458351881e2bb13550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 828bf5eb9d44fae39b5f75f4ef0aeaf74c971d6b2d621e40644c8a6936b8f013 [INFO] running `Command { std: "docker" "start" "-a" "828bf5eb9d44fae39b5f75f4ef0aeaf74c971d6b2d621e40644c8a6936b8f013", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nom v1.2.2 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling rust-jvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | 0...63 => Tag::SameFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 64...127 => Tag::SameLocals1StackItemFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 248...250 => Tag::ChopFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 252...254 => Tag::AppendFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | 128...246 => Tag::Reserved(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/class_file.rs:1005:1 [INFO] [stdout] | [INFO] [stdout] 1005 | /// `parser::class_file::parse_class_file(&[u8]) -> ParseResult)` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | try!(check_cp_index_tag!(constant_pool, i as usize, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(check_cp_index_tag!(constant_pool, i as usize, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | try!(check_cp_index_tag!(constant_pool, i as usize, constant_pool::Tag::Class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let super_symref = try!(Self::get_class_ref(rcp, class_file.super_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let parsed_class = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let this_symref = try!(Self::get_class_ref(&rcp, parsed_class.this_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let super_class = try!(self.derive_super_class(&rcp, &parsed_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.resolve_class(&iface_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | let iface_symref = try!(Self::get_class_ref(&rcp, *interface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | let class_bytes = try!(self.find_class_bytes(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:223:46 [INFO] [stdout] | [INFO] [stdout] 223 | let component_access_flags = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | let object_class = try!(self.load_class(&object_sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/constant_pool.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | let array_class = try!(class_loader.resolve_class(&array_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/constant_pool.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | let string_class = try!(class_loader.resolve_class(&string_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 287 | 0x01 ... 0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | 0xc0 ... 0xdf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | 0xe0 ... 0xef => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | 0x80 ... 0xbf => panic!("error decoding modified UTF-8: invalid continuation byte"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | 0x01 ... 0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | 0xc0 ... 0xdf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | 0xe0 ... 0xef => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | 0x80 ... 0xbf => panic!("error decoding modified UTF-8: invalid continuation byte"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | let (component_type, rest) = try!(Self::new_partial(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NativeMethod(&'static Fn(Vec) -> Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NativeMethod(&'static dyn Fn(Vec) -> Option); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/class_loader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | const ARRAYCOPY: &'static Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | const ARRAYCOPY: &'static dyn Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | const WRITE: &'static Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | const WRITE: &'static dyn Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | _ => Tag::Unknown(t), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 82 | 0...63 => Tag::SameFrame(t), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 83 | 64...127 => Tag::SameLocals1StackItemFrame(t), [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 84 | 247 => Tag::SameLocals1StackItemFrameExtended(t), [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] 85 | 248...250 => Tag::ChopFrame(t), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => Tag::Unknown(t), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/class.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut field_values = field_values_opt.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_ref` and `bootstrap_arguments` are never read [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct BootstrapMethod { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 153 | /// An index into the `constant_pool` to a `ConstantPoolInfo::MethodHandle` structure. [INFO] [stdout] 154 | bootstrap_method_ref: constant_pool_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | bootstrap_arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valid_up_to` is never read [INFO] [stdout] --> src/util/modified_utf8.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModifiedUtf8Error { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | valid_up_to: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModifiedUtf8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_table` is never read [INFO] [stdout] --> src/vm/class.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | Concrete { max_locals: u16, code: Vec, exception_table: Vec, }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/class_file.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | n!(magic, p_cut!(Error::Magic, p!(tag!(&[0xCA, 0xFE, 0xBA, 0xBE])))); [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | n!(magic, &[u8], Error>, p_cut!(Error::Magic, p!(tag!(&[0xCA, 0xFE, 0xBA, 0xBE])))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/one_indexed_vec.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn iter(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn iter(&self) -> ::std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/one_indexed_vec.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "828bf5eb9d44fae39b5f75f4ef0aeaf74c971d6b2d621e40644c8a6936b8f013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828bf5eb9d44fae39b5f75f4ef0aeaf74c971d6b2d621e40644c8a6936b8f013", kill_on_drop: false }` [INFO] [stdout] 828bf5eb9d44fae39b5f75f4ef0aeaf74c971d6b2d621e40644c8a6936b8f013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7d9b2a1a43075cd956bde47fdfcc8a3d01ad628fbfe001647e3cea14c84651 [INFO] running `Command { std: "docker" "start" "-a" "0e7d9b2a1a43075cd956bde47fdfcc8a3d01ad628fbfe001647e3cea14c84651", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | 0...63 => Tag::SameFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 64...127 => Tag::SameLocals1StackItemFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 248...250 => Tag::ChopFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 252...254 => Tag::AppendFrame(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | 128...246 => Tag::Reserved(t), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/class_file.rs:1005:1 [INFO] [stdout] | [INFO] [stdout] 1005 | /// `parser::class_file::parse_class_file(&[u8]) -> ParseResult)` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | try!(check_cp_index_tag!(constant_pool, i as usize, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(check_cp_index_tag!(constant_pool, i as usize, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/class_file.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | try!(check_cp_index_tag!(constant_pool, i as usize, constant_pool::Tag::Class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let super_symref = try!(Self::get_class_ref(rcp, class_file.super_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let parsed_class = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let this_symref = try!(Self::get_class_ref(&rcp, parsed_class.this_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let super_class = try!(self.derive_super_class(&rcp, &parsed_class)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.resolve_class(&iface_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | let iface_symref = try!(Self::get_class_ref(&rcp, *interface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | let class_bytes = try!(self.find_class_bytes(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:223:46 [INFO] [stdout] | [INFO] [stdout] 223 | let component_access_flags = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/class_loader.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | let object_class = try!(self.load_class(&object_sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/constant_pool.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | let array_class = try!(class_loader.resolve_class(&array_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/constant_pool.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | let string_class = try!(class_loader.resolve_class(&string_symref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 287 | 0x01 ... 0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | 0xc0 ... 0xdf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | 0xe0 ... 0xef => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | 0x80 ... 0xbf => panic!("error decoding modified UTF-8: invalid continuation byte"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | 0x01 ... 0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | 0xc0 ... 0xdf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | 0xe0 ... 0xef => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vm/constant_pool.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | 0x80 ... 0xbf => panic!("error decoding modified UTF-8: invalid continuation byte"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | let (component_type, rest) = try!(Self::new_partial(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NativeMethod(&'static Fn(Vec) -> Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NativeMethod(&'static dyn Fn(Vec) -> Option); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/class_loader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | const ARRAYCOPY: &'static Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | const ARRAYCOPY: &'static dyn Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/native.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | const WRITE: &'static Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | const WRITE: &'static dyn Fn(Vec) -> Option = &(|args| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | _ => Tag::Unknown(t), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 82 | 0...63 => Tag::SameFrame(t), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 83 | 64...127 => Tag::SameLocals1StackItemFrame(t), [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 84 | 247 => Tag::SameLocals1StackItemFrameExtended(t), [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] 85 | 248...250 => Tag::ChopFrame(t), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => Tag::Unknown(t), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/class.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut field_values = field_values_opt.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_ref` and `bootstrap_arguments` are never read [INFO] [stdout] --> src/model/class_file/attribute/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct BootstrapMethod { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 153 | /// An index into the `constant_pool` to a `ConstantPoolInfo::MethodHandle` structure. [INFO] [stdout] 154 | bootstrap_method_ref: constant_pool_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | bootstrap_arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valid_up_to` is never read [INFO] [stdout] --> src/util/modified_utf8.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModifiedUtf8Error { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | valid_up_to: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModifiedUtf8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exception_table` is never read [INFO] [stdout] --> src/vm/class.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | Concrete { max_locals: u16, code: Vec, exception_table: Vec, }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-jvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/class_file.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | n!(magic, p_cut!(Error::Magic, p!(tag!(&[0xCA, 0xFE, 0xBA, 0xBE])))); [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | n!(magic, &[u8], Error>, p_cut!(Error::Magic, p!(tag!(&[0xCA, 0xFE, 0xBA, 0xBE])))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/one_indexed_vec.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn iter(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn iter(&self) -> ::std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/one_indexed_vec.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected `$` [INFO] [stdout] --> src/parser/nom_support.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 154 | macro_rules! cut { [INFO] [stdout] | ---------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 282 | cut!($crate::nom::ErrorKind::Custom(42), tag!("b")) , [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$code:expr` [INFO] [stdout] --> src/parser/nom_support.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | ($i: expr, $code: expr, $submac:ident !( $($args:tt)* )) => ({ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-jvm` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0e7d9b2a1a43075cd956bde47fdfcc8a3d01ad628fbfe001647e3cea14c84651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7d9b2a1a43075cd956bde47fdfcc8a3d01ad628fbfe001647e3cea14c84651", kill_on_drop: false }` [INFO] [stdout] 0e7d9b2a1a43075cd956bde47fdfcc8a3d01ad628fbfe001647e3cea14c84651