[INFO] cloning repository https://github.com/vitmix/Rust-KVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitmix/Rust-KVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitmix%2FRust-KVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitmix%2FRust-KVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d63db9169249be29b40a0927c96305fdd87e0d9 [INFO] testing vitmix/Rust-KVM against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitmix%2FRust-KVM" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitmix/Rust-KVM on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitmix/Rust-KVM [INFO] finished tweaking git repo https://github.com/vitmix/Rust-KVM [INFO] tweaked toml for git repo https://github.com/vitmix/Rust-KVM written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/vitmix/Rust-KVM already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad0aaba84e0eb10e30e4650c45092ef61e5d2bf533977c29680107ccd17fad7 [INFO] running `Command { std: "docker" "start" "-a" "2ad0aaba84e0eb10e30e4650c45092ef61e5d2bf533977c29680107ccd17fad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad0aaba84e0eb10e30e4650c45092ef61e5d2bf533977c29680107ccd17fad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad0aaba84e0eb10e30e4650c45092ef61e5d2bf533977c29680107ccd17fad7", kill_on_drop: false }` [INFO] [stdout] 2ad0aaba84e0eb10e30e4650c45092ef61e5d2bf533977c29680107ccd17fad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa85542129c1ea51bd3283aa6f5da3170ead8bd13bbce6ba02b397db22ba1a44 [INFO] running `Command { std: "docker" "start" "-a" "fa85542129c1ea51bd3283aa6f5da3170ead8bd13bbce6ba02b397db22ba1a44", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dumb_class_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `constant_pool::ConstantPoolEntry` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use constant_pool::ConstantPoolEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder`, `ReadBytesExt` [INFO] [stdout] --> src/raw_class_reader.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstantPoolEntry`, `ConstantPool` [INFO] [stdout] --> src/raw_class_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constant_pool::{ConstantPoolEntry, ConstantPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ACC_ABSTRACT`, `ACC_FINAL`, `ACC_INTERFACE`, `ACC_PUBLIC`, `ACC_SUPER` [INFO] [stdout] --> src/raw_class_reader.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::declarations::{ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_INTERFACE, ACC_ABSTRACT}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/constant_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/attributes.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/class_file.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ReadBytesExt, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constant_pool.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | _ => unreachable!("Cannot parse entry of unknown constant pool tag") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/class_file.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | for i in 0..super_interfaces_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attr_count` is never read [INFO] [stdout] --> src/method_info.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut attr_count: usize = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_PUBLIC` [INFO] [stdout] --> src/declarations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub const $name: u16 = $value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | define_access_flag!(ACC_PUBLIC, 0x0001); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_access_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_FINAL` [INFO] [stdout] --> src/declarations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub const $name: u16 = $value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | define_access_flag!(ACC_FINAL, 0x0010); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_access_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_SUPER` [INFO] [stdout] --> src/declarations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub const $name: u16 = $value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | define_access_flag!(ACC_SUPER, 0x0020); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_access_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_INTERFACE` [INFO] [stdout] --> src/declarations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub const $name: u16 = $value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | define_access_flag!(ACC_INTERFACE, 0x0200); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_access_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC_ABSTRACT` [INFO] [stdout] --> src/declarations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub const $name: u16 = $value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | define_access_flag!(ACC_ABSTRACT, 0x0400); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_access_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.49s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fa85542129c1ea51bd3283aa6f5da3170ead8bd13bbce6ba02b397db22ba1a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa85542129c1ea51bd3283aa6f5da3170ead8bd13bbce6ba02b397db22ba1a44", kill_on_drop: false }` [INFO] [stdout] fa85542129c1ea51bd3283aa6f5da3170ead8bd13bbce6ba02b397db22ba1a44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f31bdf06cd29aafdd281d167e4f885b2702f98cf250cff9053b10f93bac92b [INFO] running `Command { std: "docker" "start" "-a" "71f31bdf06cd29aafdd281d167e4f885b2702f98cf250cff9053b10f93bac92b", kill_on_drop: false }` [INFO] [stderr] Compiling dumb_class_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder`, `ReadBytesExt` [INFO] [stdout] --> src/raw_class_reader.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstantPoolEntry`, `ConstantPool` [INFO] [stdout] --> src/raw_class_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constant_pool::{ConstantPoolEntry, ConstantPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ACC_ABSTRACT`, `ACC_FINAL`, `ACC_INTERFACE`, `ACC_PUBLIC`, `ACC_SUPER` [INFO] [stdout] --> src/raw_class_reader.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::declarations::{ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_INTERFACE, ACC_ABSTRACT}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/constant_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/attributes.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | class_entry.parse_entry(&bytes[1..=2]); [INFO] [stdout] | ^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor>` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fieldref_entry.parse_entry(&bytes[1..]); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor>` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/class_file.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ReadBytesExt, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dumb_class_reader` due to 3 previous errors; 6 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71f31bdf06cd29aafdd281d167e4f885b2702f98cf250cff9053b10f93bac92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f31bdf06cd29aafdd281d167e4f885b2702f98cf250cff9053b10f93bac92b", kill_on_drop: false }` [INFO] [stdout] 71f31bdf06cd29aafdd281d167e4f885b2702f98cf250cff9053b10f93bac92b