[INFO] fetching crate dynasm-lib 0.1.0-alpha... [INFO] building dynasm-lib-0.1.0-alpha against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate dynasm-lib 0.1.0-alpha into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate dynasm-lib 0.1.0-alpha on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a178b712318bf441e708fea36ed860d7194083e95a13559469758a875026eb3 [INFO] running `Command { std: "docker" "start" "-a" "8a178b712318bf441e708fea36ed860d7194083e95a13559469758a875026eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a178b712318bf441e708fea36ed860d7194083e95a13559469758a875026eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a178b712318bf441e708fea36ed860d7194083e95a13559469758a875026eb3", kill_on_drop: false }` [INFO] [stdout] 8a178b712318bf441e708fea36ed860d7194083e95a13559469758a875026eb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f200b7ce07f9a0204859c7c0bd5b3c0930fac62d38770076ce8dcb914cd48045 [INFO] running `Command { std: "docker" "start" "-a" "f200b7ce07f9a0204859c7c0bd5b3c0930fac62d38770076ce8dcb914cd48045", kill_on_drop: false }` [INFO] [stderr] Compiling dynasm-lib v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/debug.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "f200b7ce07f9a0204859c7c0bd5b3c0930fac62d38770076ce8dcb914cd48045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f200b7ce07f9a0204859c7c0bd5b3c0930fac62d38770076ce8dcb914cd48045", kill_on_drop: false }` [INFO] [stdout] f200b7ce07f9a0204859c7c0bd5b3c0930fac62d38770076ce8dcb914cd48045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e77627457c9a684e4441e518bd5c5052289df55fee0e456e3111695adf2f348 [INFO] running `Command { std: "docker" "start" "-a" "4e77627457c9a684e4441e518bd5c5052289df55fee0e456e3111695adf2f348", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/debug.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: `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] [stderr] Compiling dynasm-lib v0.1.0-alpha (/opt/rustwide/workdir) [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: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stdout] --> src/arch/x64/debug.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "dynasm_opmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "4e77627457c9a684e4441e518bd5c5052289df55fee0e456e3111695adf2f348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e77627457c9a684e4441e518bd5c5052289df55fee0e456e3111695adf2f348", kill_on_drop: false }` [INFO] [stdout] 4e77627457c9a684e4441e518bd5c5052289df55fee0e456e3111695adf2f348