[INFO] cloning repository https://github.com/marcpabst/directx-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcpabst/directx-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcpabst%2Fdirectx-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcpabst%2Fdirectx-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c9cd3a1095351edb3588bcf6620f2bbd49bfe27 [INFO] testing marcpabst/directx-tests against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcpabst%2Fdirectx-tests" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcpabst/directx-tests [INFO] finished tweaking git repo https://github.com/marcpabst/directx-tests [INFO] tweaked toml for git repo https://github.com/marcpabst/directx-tests written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcpabst/directx-tests on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcpabst/directx-tests already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d68cc2b0e5e9ea855cf039d7c0b09af1de58972c84e12f949550a842696ea65 [INFO] running `Command { std: "docker" "start" "-a" "2d68cc2b0e5e9ea855cf039d7c0b09af1de58972c84e12f949550a842696ea65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d68cc2b0e5e9ea855cf039d7c0b09af1de58972c84e12f949550a842696ea65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d68cc2b0e5e9ea855cf039d7c0b09af1de58972c84e12f949550a842696ea65", kill_on_drop: false }` [INFO] [stdout] 2d68cc2b0e5e9ea855cf039d7c0b09af1de58972c84e12f949550a842696ea65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9781c6cde8e0e4e89a8b9e38e040dd360efafbf5542ffcc5e4270d2990cc274f [INFO] running `Command { std: "docker" "start" "-a" "9781c6cde8e0e4e89a8b9e38e040dd360efafbf5542ffcc5e4270d2990cc274f", kill_on_drop: false }` [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling directx-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling thread-priority v1.1.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling windows-result v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling windows-core v0.56.0 [INFO] [stderr] Compiling windows v0.56.0 [INFO] [stdout] warning: unused macro definition: `time` [INFO] [stdout] --> src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | macro_rules! time { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_delay1` [INFO] [stdout] --> src/main.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | let report_delay1 = (vblanc_timestamp_interupt - vblank_timestamp_wait) as f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_delay1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_delay2` [INFO] [stdout] --> src/main.rs:1037:13 [INFO] [stdout] | [INFO] [stdout] 1037 | let report_delay2 = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_delay2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_vblank_ms` [INFO] [stdout] --> src/main.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | let last_vblank_ms = vblanc_timestamp_interupt as f64 / qpc_frequency as f64 * 1000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_vblank_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variance` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn variance(data: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_dev` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn std_dev(data: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn mean(data: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mininum` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn mininum(data: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maximum` is never used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn maximum(data: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `report_stats` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn report_stats(data: &Vec, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VBlankEvent` is never used [INFO] [stdout] --> src/main.rs:1110:6 [INFO] [stdout] | [INFO] [stdout] 1110 | enum VBlankEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `validatems`, `tightgroupms`, `mschange`, `maxstore`, `lowestvalidhz`, and `javascript_skip` are never read [INFO] [stdout] --> src/refresh_rates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RefreshRateCalculator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 20 | validatems: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | tightgroupms: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | mschange: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | maxstore: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | lowestvalidhz: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | javascript_skip: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/refresh_rates.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl RefreshRateCalculator { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn restart_measuring(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn count_cycle(&mut self, current_time: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn ignore_next_cycle(&mut self, cycles: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_minimum_frequency(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_minimum_frequency(&mut self, hz: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_current_frequency(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_filtered_cycle_timestamp(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_raster_scanout_percentage(&self, current_time: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn cut(&self, arr: &[f64]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn add(&mut self, t_frame: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn calc(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn validate(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn snap(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snap` is never constructed [INFO] [stdout] --> src/refresh_rates.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | struct Snap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `adapter` and `frame_rate_calc` are never read [INFO] [stdout] --> src/main.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 366 | struct Resources { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 369 | adapter: IDXGIAdapter1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | frame_rate_calc: refresh_rates::RefreshRateCalculator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/main.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { DeleteDC(hdc) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { let _ = DeleteDC(hdc); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/main.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { DeleteDC(hdc) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { let _ = DeleteDC(hdc); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:944:18 [INFO] [stdout] | [INFO] [stdout] 944 | unsafe { swap_chain.GetFrameStatistics(&mut present_stats) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 944 | unsafe { let _ = swap_chain.GetFrameStatistics(&mut present_stats); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `NTSTATUS` that must be used [INFO] [stdout] --> src/main.rs:949:18 [INFO] [stdout] | [INFO] [stdout] 949 | unsafe { D3DKMTGetScanLine(scanline) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 949 | unsafe { let _ = D3DKMTGetScanLine(scanline); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `NTSTATUS` that must be used [INFO] [stdout] --> src/main.rs:952:22 [INFO] [stdout] | [INFO] [stdout] 952 | unsafe { D3DKMTGetScanLine(scanline) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 952 | unsafe { let _ = D3DKMTGetScanLine(scanline); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `NTSTATUS` that must be used [INFO] [stdout] --> src/main.rs:958:22 [INFO] [stdout] | [INFO] [stdout] 958 | unsafe { D3DKMTGetScanLine(scanline) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 958 | unsafe { let _ = D3DKMTGetScanLine(scanline); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:1005:18 [INFO] [stdout] | [INFO] [stdout] 1005 | unsafe { QueryPerformanceFrequency(&mut qpc_frequency) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1005 | unsafe { let _ = QueryPerformanceFrequency(&mut qpc_frequency); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `NTSTATUS` that must be used [INFO] [stdout] --> src/main.rs:1008:22 [INFO] [stdout] | [INFO] [stdout] 1008 | unsafe { D3DKMTGetScanLine(&mut scanline) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1008 | unsafe { let _ = D3DKMTGetScanLine(&mut scanline); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `NTSTATUS` that must be used [INFO] [stdout] --> src/main.rs:1012:22 [INFO] [stdout] | [INFO] [stdout] 1012 | unsafe { D3DKMTGetScanLine(&mut scanline) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1012 | unsafe { let _ = D3DKMTGetScanLine(&mut scanline); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:1021:18 [INFO] [stdout] | [INFO] [stdout] 1021 | unsafe { QueryPerformanceCounter(&mut vblank_timestamp_wait) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1021 | unsafe { let _ = QueryPerformanceCounter(&mut vblank_timestamp_wait); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:1031:18 [INFO] [stdout] | [INFO] [stdout] 1031 | unsafe { QueryPerformanceCounter(&mut later) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1031 | unsafe { let _ = QueryPerformanceCounter(&mut later); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcaMMdms/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsimple_logger-bab59fcdbcc561f4.rlib,libtime-a0d06d66d3d927bc.rlib,libnum_threads-c4f4444077fe3ead.rlib,libitoa-f2a0ee7c0dc5052c.rlib,libtime_core-f12b389051739070.rlib,libnum_conv-68ee3baea9d5f7f0.rlib,libderanged-0dc9a556716efd6b.rlib,libpowerfmt-4284c813f4b9cffc.rlib,libcolored-1c0b54c68280740a.rlib,libarray_init-1cebababdbc97866.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libwindows-c73c9edb5214cbd0.rlib,libwindows_core-8c114c01ed82beb5.rlib,libwindows_result-85b7f4593ddc2751.rlib,libwindows_targets-6dc093cb74a7ec88.rlib,libthread_priority-ad56603c9bd238be.rlib,liblog-bcf04d765f28482f.rlib,libbitflags-cf87df66a5c7a2cb.rlib,libcfg_if-66d55f6b302e88c8.rlib,liblibc-b63b84c10b2833a3.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcaMMdms/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Wdk::Graphics::Direct3D::D3DKMTGetScanLine': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Wdk/Graphics/Direct3D/mod.rs:355:(.text._ZN7windows3Wdk8Graphics8Direct3D17D3DKMTGetScanLine17hf26e23531c238347E+0x7): undefined reference to `D3DKMTGetScanLine' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Wdk::Graphics::Direct3D::D3DKMTOpenAdapterFromHdc': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Wdk/Graphics/Direct3D/mod.rs:421:(.text._ZN7windows3Wdk8Graphics8Direct3D24D3DKMTOpenAdapterFromHdc17h0f6d3c741002eec1E+0x7): undefined reference to `D3DKMTOpenAdapterFromHdc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::ShowWindow': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3124:(.text._ZN7windows5Win322UI19WindowsAndMessaging10ShowWindow17ha227abcd7adfcd3eE+0x33): undefined reference to `ShowWindow' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::LoadCursorW': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1923:(.text._ZN7windows5Win322UI19WindowsAndMessaging11LoadCursorW17hdadaa6aaccbbcdc7E+0xfb): undefined reference to `LoadCursorW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::PeekMessageA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:2387:(.text._ZN7windows5Win322UI19WindowsAndMessaging12PeekMessageA17h99f7038ede66ddcaE+0x6a): undefined reference to `PeekMessageA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::DefWindowProcA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:612:(.text._ZN7windows5Win322UI19WindowsAndMessaging14DefWindowProcA17h1830891f2b1c6732E+0x155): undefined reference to `DefWindowProcA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::CreateWindowExA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:528:(.text._ZN7windows5Win322UI19WindowsAndMessaging15CreateWindowExA17hcaf6ec3efbcec25dE+0x3a0): undefined reference to `CreateWindowExA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::PostQuitMessage': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:2428:(.text._ZN7windows5Win322UI19WindowsAndMessaging15PostQuitMessage17h6ffe9bcc24efabebE+0x7): undefined reference to `PostQuitMessage' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::AdjustWindowRect': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:7:(.text._ZN7windows5Win322UI19WindowsAndMessaging16AdjustWindowRect17h8a2931c5efa6b53eE+0x57): undefined reference to `AdjustWindowRect' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::DispatchMessageA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:759:(.text._ZN7windows5Win322UI19WindowsAndMessaging16DispatchMessageA17h628250e0ba7d9300E+0x7): undefined reference to `DispatchMessageA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::GetSystemMetrics': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1472:(.text._ZN7windows5Win322UI19WindowsAndMessaging16GetSystemMetrics17hc5938e2ddb51ce09E+0x7): undefined reference to `GetSystemMetrics' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::RegisterClassExA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:2492:(.text._ZN7windows5Win322UI19WindowsAndMessaging16RegisterClassExA17h7af81cbd87a0417aE+0x7): undefined reference to `RegisterClassExA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::TranslateMessage': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3213:(.text._ZN7windows5Win322UI19WindowsAndMessaging16TranslateMessage17h45b9e5de4a4205beE+0x7): undefined reference to `TranslateMessage' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::GetWindowLongPtrA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1529:(.text._ZN7windows5Win322UI19WindowsAndMessaging17GetWindowLongPtrA17h2d5c26a1e0398234E+0x33): undefined reference to `GetWindowLongPtrA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::UI::WindowsAndMessaging::SetWindowLongPtrA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3003:(.text._ZN7windows5Win322UI19WindowsAndMessaging17SetWindowLongPtrA17h428db2a593240235E+0x42): undefined reference to `SetWindowLongPtrA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Direct3D12::D3D12CreateDevice': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Direct3D12/mod.rs:9:(.text._ZN7windows5Win328Graphics10Direct3D1217D3D12CreateDevice17h1f2ee3bc27044dc3E+0x84): undefined reference to `D3D12CreateDevice' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Direct3D12::D3D12GetDebugInterface': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Direct3D12/mod.rs:32:(.text._ZN7windows5Win328Graphics10Direct3D1222D3D12GetDebugInterface17h15d14e06c82acb33E+0x1b): undefined reference to `D3D12GetDebugInterface' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Direct3D12::D3D12SerializeRootSignature': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Direct3D12/mod.rs:46:(.text._ZN7windows5Win328Graphics10Direct3D1227D3D12SerializeRootSignature17hc29bfc05b955cfa2E+0x6b): undefined reference to `D3D12SerializeRootSignature' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Gdi::EnumDisplayDevicesW': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Gdi/mod.rs:717:(.text._ZN7windows5Win328Graphics3Gdi19EnumDisplayDevicesW17h76ac16f354530250E+0x4e): undefined reference to `EnumDisplayDevicesW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Gdi::DeleteDC': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Gdi/mod.rs:550:(.text._ZN7windows5Win328Graphics3Gdi8DeleteDC17h8a4df53a6a55da06E+0x24): undefined reference to `DeleteDC' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Gdi::CreateDCW': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Gdi/mod.rs:293:(.text._ZN7windows5Win328Graphics3Gdi9CreateDCW17h53db64cc2f0bdc3cE+0x193): undefined reference to `CreateDCW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.0.rcgu.o: in function `windows::Win32::Graphics::Direct3D::Fxc::D3DCompileFromFile': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs:32:(.text._ZN7windows5Win328Graphics8Direct3D3Fxc18D3DCompileFromFile17h10ed7e56ebfc51aeE+0x31d): undefined reference to `D3DCompileFromFile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::System::Performance::QueryPerformanceCounter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/Performance/mod.rs:936:(.text._ZN7windows5Win326System11Performance23QueryPerformanceCounter17he3db34ffd56cdda6E+0x22): undefined reference to `QueryPerformanceCounter' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::System::Performance::QueryPerformanceFrequency': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/Performance/mod.rs:941:(.text._ZN7windows5Win326System11Performance25QueryPerformanceFrequency17h0f3c8e2145c23d06E+0x22): undefined reference to `QueryPerformanceFrequency' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::System::LibraryLoader::GetModuleHandleA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/LibraryLoader/mod.rs:253:(.text._ZN7windows5Win326System13LibraryLoader16GetModuleHandleA17hc6c0fa95ba6e6db0E+0x3c): undefined reference to `GetModuleHandleA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::System::Threading::CreateEventA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/Threading/mod.rs:298:(.text._ZN7windows5Win326System9Threading12CreateEventA17h1af331cb598218aeE+0x1cb): undefined reference to `CreateEventA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::System::Threading::WaitForSingleObject': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/Threading/mod.rs:2349:(.text._ZN7windows5Win326System9Threading19WaitForSingleObject17haa5b38db70e9cb6fE+0x33): undefined reference to `WaitForSingleObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/directx_tests-e81cbd89eb1ca441.directx_tests.26a08bf41c32efbd-cgu.3.rcgu.o: in function `windows::Win32::Graphics::Dxgi::CreateDXGIFactory2': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Graphics/Dxgi/mod.rs:28:(.text._ZN7windows5Win328Graphics4Dxgi18CreateDXGIFactory217h8cb202796cc66a27E+0x34): undefined reference to `CreateDXGIFactory2' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-8c114c01ed82beb5.rlib(windows_core-8c114c01ed82beb5.windows_core.c82f3b65139d0487-cgu.7.rcgu.o): in function `windows_core::imp::heap::heap_alloc': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.56.0/src/imp/heap.rs:10:(.text._ZN12windows_core3imp4heap10heap_alloc17hb4b80c3cd4bf16c6E+0x1a): undefined reference to `GetProcessHeap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.56.0/src/imp/heap.rs:10:(.text._ZN12windows_core3imp4heap10heap_alloc17hb4b80c3cd4bf16c6E+0x2a): undefined reference to `HeapAlloc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-8c114c01ed82beb5.rlib(windows_core-8c114c01ed82beb5.windows_core.c82f3b65139d0487-cgu.7.rcgu.o): in function `windows_core::imp::heap::heap_free': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.56.0/src/imp/heap.rs:34:(.text._ZN12windows_core3imp4heap9heap_free17h275d111270178ed5E+0x10): undefined reference to `GetProcessHeap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.56.0/src/imp/heap.rs:34:(.text._ZN12windows_core3imp4heap9heap_free17h275d111270178ed5E+0x20): undefined reference to `HeapFree' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/strings.rs:15:(.text._ZN77_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$4drop17h5605704ce58d3079E+0x1d): undefined reference to `GetProcessHeap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/strings.rs:15:(.text._ZN77_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$4drop17h5605704ce58d3079E+0x30): undefined reference to `HeapFree' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `windows_result::strings::BasicString::len': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/strings.rs:33:(.text._ZN14windows_result7strings11BasicString3len17h01ca6cb8e377a6f8E+0x23): undefined reference to `SysStringLen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/strings.rs:60:(.text._ZN78_$LT$windows_result..strings..BasicString$u20$as$u20$core..ops..drop..Drop$GT$4drop17hb02bd160c7911038E+0x25): undefined reference to `SysFreeString' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `windows_result::error::Error::from_win32': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/error.rs:42:(.text._ZN14windows_result5error5Error10from_win3217h78acc4dcefe2cdeeE+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `>::from': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/error.rs:122:(.text._ZN108_$LT$windows_result..error..Error$u20$as$u20$core..convert..From$LT$windows_result..hresult..HRESULT$GT$$GT$4from17h7351a4f431e7ebc1E+0x18): undefined reference to `GetErrorInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_result-85b7f4593ddc2751.rlib(windows_result-85b7f4593ddc2751.windows_result.1df7fe4e9ad9b83b-cgu.0.rcgu.o): in function `windows_result::hresult::HRESULT::message': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/hresult.rs:81:(.text._ZN14windows_result7hresult7HRESULT7message17h971c4f24a1a004faE+0xed): undefined reference to `LoadLibraryExA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-result-0.1.1/src/hresult.rs:84:(.text._ZN14windows_result7hresult7HRESULT7message17h971c4f24a1a004faE+0x112): undefined reference to `FormatMessageW' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `directx-tests` (bin "directx-tests") due to 1 previous error; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9781c6cde8e0e4e89a8b9e38e040dd360efafbf5542ffcc5e4270d2990cc274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9781c6cde8e0e4e89a8b9e38e040dd360efafbf5542ffcc5e4270d2990cc274f", kill_on_drop: false }` [INFO] [stdout] 9781c6cde8e0e4e89a8b9e38e040dd360efafbf5542ffcc5e4270d2990cc274f