[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 try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Frust-jvm" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxmcc/rust-jvm on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-14/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32323477eb89343a6643700a2d59eddb1cf5f8262af0f7fc42386e378eec189f [INFO] running `Command { std: "docker" "start" "-a" "32323477eb89343a6643700a2d59eddb1cf5f8262af0f7fc42386e378eec189f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32323477eb89343a6643700a2d59eddb1cf5f8262af0f7fc42386e378eec189f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32323477eb89343a6643700a2d59eddb1cf5f8262af0f7fc42386e378eec189f", kill_on_drop: false }` [INFO] [stdout] 32323477eb89343a6643700a2d59eddb1cf5f8262af0f7fc42386e378eec189f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0616b818d969dc4772e07dabdbdc691d934b3553cc96025f9ebf7a179f91b217 [INFO] running `Command { std: "docker" "start" "-a" "0616b818d969dc4772e07dabdbdc691d934b3553cc96025f9ebf7a179f91b217", kill_on_drop: false }` [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking nom v1.2.2 [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] [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!( [INFO] [stdout] | ^^^ [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 issue #80165 [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 issue #80165 [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: `...` 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 issue #80165 [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/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: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: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: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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let parsed_class = try!( [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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/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: 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: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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [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 issue #80165 [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] error: aborting due to previous error; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-jvm` due to 2 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0616b818d969dc4772e07dabdbdc691d934b3553cc96025f9ebf7a179f91b217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0616b818d969dc4772e07dabdbdc691d934b3553cc96025f9ebf7a179f91b217", kill_on_drop: false }` [INFO] [stdout] 0616b818d969dc4772e07dabdbdc691d934b3553cc96025f9ebf7a179f91b217