[INFO] fetching crate dynasm-lib 0.1.0-alpha... [INFO] checking dynasm-lib-0.1.0-alpha against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] extracting crate dynasm-lib 0.1.0-alpha into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate dynasm-lib 0.1.0-alpha on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dynasm-lib 0.1.0-alpha [INFO] finished tweaking crates.io crate dynasm-lib 0.1.0-alpha [INFO] tweaked toml for crates.io crate dynasm-lib 0.1.0-alpha written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c70bd38a15fa67910e69d5ceaf080f4bcf22cb299538a142dcaf09d394e3a4f9 [INFO] running `Command { std: "docker" "start" "-a" "c70bd38a15fa67910e69d5ceaf080f4bcf22cb299538a142dcaf09d394e3a4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c70bd38a15fa67910e69d5ceaf080f4bcf22cb299538a142dcaf09d394e3a4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c70bd38a15fa67910e69d5ceaf080f4bcf22cb299538a142dcaf09d394e3a4f9", kill_on_drop: false }` [INFO] [stdout] c70bd38a15fa67910e69d5ceaf080f4bcf22cb299538a142dcaf09d394e3a4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1aebf1d9cc65ba69ea9dc16b8fa138ce7b29476ecfec1591d45767bc2c85ae4 [INFO] running `Command { std: "docker" "start" "-a" "f1aebf1d9cc65ba69ea9dc16b8fa138ce7b29476ecfec1591d45767bc2c85ae4", kill_on_drop: false }` [INFO] [stderr] Checking dynasm-lib v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:650:31 [INFO] [stdout] | [INFO] [stdout] 650 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:657:35 [INFO] [stdout] | [INFO] [stdout] 657 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:669:31 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:723:35 [INFO] [stdout] | [INFO] [stdout] 723 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1102:35 [INFO] [stdout] | [INFO] [stdout] 1102 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1116:35 [INFO] [stdout] | [INFO] [stdout] 1116 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1122:35 [INFO] [stdout] | [INFO] [stdout] 1122 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:650:31 [INFO] [stdout] | [INFO] [stdout] 650 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:657:35 [INFO] [stdout] | [INFO] [stdout] 657 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:669:31 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:723:35 [INFO] [stdout] | [INFO] [stdout] 723 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1102:35 [INFO] [stdout] | [INFO] [stdout] 1102 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1116:35 [INFO] [stdout] | [INFO] [stdout] 1116 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1122:35 [INFO] [stdout] | [INFO] [stdout] 1122 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/arch/x64/compiler.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | CleanArg::Immediate {value} => { } [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/arch/x64/compiler.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | CleanArg::Immediate {value} => { } [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/arch/mod.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(feature) = features.first() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/directive.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | d => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/arch/mod.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(feature) = features.first() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/directive.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | d => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dynasm` is never constructed [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Dynasm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynasmOpmap` is never constructed [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct DynasmOpmap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask` is never used [INFO] [stdout] --> src/common.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn bitmask(scale: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask64` is never used [INFO] [stdout] --> src/common.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn bitmask64(scale: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_directive` is never used [INFO] [stdout] --> src/directive.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn evaluate_directive(file_data: &mut DynasmData, stmts: &mut Vec, directive: &Directive) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directive_const` is never used [INFO] [stdout] --> src/directive.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn directive_const(file_data: &mut DynasmData, stmts: &mut Vec, values: &[Const], size: Size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Byte` should have a snake case name [INFO] [stdout] --> src/common.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn Byte(val: u8) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Word` should have a snake case name [INFO] [stdout] --> src/common.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn Word(val: u16) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dword` should have a snake case name [INFO] [stdout] --> src/common.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn Dword(val: u32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Qword` should have a snake case name [INFO] [stdout] --> src/common.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn Qword(val: u64) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `qword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dynasm` is never constructed [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Dynasm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynasmOpmap` is never constructed [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct DynasmOpmap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask` is never used [INFO] [stdout] --> src/common.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn bitmask(scale: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask64` is never used [INFO] [stdout] --> src/common.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn bitmask64(scale: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_directive` is never used [INFO] [stdout] --> src/directive.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn evaluate_directive(file_data: &mut DynasmData, stmts: &mut Vec, directive: &Directive) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directive_const` is never used [INFO] [stdout] --> src/directive.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn directive_const(file_data: &mut DynasmData, stmts: &mut Vec, values: &[Const], size: Size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Byte` should have a snake case name [INFO] [stdout] --> src/common.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn Byte(val: u8) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Word` should have a snake case name [INFO] [stdout] --> src/common.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn Word(val: u16) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dword` should have a snake case name [INFO] [stdout] --> src/common.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn Dword(val: u32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Qword` should have a snake case name [INFO] [stdout] --> src/common.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn Qword(val: u64) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `qword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "f1aebf1d9cc65ba69ea9dc16b8fa138ce7b29476ecfec1591d45767bc2c85ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1aebf1d9cc65ba69ea9dc16b8fa138ce7b29476ecfec1591d45767bc2c85ae4", kill_on_drop: false }` [INFO] [stdout] f1aebf1d9cc65ba69ea9dc16b8fa138ce7b29476ecfec1591d45767bc2c85ae4 [INFO] checking dynasm-lib-0.1.0-alpha against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] extracting crate dynasm-lib 0.1.0-alpha into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate dynasm-lib 0.1.0-alpha on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dynasm-lib 0.1.0-alpha [INFO] finished tweaking crates.io crate dynasm-lib 0.1.0-alpha [INFO] tweaked toml for crates.io crate dynasm-lib 0.1.0-alpha written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ee710db7aedfb5288529bc93d3fdcb5af1a3903aa795bc5ea75c9c2455e494 [INFO] running `Command { std: "docker" "start" "-a" "52ee710db7aedfb5288529bc93d3fdcb5af1a3903aa795bc5ea75c9c2455e494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ee710db7aedfb5288529bc93d3fdcb5af1a3903aa795bc5ea75c9c2455e494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ee710db7aedfb5288529bc93d3fdcb5af1a3903aa795bc5ea75c9c2455e494", kill_on_drop: false }` [INFO] [stdout] 52ee710db7aedfb5288529bc93d3fdcb5af1a3903aa795bc5ea75c9c2455e494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Ddereferencing_mut_binding" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582e3205dcf10f69313a7cf1fcafd1e15aee575d40d3c57bd8245d2c2b7acaeb [INFO] running `Command { std: "docker" "start" "-a" "582e3205dcf10f69313a7cf1fcafd1e15aee575d40d3c57bd8245d2c2b7acaeb", kill_on_drop: false }` [INFO] [stderr] Checking dynasm-lib v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:650:31 [INFO] [stdout] | [INFO] [stdout] 650 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:657:35 [INFO] [stdout] | [INFO] [stdout] 657 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:669:31 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:723:35 [INFO] [stdout] | [INFO] [stdout] 723 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1102:35 [INFO] [stdout] | [INFO] [stdout] 1102 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1116:35 [INFO] [stdout] | [INFO] [stdout] 1116 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1122:35 [INFO] [stdout] | [INFO] [stdout] 1122 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:650:31 [INFO] [stdout] | [INFO] [stdout] 650 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:657:35 [INFO] [stdout] | [INFO] [stdout] 657 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:669:31 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:723:35 [INFO] [stdout] | [INFO] [stdout] 723 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1102:35 [INFO] [stdout] | [INFO] [stdout] 1102 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1116:35 [INFO] [stdout] | [INFO] [stdout] 1116 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1122:35 [INFO] [stdout] | [INFO] [stdout] 1122 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stdout] --> src/arch/x64/compiler.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | return Err(Error::UndiagnosedError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/directive.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | Const::Value(mut expr) => { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/directive.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | Const::Value(mut expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/arch/x64/compiler.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | CleanArg::Immediate {value} => { } [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/directive.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | Const::Value(mut expr) => { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/directive.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | Const::Value(mut expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/arch/x64/compiler.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | CleanArg::Immediate {value} => { } [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/arch/mod.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(feature) = features.first() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/directive.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | d => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dynasm` is never constructed [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Dynasm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynasmOpmap` is never constructed [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct DynasmOpmap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask` is never used [INFO] [stdout] --> src/common.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn bitmask(scale: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask64` is never used [INFO] [stdout] --> src/common.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn bitmask64(scale: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_directive` is never used [INFO] [stdout] --> src/directive.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn evaluate_directive(file_data: &mut DynasmData, stmts: &mut Vec, directive: &Directive) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directive_const` is never used [INFO] [stdout] --> src/directive.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn directive_const(file_data: &mut DynasmData, stmts: &mut Vec, values: &[Const], size: Size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Byte` should have a snake case name [INFO] [stdout] --> src/common.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn Byte(val: u8) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Word` should have a snake case name [INFO] [stdout] --> src/common.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn Word(val: u16) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dword` should have a snake case name [INFO] [stdout] --> src/common.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn Dword(val: u32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Qword` should have a snake case name [INFO] [stdout] --> src/common.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn Qword(val: u64) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `qword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/arch/mod.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(feature) = features.first() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/directive.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | d => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dynasm` is never constructed [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Dynasm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynasmOpmap` is never constructed [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct DynasmOpmap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask` is never used [INFO] [stdout] --> src/common.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn bitmask(scale: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitmask64` is never used [INFO] [stdout] --> src/common.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn bitmask64(scale: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_directive` is never used [INFO] [stdout] --> src/directive.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn evaluate_directive(file_data: &mut DynasmData, stmts: &mut Vec, directive: &Directive) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directive_const` is never used [INFO] [stdout] --> src/directive.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn directive_const(file_data: &mut DynasmData, stmts: &mut Vec, values: &[Const], size: Size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Byte` should have a snake case name [INFO] [stdout] --> src/common.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn Byte(val: u8) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Word` should have a snake case name [INFO] [stdout] --> src/common.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn Word(val: u16) -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dword` should have a snake case name [INFO] [stdout] --> src/common.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn Dword(val: u32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Qword` should have a snake case name [INFO] [stdout] --> src/common.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn Qword(val: u64) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `qword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dynasm-lib` (lib) due to 2 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dynasm-lib` (lib test) due to 2 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "582e3205dcf10f69313a7cf1fcafd1e15aee575d40d3c57bd8245d2c2b7acaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582e3205dcf10f69313a7cf1fcafd1e15aee575d40d3c57bd8245d2c2b7acaeb", kill_on_drop: false }` [INFO] [stdout] 582e3205dcf10f69313a7cf1fcafd1e15aee575d40d3c57bd8245d2c2b7acaeb