[INFO] fetching crate dynasm-lib 0.1.0-alpha... [INFO] testing dynasm-lib-0.1.0-alpha against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dynasm-lib 0.1.0-alpha into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dynasm-lib 0.1.0-alpha on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5db03974a7bca0333c9830b5eea1ca7535c64a422e90c94d34f362c138c06c79 [INFO] running `Command { std: "docker" "start" "-a" "5db03974a7bca0333c9830b5eea1ca7535c64a422e90c94d34f362c138c06c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db03974a7bca0333c9830b5eea1ca7535c64a422e90c94d34f362c138c06c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db03974a7bca0333c9830b5eea1ca7535c64a422e90c94d34f362c138c06c79", kill_on_drop: false }` [INFO] [stdout] 5db03974a7bca0333c9830b5eea1ca7535c64a422e90c94d34f362c138c06c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43a1945e08783437519f9ae6435e909dc4b4bf0cce5401ddd92c27f5bd41ff17 [INFO] running `Command { std: "docker" "start" "-a" "43a1945e08783437519f9ae6435e909dc4b4bf0cce5401ddd92c27f5bd41ff17", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 4.73s [INFO] running `Command { std: "docker" "inspect" "43a1945e08783437519f9ae6435e909dc4b4bf0cce5401ddd92c27f5bd41ff17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a1945e08783437519f9ae6435e909dc4b4bf0cce5401ddd92c27f5bd41ff17", kill_on_drop: false }` [INFO] [stdout] 43a1945e08783437519f9ae6435e909dc4b4bf0cce5401ddd92c27f5bd41ff17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fe7aee5a7f15ee937841a207388acc11076a632822226abd650846ce321ece3 [INFO] running `Command { std: "docker" "start" "-a" "6fe7aee5a7f15ee937841a207388acc11076a632822226abd650846ce321ece3", 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] [stderr] Compiling 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: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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 3.93s [INFO] running `Command { std: "docker" "inspect" "6fe7aee5a7f15ee937841a207388acc11076a632822226abd650846ce321ece3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe7aee5a7f15ee937841a207388acc11076a632822226abd650846ce321ece3", kill_on_drop: false }` [INFO] [stdout] 6fe7aee5a7f15ee937841a207388acc11076a632822226abd650846ce321ece3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49f1bce81e42950f138bf9c2e3510bf4e40a327754c4531b1abb693f369ae201 [INFO] running `Command { std: "docker" "start" "-a" "49f1bce81e42950f138bf9c2e3510bf4e40a327754c4531b1abb693f369ae201", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stderr] --> src/arch/x64/mod.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(feature = "dynasm_opmap")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `dynasm_opmap` [INFO] [stderr] --> src/arch/x64/debug.rs:122:7 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(feature = "dynasm_opmap")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `dynasm_opmap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:626:35 [INFO] [stderr] | [INFO] [stderr] 626 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:642:31 [INFO] [stderr] | [INFO] [stderr] 642 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:650:31 [INFO] [stderr] | [INFO] [stderr] 650 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:657:35 [INFO] [stderr] | [INFO] [stderr] 657 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:661:35 [INFO] [stderr] | [INFO] [stderr] 661 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:669:31 [INFO] [stderr] | [INFO] [stderr] 669 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:680:35 [INFO] [stderr] | [INFO] [stderr] 680 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:707:35 [INFO] [stderr] | [INFO] [stderr] 707 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:723:35 [INFO] [stderr] | [INFO] [stderr] 723 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:746:35 [INFO] [stderr] | [INFO] [stderr] 746 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:777:35 [INFO] [stderr] | [INFO] [stderr] 777 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:801:27 [INFO] [stderr] | [INFO] [stderr] 801 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:1102:35 [INFO] [stderr] | [INFO] [stderr] 1102 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:1109:35 [INFO] [stderr] | [INFO] [stderr] 1109 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:1116:35 [INFO] [stderr] | [INFO] [stderr] 1116 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:1122:35 [INFO] [stderr] | [INFO] [stderr] 1122 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `arch::Error::UndiagnosedError` [INFO] [stderr] --> src/arch/x64/compiler.rs:1134:31 [INFO] [stderr] | [INFO] [stderr] 1134 | return Err(Error::UndiagnosedError); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/arch/x64/compiler.rs:590:34 [INFO] [stderr] | [INFO] [stderr] 590 | CleanArg::Immediate {value} => { } [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `feature` [INFO] [stderr] --> src/arch/mod.rs:203:21 [INFO] [stderr] | [INFO] [stderr] 203 | if let Some(feature) = features.first() { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/directive.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | d => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: struct `Dynasm` is never constructed [INFO] [stderr] --> src/lib.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | struct Dynasm { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DynasmOpmap` is never constructed [INFO] [stderr] --> src/lib.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | struct DynasmOpmap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bitmask` is never used [INFO] [stderr] --> src/common.rs:434:8 [INFO] [stderr] | [INFO] [stderr] 434 | pub fn bitmask(scale: u8) -> u32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bitmask64` is never used [INFO] [stderr] --> src/common.rs:440:8 [INFO] [stderr] | [INFO] [stderr] 440 | pub fn bitmask64(scale: u8) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `evaluate_directive` is never used [INFO] [stderr] --> src/directive.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | pub(crate) fn evaluate_directive(file_data: &mut DynasmData, stmts: &mut Vec, directive: &Directive) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `directive_const` is never used [INFO] [stderr] --> src/directive.rs:114:4 [INFO] [stderr] | [INFO] [stderr] 114 | fn directive_const(file_data: &mut DynasmData, stmts: &mut Vec, values: &[Const], size: Size) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `Byte` should have a snake case name [INFO] [stderr] --> src/common.rs:398:12 [INFO] [stderr] | [INFO] [stderr] 398 | pub fn Byte(val: u8) -> Self { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `Word` should have a snake case name [INFO] [stderr] --> src/common.rs:402:12 [INFO] [stderr] | [INFO] [stderr] 402 | pub fn Word(val: u16) -> Self { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `word` [INFO] [stderr] [INFO] [stderr] warning: method `Dword` should have a snake case name [INFO] [stderr] --> src/common.rs:406:12 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn Dword(val: u32) -> Self { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dword` [INFO] [stderr] [INFO] [stderr] warning: method `Qword` should have a snake case name [INFO] [stderr] --> src/common.rs:410:12 [INFO] [stderr] | [INFO] [stderr] 410 | pub fn Qword(val: u64) -> Self { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `qword` [INFO] [stderr] [INFO] [stderr] warning: `dynasm-lib` (lib) generated 32 warnings [INFO] [stderr] warning: `dynasm-lib` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dynasm-8a89aa321a273dfb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dynasm [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "49f1bce81e42950f138bf9c2e3510bf4e40a327754c4531b1abb693f369ae201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f1bce81e42950f138bf9c2e3510bf4e40a327754c4531b1abb693f369ae201", kill_on_drop: false }` [INFO] [stdout] 49f1bce81e42950f138bf9c2e3510bf4e40a327754c4531b1abb693f369ae201