[INFO] fetching crate cue-sdk 0.0.3... [INFO] testing cue-sdk-0.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cue-sdk 0.0.3 into /workspace/builds/worker-104/source [INFO] validating manifest of crates.io crate cue-sdk 0.0.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cue-sdk 0.0.3 [INFO] finished tweaking crates.io crate cue-sdk 0.0.3 [INFO] tweaked toml for crates.io crate cue-sdk 0.0.3 written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate crates.io crate cue-sdk 0.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e57aba95be2f25dea1c4cbbb0c4be287d132d2952e5b064fa57b14e65257b7b5 [INFO] running `Command { std: "docker" "start" "-a" "e57aba95be2f25dea1c4cbbb0c4be287d132d2952e5b064fa57b14e65257b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e57aba95be2f25dea1c4cbbb0c4be287d132d2952e5b064fa57b14e65257b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57aba95be2f25dea1c4cbbb0c4be287d132d2952e5b064fa57b14e65257b7b5", kill_on_drop: false }` [INFO] [stdout] e57aba95be2f25dea1c4cbbb0c4be287d132d2952e5b064fa57b14e65257b7b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2ecd0acfaaf2e5063bd60cc3f9e41506da255742bbcdf22d2ffcd99797304c [INFO] running `Command { std: "docker" "start" "-a" "4f2ecd0acfaaf2e5063bd60cc3f9e41506da255742bbcdf22d2ffcd99797304c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cue-sdk-sys v0.0.5 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling semver-parser v0.10.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cue-sdk v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.64s [INFO] running `Command { std: "docker" "inspect" "4f2ecd0acfaaf2e5063bd60cc3f9e41506da255742bbcdf22d2ffcd99797304c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2ecd0acfaaf2e5063bd60cc3f9e41506da255742bbcdf22d2ffcd99797304c", kill_on_drop: false }` [INFO] [stdout] 4f2ecd0acfaaf2e5063bd60cc3f9e41506da255742bbcdf22d2ffcd99797304c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3d734ba00a33de4af208a3c4737854a2b136c274fe23f7b9457809b4cb109c3 [INFO] running `Command { std: "docker" "start" "-a" "b3d734ba00a33de4af208a3c4737854a2b136c274fe23f7b9457809b4cb109c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling cue-sdk v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task` [INFO] [stdout] --> examples/events.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let handle = task::sleep(Duration::from_secs(5)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/access_control.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut sdk = cue_sdk::initialize().expect("failed to initialize sdk"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> examples/async.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | warn!("No devices found.") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::warn [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cue_sdk::sdk::GetAllDevicesError` [INFO] [stdout] --> examples/async.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cue_sdk::sdk::GetAllDevicesError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CueDevice`, `DeviceType` [INFO] [stdout] --> examples/async.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use cue_sdk::device::{CueDevice, DeviceType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CueEventFromFfiError`, `CueEvent` [INFO] [stdout] --> examples/async.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use cue_sdk::event::{CueEvent, CueEventFromFfiError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BooleanPropertyKey`, `Int32PropertyKey` [INFO] [stdout] --> examples/async.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use cue_sdk::property::{BooleanPropertyKey, Int32PropertyKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `protocol_details` of struct `CueSdkClient` is private [INFO] [stdout] --> examples/initialization.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | info!("SDK protocol details: {:?}", sdk_client.protocol_details); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0616]: field `priority` of struct `CueSdkClient` is private [INFO] [stdout] --> examples/initialization.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | info!("Initial layer priority: {:?}", sdk_client.priority); [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cue-sdk` due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `flush_led_colors_update_buffer_async` found for struct `CueSdkClient` in the current scope [INFO] [stdout] --> examples/async.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | sdk.flush_led_colors_update_buffer_async() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `flush_led_colors_update_buffer_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `subscribe_for_events_async` found for struct `CueSdkClient` in the current scope [INFO] [stdout] --> examples/async.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | .subscribe_for_events_async() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `subscribe_for_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@examples/async.rs:19:17: 87:6]` is not a future [INFO] [stdout] --> examples/async.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | rt.block_on(|| async { [INFO] [stdout] | ^^^^^^^^ -- consider calling this closure [INFO] [stdout] | | [INFO] [stdout] | `[closure@examples/async.rs:19:17: 87:6]` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `[closure@examples/async.rs:19:17: 87:6]` [INFO] [stdout] = note: [closure@examples/async.rs:19:17: 87:6] must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `Runtime::block_on` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.3.3/src/runtime/mod.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^ required by this bound in `Runtime::block_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 5 previous errors; 4 warnings emitted [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/internal/c_utils.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.device_properties.45849cb1-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232.2ikmcktmgg9xjhpy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-2388527e18888a57.rlib" "/opt/rustwide/target/debug/deps/libatty-d90548b65758e16b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c96808e7beca6ad9.rlib" "/opt/rustwide/target/debug/deps/libhumantime-7055b4dd0633d11a.rlib" "/opt/rustwide/target/debug/deps/liblog-08b2789434650078.rlib" "/opt/rustwide/target/debug/deps/libregex-15083691ce6b4593.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fc112ae30411db47.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b4e1acff5dc3eb6b.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e3605bf5f1ec2372.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1ae902ad2fa951e9.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib" "/opt/rustwide/target/debug/deps/libsemver-50f184a6c74466dc.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-640f7c9e64b5b216.rlib" "/opt/rustwide/target/debug/deps/libpest-faccf00187586be1.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-ae77ff5e94b6d71d.rlib" "/opt/rustwide/target/debug/deps/libfailure-5bc4cccf3076782d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-8c001a9ca7e6e8e7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e213a82a4151efb8.rlib" "/opt/rustwide/target/debug/deps/libadler-9d91af25e56b3838.rlib" "/opt/rustwide/target/debug/deps/libobject-44de5b952a2c8e5f.rlib" "/opt/rustwide/target/debug/deps/liblibc-9eb1d057d811f9bf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a73b42bd37e3031.rlib" "/opt/rustwide/target/debug/deps/libgimli-e3363ae1ffa36b05.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5c928f6ad816bbf3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-92a4f2e2100622ae.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-ec83ba28f2df733c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/device_properties-eec91ec4f12c8232" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_count': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:141: undefined reference to `CorsairGetDeviceCount' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_at': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:155: undefined reference to `CorsairGetDeviceInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::release_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:232: undefined reference to `CorsairReleaseControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::unsubscribe_from_events': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:486: undefined reference to `CorsairUnsubscribeFromEvents' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.15.rcgu.o): in function `cue_sdk::initialization::perform_handshake': [INFO] [stdout] /opt/rustwide/workdir/src/initialization/mod.rs:23: undefined reference to `CorsairPerformProtocolHandshake' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.4.rcgu.o): in function `cue_sdk::property::int32::Int32Property::refresh_value': [INFO] [stdout] /opt/rustwide/workdir/src/property/int32.rs:33: undefined reference to `CorsairGetInt32PropertyValue' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::get_leds_for_device_index': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:70: undefined reference to `CorsairGetLedPositionsByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::CueDevice::get_bool_property': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:194: undefined reference to `CorsairGetBoolPropertyValue' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::CueDevice::get_int32_property': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:219: undefined reference to `CorsairGetInt32PropertyValue' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.9.rcgu.o): in function `cue_sdk::errors::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/errors.rs:17: undefined reference to `CorsairGetLastError' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.all_keys_red.3336e766-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132.3oogb1q705xc8dx9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-2388527e18888a57.rlib" "/opt/rustwide/target/debug/deps/libatty-d90548b65758e16b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c96808e7beca6ad9.rlib" "/opt/rustwide/target/debug/deps/libhumantime-7055b4dd0633d11a.rlib" "/opt/rustwide/target/debug/deps/liblog-08b2789434650078.rlib" "/opt/rustwide/target/debug/deps/libregex-15083691ce6b4593.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fc112ae30411db47.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b4e1acff5dc3eb6b.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e3605bf5f1ec2372.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1ae902ad2fa951e9.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib" "/opt/rustwide/target/debug/deps/libsemver-50f184a6c74466dc.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-640f7c9e64b5b216.rlib" "/opt/rustwide/target/debug/deps/libpest-faccf00187586be1.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-ae77ff5e94b6d71d.rlib" "/opt/rustwide/target/debug/deps/libfailure-5bc4cccf3076782d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-8c001a9ca7e6e8e7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e213a82a4151efb8.rlib" "/opt/rustwide/target/debug/deps/libadler-9d91af25e56b3838.rlib" "/opt/rustwide/target/debug/deps/libobject-44de5b952a2c8e5f.rlib" "/opt/rustwide/target/debug/deps/liblibc-9eb1d057d811f9bf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a73b42bd37e3031.rlib" "/opt/rustwide/target/debug/deps/libgimli-e3363ae1ffa36b05.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5c928f6ad816bbf3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-92a4f2e2100622ae.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-ec83ba28f2df733c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/all_keys_red-fdf425229eb1f132" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_count': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:141: undefined reference to `CorsairGetDeviceCount' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_at': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:155: undefined reference to `CorsairGetDeviceInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::release_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:232: undefined reference to `CorsairReleaseControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::update_leds_color_buffer': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:307: undefined reference to `CorsairSetLedsColorsBufferByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::flush_led_colors_update_buffer_sync': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:370: undefined reference to `CorsairSetLedsColorsFlushBuffer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::unsubscribe_from_events': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:486: undefined reference to `CorsairUnsubscribeFromEvents' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.15.rcgu.o): in function `cue_sdk::initialization::perform_handshake': [INFO] [stdout] /opt/rustwide/workdir/src/initialization/mod.rs:23: undefined reference to `CorsairPerformProtocolHandshake' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::get_leds_for_device_index': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:70: undefined reference to `CorsairGetLedPositionsByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.9.rcgu.o): in function `cue_sdk::errors::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/errors.rs:17: undefined reference to `CorsairGetLastError' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.access_control.06bf0da6-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b.m3k7bnea9ti9m2d.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-2388527e18888a57.rlib" "/opt/rustwide/target/debug/deps/libatty-d90548b65758e16b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c96808e7beca6ad9.rlib" "/opt/rustwide/target/debug/deps/libhumantime-7055b4dd0633d11a.rlib" "/opt/rustwide/target/debug/deps/liblog-08b2789434650078.rlib" "/opt/rustwide/target/debug/deps/libregex-15083691ce6b4593.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fc112ae30411db47.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b4e1acff5dc3eb6b.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e3605bf5f1ec2372.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1ae902ad2fa951e9.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib" "/opt/rustwide/target/debug/deps/libsemver-50f184a6c74466dc.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-640f7c9e64b5b216.rlib" "/opt/rustwide/target/debug/deps/libpest-faccf00187586be1.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-ae77ff5e94b6d71d.rlib" "/opt/rustwide/target/debug/deps/libfailure-5bc4cccf3076782d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-8c001a9ca7e6e8e7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e213a82a4151efb8.rlib" "/opt/rustwide/target/debug/deps/libadler-9d91af25e56b3838.rlib" "/opt/rustwide/target/debug/deps/libobject-44de5b952a2c8e5f.rlib" "/opt/rustwide/target/debug/deps/liblibc-9eb1d057d811f9bf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a73b42bd37e3031.rlib" "/opt/rustwide/target/debug/deps/libgimli-e3363ae1ffa36b05.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5c928f6ad816bbf3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-92a4f2e2100622ae.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-ec83ba28f2df733c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/access_control-c4f6910b1d44279b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::request_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:211: undefined reference to `CorsairRequestControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::release_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:232: undefined reference to `CorsairReleaseControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::unsubscribe_from_events': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:486: undefined reference to `CorsairUnsubscribeFromEvents' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.15.rcgu.o): in function `cue_sdk::initialization::perform_handshake': [INFO] [stdout] /opt/rustwide/workdir/src/initialization/mod.rs:23: undefined reference to `CorsairPerformProtocolHandshake' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.9.rcgu.o): in function `cue_sdk::errors::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/errors.rs:17: undefined reference to `CorsairGetLastError' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Utf8Error` should have a snake case name [INFO] [stdout] --> src/internal/c_utils.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Err(_Utf8Error) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `_utf8_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/property/boolean.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | u32::from(key); //ensure this never panics [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/property/int32.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | u32::from(key); //ensure this never panics [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.random_colors.c890ba54-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d.o551kgzfhqejvm.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-9bd0e505e7dbfcc8.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-f391ae13d57cf549.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-aba7d3ebf881e183.rlib" "/opt/rustwide/target/debug/deps/librand_core-57cb8ffdbac75850.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-2498063e34a4aba4.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-2388527e18888a57.rlib" "/opt/rustwide/target/debug/deps/libatty-d90548b65758e16b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c96808e7beca6ad9.rlib" "/opt/rustwide/target/debug/deps/libhumantime-7055b4dd0633d11a.rlib" "/opt/rustwide/target/debug/deps/liblog-08b2789434650078.rlib" "/opt/rustwide/target/debug/deps/libregex-15083691ce6b4593.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fc112ae30411db47.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b4e1acff5dc3eb6b.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e3605bf5f1ec2372.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1ae902ad2fa951e9.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib" "/opt/rustwide/target/debug/deps/libsemver-50f184a6c74466dc.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-640f7c9e64b5b216.rlib" "/opt/rustwide/target/debug/deps/libpest-faccf00187586be1.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-ae77ff5e94b6d71d.rlib" "/opt/rustwide/target/debug/deps/libfailure-5bc4cccf3076782d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-8c001a9ca7e6e8e7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e213a82a4151efb8.rlib" "/opt/rustwide/target/debug/deps/libadler-9d91af25e56b3838.rlib" "/opt/rustwide/target/debug/deps/libobject-44de5b952a2c8e5f.rlib" "/opt/rustwide/target/debug/deps/liblibc-9eb1d057d811f9bf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a73b42bd37e3031.rlib" "/opt/rustwide/target/debug/deps/libgimli-e3363ae1ffa36b05.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5c928f6ad816bbf3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-92a4f2e2100622ae.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-ec83ba28f2df733c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/random_colors-8f9da7443a43089d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_count': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:141: undefined reference to `CorsairGetDeviceCount' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_at': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:155: undefined reference to `CorsairGetDeviceInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::release_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:232: undefined reference to `CorsairReleaseControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::flush_led_colors_update_buffer_sync': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:370: undefined reference to `CorsairSetLedsColorsFlushBuffer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::unsubscribe_from_events': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:486: undefined reference to `CorsairUnsubscribeFromEvents' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.15.rcgu.o): in function `cue_sdk::initialization::perform_handshake': [INFO] [stdout] /opt/rustwide/workdir/src/initialization/mod.rs:23: undefined reference to `CorsairPerformProtocolHandshake' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::get_leds_for_device_index': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:70: undefined reference to `CorsairGetLedPositionsByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.7.rcgu.o): in function `cue_sdk::led::CueLed::update_color_buffer': [INFO] [stdout] /opt/rustwide/workdir/src/led/mod.rs:92: undefined reference to `CorsairSetLedsColorsBufferByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.9.rcgu.o): in function `cue_sdk::errors::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/errors.rs:17: undefined reference to `CorsairGetLastError' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.devices.1b83cfa5-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83.1snd4f3q9dmo9q2o.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-2388527e18888a57.rlib" "/opt/rustwide/target/debug/deps/libatty-d90548b65758e16b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-c96808e7beca6ad9.rlib" "/opt/rustwide/target/debug/deps/libhumantime-7055b4dd0633d11a.rlib" "/opt/rustwide/target/debug/deps/liblog-08b2789434650078.rlib" "/opt/rustwide/target/debug/deps/libregex-15083691ce6b4593.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fc112ae30411db47.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b4e1acff5dc3eb6b.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e3605bf5f1ec2372.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1ae902ad2fa951e9.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib" "/opt/rustwide/target/debug/deps/libsemver-50f184a6c74466dc.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-640f7c9e64b5b216.rlib" "/opt/rustwide/target/debug/deps/libpest-faccf00187586be1.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-ae77ff5e94b6d71d.rlib" "/opt/rustwide/target/debug/deps/libfailure-5bc4cccf3076782d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-8c001a9ca7e6e8e7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e213a82a4151efb8.rlib" "/opt/rustwide/target/debug/deps/libadler-9d91af25e56b3838.rlib" "/opt/rustwide/target/debug/deps/libobject-44de5b952a2c8e5f.rlib" "/opt/rustwide/target/debug/deps/liblibc-9eb1d057d811f9bf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a73b42bd37e3031.rlib" "/opt/rustwide/target/debug/deps/libgimli-e3363ae1ffa36b05.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5c928f6ad816bbf3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-92a4f2e2100622ae.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-ec83ba28f2df733c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/devices-b675bc3fece6da83" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_count': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:141: undefined reference to `CorsairGetDeviceCount' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::get_device_at': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:155: undefined reference to `CorsairGetDeviceInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::release_exclusive_access_control': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:232: undefined reference to `CorsairReleaseControl' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.14.rcgu.o): in function `cue_sdk::sdk::CueSdkClient::unsubscribe_from_events': [INFO] [stdout] /opt/rustwide/workdir/src/sdk.rs:486: undefined reference to `CorsairUnsubscribeFromEvents' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.15.rcgu.o): in function `cue_sdk::initialization::perform_handshake': [INFO] [stdout] /opt/rustwide/workdir/src/initialization/mod.rs:23: undefined reference to `CorsairPerformProtocolHandshake' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.6.rcgu.o): in function `cue_sdk::device::get_leds_for_device_index': [INFO] [stdout] /opt/rustwide/workdir/src/device/mod.rs:70: undefined reference to `CorsairGetLedPositionsByDeviceIndex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-61d1cd92bee23f0c.rlib(cue_sdk-61d1cd92bee23f0c.cue_sdk.48bdc066-cgu.9.rcgu.o): in function `cue_sdk::errors::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/errors.rs:17: undefined reference to `CorsairGetLastError' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cue-sdk` due to 2 previous errors [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3d734ba00a33de4af208a3c4737854a2b136c274fe23f7b9457809b4cb109c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d734ba00a33de4af208a3c4737854a2b136c274fe23f7b9457809b4cb109c3", kill_on_drop: false }` [INFO] [stdout] b3d734ba00a33de4af208a3c4737854a2b136c274fe23f7b9457809b4cb109c3