Description
The source code I'm building: https://github.com/Eclipse-Community/rust9xdesk
RustDesk can't compile with Rust 1.78.0+ and they still use 1.75.0, the closest here is 1.76.0, so I grabbed it. I can compile RustDesk fine with the default x86_x64-pc-windows-msvc target, but if I use either rust9x target, compiling fails.
I don't really expect you to make a new 1.76.0 release, but I would like to know what to look for, either to make my own build, or to fix RustDesk to compile with rust9x.
I started with the master branch, and the error there occurs when compiling nokhwa, so I figured remove nokhwa from it, and it should work. Except nope it does not. I also discovered nokhwa compiles fine by itself. (after downgrading mozjpeg to match RustDesk's version)
This is what I get when building RustDesk with nokhwa (1.39/master)
Admin@FurryFoxVM-22H2 MINGW64 ~/Documents/GitHub/rust9xdesk (master)
$ cargo build --target=x86_64-rust9x-windows-msvc --verbose
Fresh unicode-ident v1.0.12
Fresh autocfg v1.3.0
Fresh shlex v1.3.0
Fresh jobserver v0.1.31
Fresh pkg-config v0.3.30
Fresh cfg-if v1.0.0
Fresh cc v1.2.13
Fresh windows_x86_64_msvc v0.52.5
Fresh proc-macro2 v1.0.93
Fresh windows-targets v0.52.5
Fresh version_check v0.9.4
Fresh memchr v2.7.4
Fresh quote v1.0.36
Fresh windows-sys v0.52.0
Fresh syn v2.0.98
Fresh libc v0.2.155
Fresh minimal-lexical v0.2.1
Fresh simd-adler32 v0.3.7
Fresh serde_derive v1.0.203
Fresh thiserror-impl v1.0.61
Fresh futures-macro v0.3.31
Fresh tokio-macros v2.3.0
Fresh winapi v0.3.9
Fresh nom v7.1.3
Fresh once_cell v1.19.0
Fresh autocfg v0.1.8
Fresh serde v1.0.203
Fresh clang-sys v1.8.1
Fresh cexpr v0.6.0
Fresh rand_core v0.4.2
Fresh peeking_take_while v0.1.2
Fresh rustc-hash v1.1.0
Fresh adler v1.0.2
Fresh lazycell v1.3.0
Fresh atty v0.2.14
Fresh miniz_oxide v0.7.4
Fresh unicode-width v0.1.13
Fresh bytes v1.9.0
Fresh crc32fast v1.4.2
Fresh strsim v0.8.0
Fresh vec_map v0.8.2
Fresh env_logger v0.9.3
Fresh either v1.13.0
Fresh textwrap v0.11.0
Fresh flate2 v1.0.30
Fresh rand_core v0.3.1
Fresh same-file v1.0.6
Fresh clap v2.34.0
Fresh thiserror v1.0.61
Fresh walkdir v2.5.0
Fresh windows_x86_64_msvc v0.48.5
Fresh bindgen v0.59.2
Fresh windows-targets v0.48.5
Fresh num-traits v0.2.19
Fresh fastrand v2.1.0
Fresh unicode-xid v0.1.0
Fresh bytemuck v1.21.0
Fresh proc-macro2 v0.4.30
Fresh tempfile v3.10.1
Fresh siphasher v0.2.3
Fresh byteorder v1.5.0
Fresh subtle v2.6.1
Fresh bitflags v1.3.2
Fresh rand_pcg v0.1.2
Fresh rand_chacha v0.1.1
Fresh quote v0.6.13
Fresh phf_shared v0.7.24
Fresh protobuf-parse v3.5.0
Fresh rand_xorshift v0.1.1
Fresh rand_isaac v0.1.1
Fresh rand_hc v0.1.0
Fresh rand_os v0.1.3
Fresh rand_jitter v0.1.4
Fresh pin-project-internal v1.1.5
Fresh fdeflate v0.3.4
Fresh hashbrown v0.14.5
Fresh equivalent v1.0.1
Fresh log v0.4.22
Fresh protobuf-codegen v3.5.0
Fresh rand v0.6.5
Fresh aho-corasick v1.1.3
Fresh regex-syntax v0.8.4
Fresh crossbeam-utils v0.8.20
Fresh png v0.17.13
Fresh syn v0.15.44
Fresh indexmap v2.2.6
Fresh regex-automata v0.4.7
Fresh phf_generator v0.7.24
Fresh windows-sys v0.48.0
Fresh nasm-rs v0.3.0
Fresh lazy_static v1.5.0
Fresh dlopen_derive v0.1.4
Fresh dunce v1.0.5
Fresh pin-project-lite v0.2.14
Fresh dasp_sample v0.11.0
Fresh regex v1.10.5
Fresh phf_codegen v0.7.24
Fresh futures-core v0.3.31
Fresh smallvec v1.13.2
Fresh futures-sink v0.3.31
Fresh scopeguard v1.2.0
Fresh slab v0.4.9
Fresh typenum v1.17.0
Fresh num-traits v0.1.43
Fresh futures-channel v0.3.31
Fresh lock_api v0.4.12
Fresh parking_lot_core v0.9.10
Fresh pin-utils v0.1.0
Fresh serde v0.9.15
Fresh futures-io v0.3.31
Fresh dtoa v0.4.8
Fresh itoa v0.3.4
Fresh futures-task v0.3.31
Fresh generic-array v0.14.7
Fresh serde_json v0.9.10
Fresh parking_lot v0.12.3
Fresh mozjpeg-sys v2.2.2
Fresh futures-util v0.3.31
Fresh anyhow v1.0.86
Fresh dasp_frame v0.11.0
Fresh image v0.25.1
Fresh crossbeam-epoch v0.9.18
Fresh mio v0.8.11
Fresh phf v0.7.24
Fresh rgb v0.8.50
Fresh spin v0.9.8
Fresh nanorand v0.7.0
Fresh thiserror-impl v2.0.11
Fresh winapi-util v0.1.8
Fresh socket2 v0.5.7
Fresh getrandom v0.2.15
Fresh tinyvec_macros v0.1.1
Fresh arrayvec v0.7.6
Fresh num_cpus v1.16.0
Fresh termcolor v1.4.1
Fresh thiserror v2.0.11
Fresh flume v0.11.0
Fresh crossbeam-deque v0.8.5
Fresh target_build_utils v0.3.1
Fresh tokio v1.38.0
Fresh tinyvec v1.6.1
Fresh mozjpeg v0.10.11
Fresh protobuf-support v3.5.0
Fresh bitflags v2.6.0
Fresh dirs-sys-next v0.1.2
Fresh humantime v2.1.0
Fresh glob v0.3.1
Fresh fnv v1.0.7
Fresh nokhwa-core v0.1.5 (https://github.com/rustdesk-org/nokhwa.git?branch=fix_from_raw_parts#3e251207)
Fresh unicode-normalization v0.1.23
Fresh protobuf v3.5.0
Compiling sysinfo v0.29.10 (https://github.com/rustdesk-org/sysinfo?branch=rlim_max#90b1705d)
Fresh http v0.2.12
Fresh rayon-core v1.12.1
Fresh rand_core v0.6.4
Fresh zstd-sys v2.0.11+zstd.1.5.6
Fresh block-buffer v0.10.4
Fresh crypto-common v0.1.6
Running `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name sysinfo --edition=2018 'C:\Users\Admin\.cargo\git\checkouts\sysinfo-21cfb02656c5bb64\90b1705\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="multithread"' --cfg 'feature="rayon"' -C metadata=9203cf329c920874 -C extra-filename=-9203cf329c920874 --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' --target x86_64-rust9x-windows-msvc -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'cfg_if=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libcfg_if-ed22769928c8bff6.rmeta' --extern 'libc=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\liblibc-13b13ed8c5d81917.rmeta' --extern 'ntapi=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libntapi-80551aeaf9cef594.rmeta' --extern 'once_cell=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libonce_cell-6f265ef272767528.rmeta' --extern 'rayon=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\librayon-d9d62d495bdde20b.rmeta' --extern 'windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libwindows-75be117ed4bbbf3d.rmeta' --cap-lints allow`
Fresh windows-core v0.51.1
Fresh tracing-core v0.1.32
Fresh serde_spanned v0.6.6
Fresh toml_datetime v0.6.3
Fresh schannel v0.1.23
Fresh is-terminal v0.4.12
Fresh toml v0.5.11
Fresh weezl v0.1.8
Fresh winnow v0.5.40
Fresh dasp_ring_buffer v0.11.0
Fresh percent-encoding v2.3.1
Fresh signature v1.6.4
Fresh unicode-bidi v0.3.15
Fresh ppv-lite86 v0.2.17
Fresh libsodium-sys v0.2.7
Fresh native-tls v0.2.12
Fresh ntapi v0.4.1
Fresh tracing v0.1.40
Fresh rand_chacha v0.3.1
Fresh form_urlencoded v1.2.1
Fresh idna v0.5.0
Fresh toml_edit v0.19.15
Fresh ed25519 v1.5.3
Fresh windows v0.51.1
Fresh zstd-safe v7.1.0
Fresh digest v0.10.7
Fresh rayon v1.10.0
Fresh directories-next v2.0.0
Fresh prettyplease v0.2.20
Fresh tokio-util v0.7.11
Fresh futures-executor v0.3.30
Fresh crossbeam-channel v0.5.13
Fresh crossbeam-queue v0.3.11
Fresh nu-ansi-term v0.49.0
Fresh pin-project v1.1.5
Fresh jpeg-decoder v0.3.1
Fresh chrono v0.4.38
Fresh zune-inflate v0.2.54
Fresh winreg v0.11.0
Fresh half v2.4.1
Fresh anstyle v1.0.7
Fresh itoa v1.0.11
Fresh cpufeatures v0.2.12
Fresh lebe v0.5.2
Fresh utf8parse v0.2.2
Fresh color_quant v1.1.0
Fresh rustc-demangle v0.1.24
Fresh windows-targets v0.42.2
Fresh bit_field v0.10.2
Fresh try-lock v0.2.5
Fresh error-code v3.2.0
Fresh unicode-segmentation v1.11.0
Fresh ryu v1.0.18
Fresh backtrace v0.3.73
Fresh anstyle-wincon v3.0.3
Fresh want v0.3.1
Fresh anstyle-parse v0.2.4
Fresh sha2 v0.10.8
Fresh exr v1.72.0
Fresh gif v0.13.1
Fresh machine-uid v0.3.0 (https://github.com/rustdesk-org/machine-uid#381ff579)
Fresh tiff v0.9.1
Fresh tokio-socks v0.5.2-1 (https://github.com/rustdesk-org/tokio-socks#94e97c6d)
Fresh serde_json v1.0.118
Fresh flexi_logger v0.27.4
Fresh httparse v1.9.4
Fresh rustversion v1.0.17
Fresh zstd v0.13.1
Fresh rand v0.8.5
Fresh syn v1.0.109
Fresh bindgen v0.65.1
Fresh url v2.5.2
Fresh sodiumoxide v0.2.7
Fresh confy v0.4.0-2 (https://github.com/rustdesk-org/confy#83db9ec1)
Fresh futures v0.3.30
Fresh toml v0.7.8
Running `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name sysinfo --edition=2018 'C:\Users\Admin\.cargo\git\checkouts\sysinfo-21cfb02656c5bb64\90b1705\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="multithread"' --cfg 'feature="rayon"' -C metadata=fc442ab62bb11972 -C extra-filename=-fc442ab62bb11972 --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'cfg_if=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\libcfg_if-7d52587b919030da.rmeta' --extern 'libc=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\liblibc-69c2ba36c89a4ea9.rmeta' --extern 'ntapi=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\libntapi-00dfedb9ed5b48e7.rmeta' --extern 'once_cell=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\libonce_cell-dc59d8a147654442.rmeta' --extern 'rayon=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\librayon-6bd46fde8ac9d943.rmeta' --extern 'windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\libwindows-d88381b550cf5582.rmeta' --cap-lints allow -L 'native=C:\Users\Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.48.5\lib'`
Fresh tokio-native-tls v0.3.1
Fresh dasp_rms v0.11.0
Fresh h2 v0.3.26
Fresh env_logger v0.10.2
Fresh http-body v0.4.6
Fresh dirs-next v2.0.0
Fresh uuid v1.9.1
Fresh dasp_peak v0.11.0
Fresh dlopen v0.1.8
Fresh hmac v0.12.1
Fresh qoi v0.4.1
Fresh default_net v0.1.0 (https://github.com/rustdesk-org/default_net#78f8f70c)
Fresh inout v0.1.3
Fresh enum-map-derive v0.17.0
Fresh errno v0.3.9
Fresh filetime v0.2.23
Fresh anstyle-query v1.1.0
Fresh mac_address v1.1.7
Fresh windows-result v0.1.2
Fresh socket2 v0.3.19
Fresh powerfmt v0.2.0
Fresh heck v0.4.1
Fresh is_terminal_polyfill v1.70.0
Fresh colorchoice v1.0.1
Fresh windows v0.43.0
Fresh base64 v0.22.1
Fresh tower-service v0.3.2
Fresh base64ct v1.6.0
Fresh widestring v1.1.0
Fresh httpdate v1.0.3
Fresh strum_macros v0.24.3
Fresh rustix v0.38.34
Fresh enum-map v2.7.3
Fresh windows-core v0.54.0
Fresh anstream v0.6.14
Fresh deranged v0.3.11
Fresh nokhwa-bindings-windows v0.4.2 (https://github.com/rustdesk-org/nokhwa.git?branch=fix_from_raw_parts#3e251207)
Fresh cipher v0.4.4
Fresh hyper v0.14.29
Fresh password-hash v0.4.2
Fresh dasp_envelope v0.11.0
Fresh image v0.24.9
Fresh bzip2-sys v0.1.11+1.0.8
Fresh nokhwa-bindings-macos v0.2.2 (https://github.com/rustdesk-org/nokhwa.git?branch=fix_from_raw_parts#3e251207)
Fresh zstd-safe v5.0.2+zstd.1.5.2
Fresh paste v1.0.15
Fresh webm-sys v1.0.4 (https://github.com/rustdesk-org/rust-webm#d2c4d3ac)
Fresh keyboard-types v0.7.0
Fresh dasp_interpolate v0.11.0
Fresh winres v0.1.12
Fresh nokhwa-bindings-linux v0.1.1 (https://github.com/rustdesk-org/nokhwa.git?branch=fix_from_raw_parts#3e251207)
Fresh dasp_window v0.11.1
Fresh sha1 v0.10.6
Fresh os-version v0.2.0
Fresh num-integer v0.1.46
Fresh windows-implement v0.52.0
Fresh windows-interface v0.52.0
Fresh home v0.5.9
Fresh windows-core v0.52.0
Fresh strsim v0.11.1
Fresh utf8-width v0.1.7
Fresh strum v0.24.1
Fresh time-core v0.1.2
Fresh clap_lex v0.7.1
Fresh windows v0.34.0
Fresh dpi v0.1.1
Fresh num-conv v0.1.0
Fresh which v4.4.2
Fresh dasp_signal v0.11.0
Fresh windows v0.52.0
Fresh num-bigint v0.4.6
Fresh rdev v0.5.0-2 (https://github.com/rustdesk-org/rdev#f9b60b1d)
Fresh clap_builder v4.5.8
Fresh time v0.3.36
Fresh html-escape v0.2.13
Fresh muda v0.13.5
Fresh win-sys v0.3.1
Compiling nokhwa v0.10.7 (https://github.com/rustdesk-org/nokhwa.git?branch=fix_from_raw_parts#3e251207)
Fresh pbkdf2 v0.11.0
Fresh webm v1.1.0 (https://github.com/rustdesk-org/rust-webm#d2c4d3ac)
Fresh bzip2 v0.4.4
Running `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name nokhwa --edition=2021 'C:\Users\Admin\.cargo\git\checkouts\nokhwa-9d52d7a160c16da6\3e25120\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type cdylib --crate-type rlib --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="decoding"' --cfg 'feature="default"' --cfg 'feature="input-avfoundation"' --cfg 'feature="input-msmf"' --cfg 'feature="input-native"' --cfg 'feature="input-v4l"' --cfg 'feature="nokhwa-bindings-linux"' --cfg 'feature="nokhwa-bindings-macos"' --cfg 'feature="nokhwa-bindings-windows"' -C metadata=3a0eb7c089faa46e -C extra-filename=-3a0eb7c089faa46e --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' --target x86_64-rust9x-windows-msvc -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'flume=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libflume-059d35d1e66b98a1.rlib' --extern 'image=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libimage-0ce37ebae025bff2.rlib' --extern 'nokhwa_bindings_linux=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_linux-2fe7ce4b9b22a399.rlib' --extern 'nokhwa_bindings_macos=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_macos-db4e599d3a580149.rlib' --extern 'nokhwa_bindings_windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_windows-6f9ade8c0e650b84.rlib' --extern 'nokhwa_core=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_core-8408e86c7abd38fe.rlib' --extern 'paste=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\paste-7aa54f4c4a8775b9.dll' --extern 'thiserror=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libthiserror-3b3a67dce0780162.rlib' --cap-lints allow -L 'native=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\lib\x64' -L 'native=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\build\mozjpeg-sys-d316a6c639c9f98d\out'`
Fresh hyper-tls v0.5.0
Fresh zstd v0.11.2+zstd.1.5.2
Fresh tfc v0.7.0 (https://github.com/rustdesk-org/The-Fat-Controller?branch=history/rebase_upstream_20240722#78bb80a8)
Fresh libm v0.2.8
Fresh aes v0.8.4
Fresh windows v0.54.0
Fresh windows-sys v0.45.0
Fresh clipboard-win v5.4.0
Fresh windows v0.44.0
Fresh windows-win v3.0.0
Fresh dasp_slice v0.11.0
Fresh serde_urlencoded v0.7.1
Fresh tokio-socks v0.5.1
Fresh async-compression v0.4.11
Fresh rtoolbox v0.0.2
Fresh winreg v0.50.0
Fresh quick-xml v0.30.0
Fresh windows-version v0.1.1
Fresh encoding_rs v0.8.34
Fresh instant v0.1.13
Fresh constant_time_eq v0.2.6
Fresh base32 v0.4.0
Fresh base64 v0.21.7
Fresh raw-window-handle v0.6.2
Fresh urlencoding v2.1.3
Fresh constant_time_eq v0.1.5
Fresh windows v0.32.0
Fresh ipnet v2.9.0
Fresh sync_wrapper v0.1.2
Fresh debug-helper v0.3.13
Fresh mime v0.3.17
Fresh memalloc v0.1.0
Fresh qrcodegen v1.8.0
Compiling tauri-winrt-notification v0.1.3
Fresh totp-rs v5.5.1
Compiling tao v0.25.0 (https://github.com/rustdesk-org/tao?branch=dev#288c219c)
Fresh rpassword v7.3.1
Fresh arboard v3.4.0 (https://github.com/rustdesk-org/arboard#4e16bad2)
Running `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name tao --edition=2021 'C:\Users\Admin\.cargo\git\checkouts\tao-06d58dca235485e6\288c219\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="rwh_06"' -C metadata=63f409ed78bcde09 -C extra-filename=-63f409ed78bcde09 --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' --target x86_64-rust9x-windows-msvc -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'bitflags=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libbitflags-9d3efea857bc3288.rmeta' --extern 'crossbeam_channel=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libcrossbeam_channel-48dcf4937853ab2c.rmeta' --extern 'image=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libimage-954227f752895435.rmeta' --extern 'instant=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libinstant-3e8e15aab9aff226.rmeta' --extern 'lazy_static=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\liblazy_static-9120b837b9f30639.rmeta' --extern 'libc=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\liblibc-13b13ed8c5d81917.rmeta' --extern 'log=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\liblog-285bcf65c7cfa6ae.rmeta' --extern 'once_cell=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libonce_cell-6f265ef272767528.rmeta' --extern 'parking_lot=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libparking_lot-703ab2f61e790bf5.rmeta' --extern 'rwh_06=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libraw_window_handle-fbd69e936fc04e7d.rmeta' --extern 'unicode_segmentation=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libunicode_segmentation-bee4e6534caf4e5a.rmeta' --extern 'url=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\liburl-612b4b5d69dd30b6.rmeta' --extern 'windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libwindows-85ecf3a941272fa9.rmeta' --extern 'windows_implement=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\windows_implement-c93adaa5bd900f93.dll' --extern 'windows_version=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libwindows_version-61d8c665fa12a427.rmeta' --cap-lints allow -L 'native=C:\Users\Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib'`
Fresh qrcode-generator v4.1.9
Fresh cidr-utils v0.5.11
Fresh default-net v0.14.1
Fresh reqwest v0.11.23 (https://github.com/rustdesk-org/reqwest#9cb758c9)
Fresh zip v0.6.6
Fresh dasp v0.11.0
Fresh clipboard-master v4.0.0-beta.6 (https://github.com/rustdesk-org/clipboard-master#4fb62e5b)
Fresh cpal v0.15.3 (https://github.com/rustdesk-org/cpal?branch=osx-screencapturekit#6b374bca)
Fresh system_shutdown v4.0.1
Fresh windows-service v0.6.0
Fresh fon v0.6.0
Fresh shared_memory v0.12.4
Fresh magnum-opus v0.4.0 (https://github.com/rustdesk-org/magnum-opus#5cd2bf98)
Fresh impersonate_system v0.1.0 (https://github.com/rustdesk-org/impersonate-system#2f429010)
Fresh clap v4.5.8
Fresh tray-icon v0.14.3 (https://github.com/tauri-apps/tray-icon#d4078696)
Fresh runas v1.2.0
Fresh parity-tokio-ipc v0.7.3-4 (https://github.com/rustdesk-org/parity-tokio-ipc#3623ec9e)
Fresh wallpaper v3.2.0 (https://github.com/rustdesk-org/wallpaper.rs#ce4a0cd3)
Fresh sciter-rs v0.5.57 (https://github.com/rustdesk-org/rust-sciter?branch=dyn#5322f3a7)
Fresh repng v0.2.2
Fresh ringbuf v0.3.3
Running `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name tauri_winrt_notification --edition=2021 'C:\Users\Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-winrt-notification-0.1.3\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a2281832877be102 -C extra-filename=-a2281832877be102 --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' --target x86_64-rust9x-windows-msvc -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'quick_xml=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libquick_xml-c86b6e779a9b3fef.rmeta' --extern 'windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libwindows-75be117ed4bbbf3d.rmeta' --cap-lints allow`
Fresh serde_repr v0.1.19
Fresh async-trait v0.1.80
Fresh ctrlc v3.4.4
Fresh libloading v0.8.4
Fresh hex v0.4.3
Fresh wol-rs v1.0.1
Fresh whoami v1.5.1
Fresh sys-locale v0.3.1
Fresh shutdown_hooks v0.1.0
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\link.exe" "/DEF:C:\\Users\\Admin\\AppData\\Local\\Temp\\rustcDNDfhY\\lib.def" "/NOLOGO" "C:\\Users\\Admin\\AppData\\Local\\Temp\\rustcDNDfhY\\symbols.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.0.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.1.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.2.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.3.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.4.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.nokhwa.ebe91d664f6dc73a-cgu.5.rcgu.o" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.1wt3rinj62qv7w0v.rcgu.o" "/LIBPATH:C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps" "/LIBPATH:C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\debug\\deps" "/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\lib\\x64" "/LIBPATH:C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\build\\mozjpeg-sys-d316a6c639c9f98d\\out" "/LIBPATH:C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libnokhwa_bindings_windows-6f9ade8c0e650b84.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libwindows-a14aa0e4ada98397.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libonce_cell-6f265ef272767528.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libnokhwa_core-8408e86c7abd38fe.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libmozjpeg-da3e42b3f3783699.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libarrayvec-a7dcce79361a19cb.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libmozjpeg_sys-e2df4946b2a58b5e.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\liblibc-13b13ed8c5d81917.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libthiserror-3b3a67dce0780162.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libimage-0ce37ebae025bff2.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libbytemuck-cbe0c5475abd8db0.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libbyteorder-d9c4b0257ed2a608.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libpng-36bdee0c281260ef.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libflate2-9177cc28c4c405c6.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libminiz_oxide-a72bbf6f8b87f4c4.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libfdeflate-1d058f92bd93e41d.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libsimd_adler32-c997f5b5caf76367.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libcrc32fast-97cd4da661847c31.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libcfg_if-ed22769928c8bff6.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libbitflags-9d3efea857bc3288.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libnum_traits-6546620619a0a423.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libbytes-c21b4c5aec082423.rlib" "C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\libserde-4dc05a0020f91804.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libstd-d9ad99d56e5890d0.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libpanic_unwind-4cb6e9c3930819e5.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\librustc_demangle-d91608a9bd87b78e.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libstd_detect-7d8d066e63ea67fd.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libhashbrown-93e7c81dbbd9c3f1.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\librustc_std_workspace_alloc-3444bd8a16f9c406.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libunwind-df1e3266283c6817.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libcfg_if-17077e36ca7cf54a.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\liblibc-296f6c24dbd19fde.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\liballoc-d680168ba0745204.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\librustc_std_workspace_core-fa29cd3dd566d37f.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libcore-db067dddd44599d5.rlib" "C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib\\libcompiler_builtins-c560e1614b9503da.rlib" "windows.lib" "legacy_stdio_definitions.lib" "kernel32.lib" "advapi32.lib" "bcrypt.lib" "kernel32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "kernel32.lib" "ntdll.lib" "kernel32.lib" "msvcrt.lib" "/NXCOMPAT" "/LIBPATH:C:\\rust9x-1.76.0\\lib\\rustlib\\x86_64-rust9x-windows-msvc\\lib" "/OUT:C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.dll" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:C:\\Users\\Admin\\Documents\\GitHub\\rust9xdesk\\target\\x86_64-rust9x-windows-msvc\\debug\\deps\\nokhwa-3a0eb7c089faa46e.dll.lib" "/DEBUG" "/NATVIS:C:\\rust9x-1.76.0\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\rust9x-1.76.0\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\rust9x-1.76.0\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\rust9x-1.76.0\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'windows.lib'
error: could not compile `nokhwa` (lib) due to 1 previous error
Caused by:
process didn't exit successfully: `C:\Users\Admin\.rustup\toolchains\rust9x-1.76.0\bin\rustc.exe --crate-name nokhwa --edition=2021 'C:\Users\Admin\.cargo\git\checkouts\nokhwa-9d52d7a160c16da6\3e25120\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type cdylib --crate-type rlib --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="decoding"' --cfg 'feature="default"' --cfg 'feature="input-avfoundation"' --cfg 'feature="input-msmf"' --cfg 'feature="input-native"' --cfg 'feature="input-v4l"' --cfg 'feature="nokhwa-bindings-linux"' --cfg 'feature="nokhwa-bindings-macos"' --cfg 'feature="nokhwa-bindings-windows"' -C metadata=3a0eb7c089faa46e -C extra-filename=-3a0eb7c089faa46e --out-dir 'C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' --target x86_64-rust9x-windows-msvc -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps' -L 'dependency=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps' --extern 'flume=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libflume-059d35d1e66b98a1.rlib' --extern 'image=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libimage-0ce37ebae025bff2.rlib' --extern 'nokhwa_bindings_linux=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_linux-2fe7ce4b9b22a399.rlib' --extern 'nokhwa_bindings_macos=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_macos-db4e599d3a580149.rlib' --extern 'nokhwa_bindings_windows=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_bindings_windows-6f9ade8c0e650b84.rlib' --extern 'nokhwa_core=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libnokhwa_core-8408e86c7abd38fe.rlib' --extern 'paste=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\debug\deps\paste-7aa54f4c4a8775b9.dll' --extern 'thiserror=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\deps\libthiserror-3b3a67dce0780162.rlib' --cap-lints allow -L 'native=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\lib\x64' -L 'native=C:\Users\Admin\Documents\GitHub\rust9xdesk\target\x86_64-rust9x-windows-msvc\debug\build\mozjpeg-sys-d316a6c639c9f98d\out'` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
This is what I get when building RustDesk without nokhwa (1.39/master with camera commit reverted)
Apparently GitHub has a character limit, so.
https://pastebin.com/fdMp5QcC