[INFO] fetching crate cue-sdk 0.0.3... [INFO] testing cue-sdk-0.0.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate cue-sdk 0.0.3 into /workspace/builds/worker-89/source [INFO] validating manifest of crates.io crate cue-sdk 0.0.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-89/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.19.5 [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded cue-sdk-sys v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e81b1cac7e9dad5628f47584cb42dda1b0a96f2b6b83d371cb3ce90efb5b02 [INFO] running `Command { std: "docker" "start" "-a" "17e81b1cac7e9dad5628f47584cb42dda1b0a96f2b6b83d371cb3ce90efb5b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e81b1cac7e9dad5628f47584cb42dda1b0a96f2b6b83d371cb3ce90efb5b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e81b1cac7e9dad5628f47584cb42dda1b0a96f2b6b83d371cb3ce90efb5b02", kill_on_drop: false }` [INFO] [stdout] 17e81b1cac7e9dad5628f47584cb42dda1b0a96f2b6b83d371cb3ce90efb5b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af9013061649afc768928d43d86c13308ac8273b7e958cab29d57e3b51522592 [INFO] running `Command { std: "docker" "start" "-a" "af9013061649afc768928d43d86c13308ac8273b7e958cab29d57e3b51522592", 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] Blocking waiting for file lock on package cache [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 cue-sdk-sys v0.0.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling pest v2.1.3 [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.10s [INFO] running `Command { std: "docker" "inspect" "af9013061649afc768928d43d86c13308ac8273b7e958cab29d57e3b51522592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9013061649afc768928d43d86c13308ac8273b7e958cab29d57e3b51522592", kill_on_drop: false }` [INFO] [stdout] af9013061649afc768928d43d86c13308ac8273b7e958cab29d57e3b51522592 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6a6a98c5194f5c80c6e77c49e41ad15d326ce54959e6c1cac572d8e9ba4ba0 [INFO] running `Command { std: "docker" "start" "-a" "7e6a6a98c5194f5c80c6e77c49e41ad15d326ce54959e6c1cac572d8e9ba4ba0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling strum_macros v0.19.4 [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] 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] [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[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] 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [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] [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] [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/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.access_control.5dc69b72-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e.4anhpopkc0xd1df8.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-e5bee53f76d1cd11.rlib" "/opt/rustwide/target/debug/deps/libatty-eba62f586ba6bec0.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libhumantime-02d977057d771e17.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libregex-201bc1ba24a5eedb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-61c291a56d78970f.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e796668475ed7fb8.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib" "/opt/rustwide/target/debug/deps/libsemver-998b69a143777ea4.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-44411cd6f04407d1.rlib" "/opt/rustwide/target/debug/deps/libpest-637f526392de7828.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-27ef4007e04b7a56.rlib" "/opt/rustwide/target/debug/deps/libfailure-a6eb11b07d4efbb5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-b62a69fc5de10600.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b614d4d7324deec8.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-4750264da6f84395.rlib" "/opt/rustwide/target/debug/deps/liblibc-0188d7d45a52fecf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1e609a1db3601f4d.rlib" "/opt/rustwide/target/debug/deps/libgimli-f4508afe80df7795.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f6813ff1cdbf72a4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-77f577248917a551.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-42e975a47c147cd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/access_control-5ca4128de7e7489e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.5.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.7.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; 1 warning emitted [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-878a200fff575bd6.all_keys_red.cfd06e26-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.all_keys_red.cfd06e26-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6.3fg44ckkozwce8rm.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-e5bee53f76d1cd11.rlib" "/opt/rustwide/target/debug/deps/libatty-eba62f586ba6bec0.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libhumantime-02d977057d771e17.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libregex-201bc1ba24a5eedb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-61c291a56d78970f.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e796668475ed7fb8.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib" "/opt/rustwide/target/debug/deps/libsemver-998b69a143777ea4.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-44411cd6f04407d1.rlib" "/opt/rustwide/target/debug/deps/libpest-637f526392de7828.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-27ef4007e04b7a56.rlib" "/opt/rustwide/target/debug/deps/libfailure-a6eb11b07d4efbb5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-b62a69fc5de10600.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b614d4d7324deec8.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-4750264da6f84395.rlib" "/opt/rustwide/target/debug/deps/liblibc-0188d7d45a52fecf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1e609a1db3601f4d.rlib" "/opt/rustwide/target/debug/deps/libgimli-f4508afe80df7795.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f6813ff1cdbf72a4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-77f577248917a551.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-42e975a47c147cd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/all_keys_red-878a200fff575bd6" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.5.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.7.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] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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] 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/devices-b317706d453d8251.devices.3f47ac8f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.devices.3f47ac8f-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251.3t1r3u4pbg0u3q99.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-e5bee53f76d1cd11.rlib" "/opt/rustwide/target/debug/deps/libatty-eba62f586ba6bec0.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libhumantime-02d977057d771e17.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libregex-201bc1ba24a5eedb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-61c291a56d78970f.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e796668475ed7fb8.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib" "/opt/rustwide/target/debug/deps/libsemver-998b69a143777ea4.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-44411cd6f04407d1.rlib" "/opt/rustwide/target/debug/deps/libpest-637f526392de7828.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-27ef4007e04b7a56.rlib" "/opt/rustwide/target/debug/deps/libfailure-a6eb11b07d4efbb5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-b62a69fc5de10600.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b614d4d7324deec8.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-4750264da6f84395.rlib" "/opt/rustwide/target/debug/deps/liblibc-0188d7d45a52fecf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1e609a1db3601f4d.rlib" "/opt/rustwide/target/debug/deps/libgimli-f4508afe80df7795.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f6813ff1cdbf72a4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-77f577248917a551.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-42e975a47c147cd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/devices-b317706d453d8251" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.5.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.7.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] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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] 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/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.device_properties.d14a6545-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45.2w4614j0qqwoutpd.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-e5bee53f76d1cd11.rlib" "/opt/rustwide/target/debug/deps/libatty-eba62f586ba6bec0.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libhumantime-02d977057d771e17.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libregex-201bc1ba24a5eedb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-61c291a56d78970f.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e796668475ed7fb8.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib" "/opt/rustwide/target/debug/deps/libsemver-998b69a143777ea4.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-44411cd6f04407d1.rlib" "/opt/rustwide/target/debug/deps/libpest-637f526392de7828.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-27ef4007e04b7a56.rlib" "/opt/rustwide/target/debug/deps/libfailure-a6eb11b07d4efbb5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-b62a69fc5de10600.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b614d4d7324deec8.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-4750264da6f84395.rlib" "/opt/rustwide/target/debug/deps/liblibc-0188d7d45a52fecf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1e609a1db3601f4d.rlib" "/opt/rustwide/target/debug/deps/libgimli-f4508afe80df7795.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f6813ff1cdbf72a4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-77f577248917a551.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-42e975a47c147cd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/device_properties-17f069c20a6d5f45" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.5.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.6.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.7.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] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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] 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/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.random_colors.ac2c86dd-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31.4kav7uxmt257a9p2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-4c7722e210efe9d3.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-bebbc24d07c55547.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-4e22bc0c0f361571.rlib" "/opt/rustwide/target/debug/deps/librand_core-a590fdc47382c98f.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-3e07073a43023236.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-e5bee53f76d1cd11.rlib" "/opt/rustwide/target/debug/deps/libatty-eba62f586ba6bec0.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libhumantime-02d977057d771e17.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libregex-201bc1ba24a5eedb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-61c291a56d78970f.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e796668475ed7fb8.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib" "/opt/rustwide/target/debug/deps/libsemver-998b69a143777ea4.rlib" "/opt/rustwide/target/debug/deps/libsemver_parser-44411cd6f04407d1.rlib" "/opt/rustwide/target/debug/deps/libpest-637f526392de7828.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-27ef4007e04b7a56.rlib" "/opt/rustwide/target/debug/deps/libfailure-a6eb11b07d4efbb5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-b62a69fc5de10600.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b614d4d7324deec8.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-4750264da6f84395.rlib" "/opt/rustwide/target/debug/deps/liblibc-0188d7d45a52fecf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1e609a1db3601f4d.rlib" "/opt/rustwide/target/debug/deps/libgimli-f4508afe80df7795.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f6813ff1cdbf72a4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-77f577248917a551.rlib" "/opt/rustwide/target/debug/deps/libcue_sdk_sys-42e975a47c147cd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/random_colors-787d297d2afefe31" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.10.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.5.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-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.7.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] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcue_sdk-81de070edbddc25a.rlib(cue_sdk-81de070edbddc25a.cue_sdk.b8958c67-cgu.8.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] 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] 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e6a6a98c5194f5c80c6e77c49e41ad15d326ce54959e6c1cac572d8e9ba4ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6a6a98c5194f5c80c6e77c49e41ad15d326ce54959e6c1cac572d8e9ba4ba0", kill_on_drop: false }` [INFO] [stdout] 7e6a6a98c5194f5c80c6e77c49e41ad15d326ce54959e6c1cac572d8e9ba4ba0