[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] checking maxmcc/rust-jvm against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxmcc/rust-jvm on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking maxmcc/rust-jvm against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxmcc/rust-jvm on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d61bf4ae1d34e35f0b51d57312077b4dd0438ed4f0617e33ecc7c3b7689bb2ce [INFO] running `Command { std: "docker" "start" "-a" "d61bf4ae1d34e35f0b51d57312077b4dd0438ed4f0617e33ecc7c3b7689bb2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d61bf4ae1d34e35f0b51d57312077b4dd0438ed4f0617e33ecc7c3b7689bb2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61bf4ae1d34e35f0b51d57312077b4dd0438ed4f0617e33ecc7c3b7689bb2ce", kill_on_drop: false }` [INFO] [stdout] d61bf4ae1d34e35f0b51d57312077b4dd0438ed4f0617e33ecc7c3b7689bb2ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26eefc0de431abaae5cb913181c63fc2a7384dd7fd2eead18627b9af5fc91e2 [INFO] running `Command { std: "docker" "start" "-a" "e26eefc0de431abaae5cb913181c63fc2a7384dd7fd2eead18627b9af5fc91e2", kill_on_drop: false }` [INFO] [stderr] Checking nom v1.2.2 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking rust-jvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `$` [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] [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)]` 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)]` 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)]` 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: 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)]` on by default [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: `...` 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)]` 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: 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: `...` 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)]` 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)]` on by default [INFO] [stdout] help: 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: 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: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | const WRITE: &'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: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)]` on by default [INFO] [stdout] help: 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: 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: 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: 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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-jvm` (lib test) due to 2 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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)]` 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] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e26eefc0de431abaae5cb913181c63fc2a7384dd7fd2eead18627b9af5fc91e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26eefc0de431abaae5cb913181c63fc2a7384dd7fd2eead18627b9af5fc91e2", kill_on_drop: false }` [INFO] [stdout] e26eefc0de431abaae5cb913181c63fc2a7384dd7fd2eead18627b9af5fc91e2