[INFO] fetching crate virmin 0.3.0... [INFO] checking virmin-0.3.0 against master#7702ae16a23407cdd909ff9174294563ae1f4ba3 for pr-97183 [INFO] extracting crate virmin 0.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate virmin 0.3.0 on toolchain 7702ae16a23407cdd909ff9174294563ae1f4ba3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate virmin 0.3.0 [INFO] finished tweaking crates.io crate virmin 0.3.0 [INFO] tweaked toml for crates.io crate virmin 0.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2ab8519cc4050318d68321e5c6d9399605e21bad067c205c02002cd591f48ad [INFO] running `Command { std: "docker" "start" "-a" "f2ab8519cc4050318d68321e5c6d9399605e21bad067c205c02002cd591f48ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ab8519cc4050318d68321e5c6d9399605e21bad067c205c02002cd591f48ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ab8519cc4050318d68321e5c6d9399605e21bad067c205c02002cd591f48ad", kill_on_drop: false }` [INFO] [stdout] f2ab8519cc4050318d68321e5c6d9399605e21bad067c205c02002cd591f48ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c3979788ac39b6cfd04cd752f16838d62895d22310cfa6868a75b3de98bf09e [INFO] running `Command { std: "docker" "start" "-a" "2c3979788ac39b6cfd04cd752f16838d62895d22310cfa6868a75b3de98bf09e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking virmin v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine.rs:211:6 [INFO] [stdout] | [INFO] [stdout] 211 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine.rs:211:6 [INFO] [stdout] | [INFO] [stdout] 211 | _ => { [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/domain.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | for i in 0 .. self.value { [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: `i` [INFO] [stdout] --> src/domain.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | for i in 0 .. self.value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/insn.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | AbstractMicroCode::Copy(x,y,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/insn.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | AbstractMicroCode::Load(x,i,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | for i in 0 .. self.value { [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: `w` [INFO] [stdout] --> src/insn.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | AbstractMicroCode::Load(x,i,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/insn.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | Operand::Const(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | for i in 0 .. self.value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `format` are never read [INFO] [stdout] --> src/insn.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Instruction<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | mnemonic: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | /// Format associated with this instruction. [INFO] [stdout] 173 | format: &'a Format, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/insn.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | AbstractMicroCode::Copy(x,y,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `insns` is never read [INFO] [stdout] --> src/insn.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct InstructionSet<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 201 | insns : &'a [Instruction<'a>] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/insn.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | AbstractMicroCode::Load(x,i,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/insn.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | AbstractMicroCode::Load(x,i,w) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/insn.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | Operand::Const(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `format` are never read [INFO] [stdout] --> src/insn.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Instruction<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | mnemonic: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | /// Format associated with this instruction. [INFO] [stdout] 173 | format: &'a Format, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `insns` is never read [INFO] [stdout] --> src/insn.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct InstructionSet<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 201 | insns : &'a [Instruction<'a>] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `virmin::machine::Memory` [INFO] [stdout] --> tests/machine_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use virmin::machine::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuadWord` [INFO] [stdout] --> tests/machine_tests.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use virmin::machine::Width::{Byte,Word,DoubleWord,QuadWord}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `virmin::machine::Sign::*` [INFO] [stdout] --> tests/machine_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use virmin::machine::Sign::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Word` [INFO] [stdout] --> tests/insn_tests.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use virmin::machine::Width::{Byte,Word}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> tests/insn_tests.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let insn = Instruction::new("insn", &fmt, µcode); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> tests/insn_tests.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let insn = Instruction::new("insn", &fmt, µcode); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "2c3979788ac39b6cfd04cd752f16838d62895d22310cfa6868a75b3de98bf09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c3979788ac39b6cfd04cd752f16838d62895d22310cfa6868a75b3de98bf09e", kill_on_drop: false }` [INFO] [stdout] 2c3979788ac39b6cfd04cd752f16838d62895d22310cfa6868a75b3de98bf09e