[INFO] cloning repository https://github.com/JerTH/armv7m-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JerTH/armv7m-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fe97b98de4c3bb74becb6ae5157b378bdba743a [INFO] checking JerTH/armv7m-vm against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JerTH/armv7m-vm on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JerTH/armv7m-vm [INFO] finished tweaking git repo https://github.com/JerTH/armv7m-vm [INFO] tweaked toml for git repo https://github.com/JerTH/armv7m-vm written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/JerTH/armv7m-vm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b40548a53b8605c4eaade3d19a4c2778fac2db5cfc9d60ded488669c009613a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b40548a53b8605c4eaade3d19a4c2778fac2db5cfc9d60ded488669c009613a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b40548a53b8605c4eaade3d19a4c2778fac2db5cfc9d60ded488669c009613a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40548a53b8605c4eaade3d19a4c2778fac2db5cfc9d60ded488669c009613a0", kill_on_drop: false }` [INFO] [stdout] b40548a53b8605c4eaade3d19a4c2778fac2db5cfc9d60ded488669c009613a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a774e7f28dcb68e1e045f5457ad301a6c621ed5df0f611b3ee32556dcb17a7ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a774e7f28dcb68e1e045f5457ad301a6c621ed5df0f611b3ee32556dcb17a7ef", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking elfy v0.2.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking armchair v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/decode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/decode.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{ info, debug, trace }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramHeaderFlags`, `ProgramHeaderType` [INFO] [stdout] --> src/loader.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/decode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/decode.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{ info, debug, trace }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramHeaderFlags`, `ProgramHeaderType` [INFO] [stdout] --> src/loader.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | for (i, item) in table.iter().enumerate() { [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: unused variable: `item` [INFO] [stdout] --> src/decode.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | for (i, item) in table.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | for (i, item) in table.iter().enumerate() { [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: unused variable: `item` [INFO] [stdout] --> src/decode.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | for (i, item) in table.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/decode.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn new(encoded: u16, decoded: InstrThumb16) -> InstructionCodecPair { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DataProcessingInstructions` [INFO] [stdout] --> src/instructions/data_processing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DataProcessingInstructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/decode.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/decode.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn new(encoded: u16, decoded: InstrThumb16) -> InstructionCodecPair { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DataProcessingInstructions` [INFO] [stdout] --> src/instructions/data_processing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DataProcessingInstructions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | .map(map_operand!(InstrThumb16::BranchE1, cond, u8)) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | .map(map_operand!(InstrThumb16::BranchE1, imm, i8)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | .map(map_operand!(InstrThumb16::BranchE2, imm, i16)) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | .map(map_operand!(InstrThumb16::Test, a, u8)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | .map(map_operand!(InstrThumb16::Test, b, u8)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("invalid instruction operand field map: {:?}", m)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | .map(map_operand!(InstrThumb16::Test, c, u8)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | panic!("invalid instruction operand field map: {:?}", m); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/decode.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "a774e7f28dcb68e1e045f5457ad301a6c621ed5df0f611b3ee32556dcb17a7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a774e7f28dcb68e1e045f5457ad301a6c621ed5df0f611b3ee32556dcb17a7ef", kill_on_drop: false }` [INFO] [stdout] a774e7f28dcb68e1e045f5457ad301a6c621ed5df0f611b3ee32556dcb17a7ef