[INFO] cloning repository https://github.com/qiaojinxia/gwvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiaojinxia/gwvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2Fgwvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2Fgwvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fa8bfe52fcbb7bb615b2d88ce1cadfb249ce84a [INFO] checking qiaojinxia/gwvm against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2Fgwvm" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qiaojinxia/gwvm on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qiaojinxia/gwvm [INFO] finished tweaking git repo https://github.com/qiaojinxia/gwvm [INFO] tweaked toml for git repo https://github.com/qiaojinxia/gwvm written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/qiaojinxia/gwvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 podio v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d93591558a4691853607efc04931214874b4e40d0e58605697159b69728c8d5 [INFO] running `Command { std: "docker" "start" "-a" "5d93591558a4691853607efc04931214874b4e40d0e58605697159b69728c8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d93591558a4691853607efc04931214874b4e40d0e58605697159b69728c8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d93591558a4691853607efc04931214874b4e40d0e58605697159b69728c8d5", kill_on_drop: false }` [INFO] [stdout] 5d93591558a4691853607efc04931214874b4e40d0e58605697159b69728c8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a137f6255ef32c0af1e87c38915caf63f9e39dc96c7129b0d0189bd3fa9683f [INFO] running `Command { std: "docker" "start" "-a" "8a137f6255ef32c0af1e87c38915caf63f9e39dc96c7129b0d0189bd3fa9683f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.5 [INFO] [stderr] Checking gwvm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0583]: file not found for module `instructions` [INFO] [stdout] --> src/vm/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `instructions`, create file "src/vm/instructions.rs" or "src/vm/instructions/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Exceptions`, `LocalVaribleTable` [INFO] [stdout] --> src/classpath/class_reader.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classpath::classfile_attribute::Attribute::{Exceptions, LocalVaribleTable}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/classpath/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | 0...63 => StackMapFrameBody::SameFrame, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:402:15 [INFO] [stdout] | [INFO] [stdout] 402 | 64...127 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | 248...250 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:422:16 [INFO] [stdout] | [INFO] [stdout] 422 | 252...254 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/classpath/classfile.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::classpath::classfile_attribute::{Attribute, AttributeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::classfile::Constant` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::classfile::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Error, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_value_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | const_value_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConstValueIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `enum_const_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum_const_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `class_info_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | class_info_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassInfoIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `annotation_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | annotation_value(Annotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AnnotationValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `array_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | array_value { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrayValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::vmcode::Inst::Code` [INFO] [stdout] --> src/classpath/vmcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::vmcode::Inst::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gwvm` due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0583]: file not found for module `instructions` [INFO] [stdout] --> src/vm/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `instructions`, create file "src/vm/instructions.rs" or "src/vm/instructions/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Exceptions`, `LocalVaribleTable` [INFO] [stdout] --> src/classpath/class_reader.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classpath::classfile_attribute::Attribute::{Exceptions, LocalVaribleTable}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/classpath/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/classpath/class_reader.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | 0...63 => StackMapFrameBody::SameFrame, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:402:15 [INFO] [stdout] | [INFO] [stdout] 402 | 64...127 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | 248...250 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/classpath/class_reader.rs:422:16 [INFO] [stdout] | [INFO] [stdout] 422 | 252...254 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/classpath/classfile.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::classpath::classfile_attribute::{Attribute, AttributeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::classfile::Constant` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::classfile::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classpath/classfile_attribute.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Error, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `const_value_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | const_value_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConstValueIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `enum_const_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum_const_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `class_info_index` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | class_info_index(U16ConstantIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassInfoIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `annotation_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | annotation_value(Annotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AnnotationValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `array_value` should have an upper camel case name [INFO] [stdout] --> src/classpath/classfile_attribute.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | array_value { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrayValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classpath::vmcode::Inst::Code` [INFO] [stdout] --> src/classpath/vmcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::classpath::vmcode::Inst::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vm/stack.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | ///测试 Stack 压入farame 弹出 frame [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 333 | let f = Frame::new(10, 10); [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8a137f6255ef32c0af1e87c38915caf63f9e39dc96c7129b0d0189bd3fa9683f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a137f6255ef32c0af1e87c38915caf63f9e39dc96c7129b0d0189bd3fa9683f", kill_on_drop: false }` [INFO] [stdout] 8a137f6255ef32c0af1e87c38915caf63f9e39dc96c7129b0d0189bd3fa9683f