[INFO] fetching crate arrayfire 3.8.0... [INFO] testing arrayfire-3.8.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate arrayfire 3.8.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate arrayfire 3.8.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate arrayfire 3.8.0 [INFO] tweaked toml for crates.io crate arrayfire 3.8.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate arrayfire 3.8.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arrayfire 3.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.20 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded half v1.5.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded serde v1.0.66 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99af8db54046a2668445e23d2688c5675555a1e3d565305b7072363285f6585 [INFO] running `Command { std: "docker" "start" "-a" "a99af8db54046a2668445e23d2688c5675555a1e3d565305b7072363285f6585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99af8db54046a2668445e23d2688c5675555a1e3d565305b7072363285f6585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99af8db54046a2668445e23d2688c5675555a1e3d565305b7072363285f6585", kill_on_drop: false }` [INFO] [stdout] a99af8db54046a2668445e23d2688c5675555a1e3d565305b7072363285f6585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2f122d3213e76b3e17db694995dfbe008ee870fa433b93ad12827bcfde29fd30 [INFO] running `Command { std: "docker" "start" "-a" "2f122d3213e76b3e17db694995dfbe008ee870fa433b93ad12827bcfde29fd30", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling half v1.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.20 [INFO] [stderr] Compiling arrayfire v3.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `op_assign` [INFO] [stdout] --> src/core/arith.rs:879:7 [INFO] [stdout] | [INFO] [stdout] 879 | #[cfg(op_assign)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(op_assign)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(op_assign)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2f122d3213e76b3e17db694995dfbe008ee870fa433b93ad12827bcfde29fd30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f122d3213e76b3e17db694995dfbe008ee870fa433b93ad12827bcfde29fd30", kill_on_drop: false }` [INFO] [stdout] 2f122d3213e76b3e17db694995dfbe008ee870fa433b93ad12827bcfde29fd30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8f3f3b1be070ddf0bf6d63de048cf5725ace7879c6101e98a3ac4d37ae0f2fd0 [INFO] running `Command { std: "docker" "start" "-a" "8f3f3b1be070ddf0bf6d63de048cf5725ace7879c6101e98a3ac4d37ae0f2fd0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `op_assign` [INFO] [stdout] --> src/core/arith.rs:879:7 [INFO] [stdout] | [INFO] [stdout] 879 | #[cfg(op_assign)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(op_assign)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(op_assign)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.20 [INFO] [stderr] Compiling arrayfire v3.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcbW7O7B/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcbW7O7B/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17h368c991fb7a25c75E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hc0c27499e83cdabaE+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hc0e27bae4e933ff3E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17h748feee3ec05ab19E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17hce3db91ccedf7d45E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::add_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10add_helper17h770a881ffbc4b864E+0x4f): undefined reference to `af_add' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::div_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10div_helper17h5398afa582649d20E+0x4f): undefined reference to `af_div' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::mul_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10mul_helper17h55b7b36b6e7f96b9E+0x4f): undefined reference to `af_mul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::abs': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3abs17h0ec0645771dc52daE+0x1e): undefined reference to `af_abs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::eq_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:511:(.text._ZN9arrayfire4core5arith9eq_helper17h87bf245cd81f3430E+0x4f): undefined reference to `af_eq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::arith::gt_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:511:(.text._ZN9arrayfire4core5arith9gt_helper17h3839a54d95eac575E+0x4f): undefined reference to `af_gt' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17he11ba3d8cb751286E+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::cast': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:617:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4cast17he9cf3867aed87ed5E+0x32): undefined reference to `af_cast' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17haf7d31a8fd9e02e5E+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17hbf1607f60bc04af9E+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17h3b30dd59515d5254E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17h91d4c6fdaca50b95E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::core::random::randu': [INFO] [stdout] /opt/rustwide/workdir/src/core/random.rs:80:(.text._ZN9arrayfire4core6random5randu17hb5dd6eab904d7e63E+0x5a): undefined reference to `af_randu' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::signal::convolve2': [INFO] [stdout] /opt/rustwide/workdir/src/signal/mod.rs:725:(.text._ZN9arrayfire6signal9convolve217h0477a122e5302fd7E+0x58): undefined reference to `af_convolve2' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::graphics::Window::draw_image': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:600:(.text._ZN9arrayfire8graphics6Window10draw_image17hcd484a21e2f7983eE+0x346): undefined reference to `af_draw_image' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/conway-83203f853c37ccfd.conway.515abf7a89056054-cgu.0.rcgu.o: in function `arrayfire::algorithm::max_all': [INFO] [stdout] /opt/rustwide/workdir/src/algorithm/mod.rs:543:(.text._ZN9arrayfire9algorithm7max_all17hb2e0ed146122c144E+0x26): undefined reference to `af_max_all' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hf659f846b10fbe18E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:191:(.text._ZN69_$LT$arrayfire..graphics..Window$u20$as$u20$core..ops..drop..Drop$GT$4drop17hae8ac92182f54042E+0xe): undefined reference to `af_destroy_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::new': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:223:(.text._ZN9arrayfire8graphics6Window3new17h6c55c6f40b10d311E+0x105): undefined reference to `af_create_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::is_closed': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:309:(.text._ZN9arrayfire8graphics6Window9is_closed17h0c2110a65b4ba0aaE+0x18): undefined reference to `af_is_window_closed' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN61_$LT$f32$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h7ab297e91bf4a4a6E+0x69): undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (example "conway") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustckUwBLT/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustckUwBLT/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h7af911d9af25d5abE+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h8ca58c78ab7f4c48E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd382ad40fc4644d0E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function ` as arrayfire::core::index::Indexable>::set': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:168:(.text._ZN88_$LT$arrayfire..core..seq..Seq$LT$T$GT$$u20$as$u20$arrayfire..core..index..Indexable$GT$3set17hc6d87c4e87bcd0d8E+0x9d): undefined reference to `af_set_seq_indexer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function ` as arrayfire::core::index::Indexable>::set': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:151:(.text._ZN92_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$arrayfire..core..index..Indexable$GT$3set17h278e4e02c670bd33E+0x55): undefined reference to `af_set_array_indexer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17h222604bd6da62772E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::arith::add_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10add_helper17h4a03d22204505916E+0x4f): undefined reference to `af_add' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::arith::sub_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10sub_helper17ha08a0a7d8c53afe4E+0x4f): undefined reference to `af_sub' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::arith::cos': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3cos17h8e86f2cba75d769aE+0x1e): undefined reference to `af_cos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::arith::sin': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3sin17hddde4c579d008848E+0x1e): undefined reference to `af_sin' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::arith::>::not': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:113:(.text._ZN9arrayfire4core5arith92_$LT$impl$u20$core..ops..bit..Not$u20$for$u20$$RF$arrayfire..core..array..Array$LT$T$GT$$GT$3not17h3264b99eacd99eeaE+0x1e): undefined reference to `af_not' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17h547d0bcc0a544951E+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17h60ab5bd6a248931bE+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17ha5821323f3cd9de5E+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17hadd446a222001b61E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_single': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_single17hb6ae38220afe3835E+0x18): undefined reference to `af_is_single' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::print': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:748:(.text._ZN9arrayfire4core5array5print17h714b03a617189767E+0x185): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::print': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:748:(.text._ZN9arrayfire4core5array5print17h9b1ae68909e097e5E+0x185): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::print_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:792:(.text._ZN9arrayfire4core5array9print_gen17h09c7e52ff1be2c04E+0x253): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::print_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:792:(.text._ZN9arrayfire4core5array9print_gen17h79a9da596f2ca911E+0x253): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::array::print_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:792:(.text._ZN9arrayfire4core5array9print_gen17hef614f071551e040E+0x253): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::index::assign_seq': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:521:(.text._ZN9arrayfire4core5index10assign_seq17h20ee041ff623ee35E+0xfb): undefined reference to `af_assign_seq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::index::index': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:272:(.text._ZN9arrayfire4core5index5index17h599495e7632bc7dfE+0xcf): undefined reference to `af_index' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::index::index': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:272:(.text._ZN9arrayfire4core5index5index17hed5c42a0cd948515E+0xcf): undefined reference to `af_index' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::index::index_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:570:(.text._ZN9arrayfire4core5index9index_gen17h02682f1a6ef43525E+0x8f): undefined reference to `af_index_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::core::random::randu': [INFO] [stdout] /opt/rustwide/workdir/src/core/random.rs:80:(.text._ZN9arrayfire4core6random5randu17h4ec14a1d05d6037dE+0x5a): undefined reference to `af_randu' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-edd32292b97d15da.helloworld.6fb5094655dc4622-cgu.0.rcgu.o: in function `arrayfire::signal::fft': [INFO] [stdout] /opt/rustwide/workdir/src/signal/mod.rs:511:(.text._ZN9arrayfire6signal3fft17h70f545ff0a8effa4E+0x40): undefined reference to `af_fft' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hf659f846b10fbe18E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::get_version': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:51:(.text._ZN9arrayfire4core6device11get_version17hac135628cec10c1bE+0x37): undefined reference to `af_get_version' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::get_revision': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:66:(.text._ZN9arrayfire4core6device12get_revision17haed8f67134c2f56fE+0x10): undefined reference to `af_get_revision' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info_string': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:102:(.text._ZN9arrayfire4core6device11info_string17hd5b9303bb583e4ebE+0x6a): undefined reference to `af_info_string' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::device_info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:120:(.text._ZN9arrayfire4core6device11device_info17h17c043ff87b9cc29E+0x7d): undefined reference to `af_device_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::default': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:186:(.text._ZN74_$LT$arrayfire..core..index..Indexer$u20$as$u20$core..default..Default$GT$7default17h0755b63c87c9ffbcE+0x10): undefined reference to `af_create_indexers' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:241:(.text._ZN73_$LT$arrayfire..core..index..Indexer$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd315bd12ca64b9c5E+0xe): undefined reference to `af_release_indexers' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN61_$LT$f32$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h7ab297e91bf4a4a6E+0x69): undefined reference to `af_constant' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN60_$LT$u8$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h0ce310f437061602E+0x6b): undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (example "fft") due to 1 previous error [INFO] [stderr] error: could not compile `arrayfire` (example "helloworld") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc2Fs1LW/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc2Fs1LW/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/fft-e945f6fa5184c7b4" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/fft-e945f6fa5184c7b4.fft.5cbee452d3d1b6b1-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd7057418a369c319E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/fft-e945f6fa5184c7b4.fft.5cbee452d3d1b6b1-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17h69f9a023c65381f4E+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/fft-e945f6fa5184c7b4.fft.5cbee452d3d1b6b1-cgu.0.rcgu.o: in function `arrayfire::core::array::print_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:792:(.text._ZN9arrayfire4core5array9print_gen17hb46416b2a650b4f1E+0x253): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/fft-e945f6fa5184c7b4.fft.5cbee452d3d1b6b1-cgu.0.rcgu.o: in function `arrayfire::signal::fft': [INFO] [stdout] /opt/rustwide/workdir/src/signal/mod.rs:511:(.text._ZN9arrayfire6signal3fft17h763f4781742cc2cdE+0x40): undefined reference to `af_fft' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcM40rNy/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcM40rNy/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/using_half-5efba1b1f83006ff" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/using_half-5efba1b1f83006ff.using_half.89c05356129fb6c4-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h8d71cd14399640efE+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/using_half-5efba1b1f83006ff.using_half.89c05356129fb6c4-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17h924a19aada97c951E+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/using_half-5efba1b1f83006ff.using_half.89c05356129fb6c4-cgu.0.rcgu.o: in function `arrayfire::core::array::print': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:748:(.text._ZN9arrayfire4core5array5print17h7aa63a27333b2561E+0x185): undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc68rLrv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc68rLrv/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hc022789371a5dffdE+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17h7090b9bfc0af2672E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::core::arith::div_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10div_helper17h03d99094b54c133cE+0x4f): undefined reference to `af_div' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17h473defd5d29b3281E+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17he5863bac833851c4E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::image::load_image': [INFO] [stdout] /opt/rustwide/workdir/src/image/mod.rs:316:(.text._ZN9arrayfire5image10load_image17hf4fcaefbe52ac7efE+0x141): undefined reference to `af_load_image' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/image/mod.rs:320:(.text._ZN9arrayfire5image10load_image17hf4fcaefbe52ac7efE+0x18a): undefined reference to `af_cast' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::image::histogram': [INFO] [stdout] /opt/rustwide/workdir/src/image/mod.rs:734:(.text._ZN9arrayfire5image9histogram17hf89700583371e3cdE+0x51): undefined reference to `af_histogram' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::graphics::Window::draw_image': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:600:(.text._ZN9arrayfire8graphics6Window10draw_image17h9e1f5e8e4cdc4a84E+0x346): undefined reference to `af_draw_image' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/histogram-d3452b0e163350e3.histogram.5ff3b261b5e90007-cgu.0.rcgu.o: in function `arrayfire::graphics::Window::draw_hist': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:723:(.text._ZN9arrayfire8graphics6Window9draw_hist17hb32a5167c51560e3E+0x37f): undefined reference to `af_draw_hist' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hf659f846b10fbe18E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:191:(.text._ZN69_$LT$arrayfire..graphics..Window$u20$as$u20$core..ops..drop..Drop$GT$4drop17hae8ac92182f54042E+0xe): undefined reference to `af_destroy_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::new': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:223:(.text._ZN9arrayfire8graphics6Window3new17h6c55c6f40b10d311E+0x105): undefined reference to `af_create_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::set_position': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:247:(.text._ZN9arrayfire8graphics6Window12set_position17h2da432b0d1b9f409E+0x15): undefined reference to `af_set_position' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::is_closed': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:309:(.text._ZN9arrayfire8graphics6Window9is_closed17h0c2110a65b4ba0aaE+0x18): undefined reference to `af_is_window_closed' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN61_$LT$f32$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h7ab297e91bf4a4a6E+0x69): undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (example "using_half") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcyBuuOi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcyBuuOi/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/snow-f8bf477b2705c5c1" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/snow-f8bf477b2705c5c1.snow.4c6e289694dfe8e3-cgu.0.rcgu.o: in function `arrayfire::core::random::randu': [INFO] [stdout] /opt/rustwide/workdir/src/core/random.rs:80:(.text._ZN9arrayfire4core6random5randu17hec67589acf0e1cffE+0x5a): undefined reference to `af_randu' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/snow-f8bf477b2705c5c1.snow.4c6e289694dfe8e3-cgu.0.rcgu.o: in function `arrayfire::graphics::Window::draw_image': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:600:(.text._ZN9arrayfire8graphics6Window10draw_image17he88e1bd734d1d483E+0x346): undefined reference to `af_draw_image' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:191:(.text._ZN69_$LT$arrayfire..graphics..Window$u20$as$u20$core..ops..drop..Drop$GT$4drop17hae8ac92182f54042E+0xe): undefined reference to `af_destroy_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::new': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:223:(.text._ZN9arrayfire8graphics6Window3new17h6c55c6f40b10d311E+0x105): undefined reference to `af_create_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::is_closed': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:309:(.text._ZN9arrayfire8graphics6Window9is_closed17h0c2110a65b4ba0aaE+0x18): undefined reference to `af_is_window_closed' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (example "histogram") due to 1 previous error [INFO] [stderr] error: could not compile `arrayfire` (example "snow") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcouJXjZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcouJXjZ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function ` as arrayfire::core::index::Indexable>::set': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:168:(.text._ZN88_$LT$arrayfire..core..seq..Seq$LT$T$GT$$u20$as$u20$arrayfire..core..index..Indexable$GT$3set17h30ec35d723a934ceE+0x9d): undefined reference to `af_set_seq_indexer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17h56a9f121424cefe5E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::data::range': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:312:(.text._ZN9arrayfire4core4data5range17h86e8b814a1484fdaE+0x67): undefined reference to `af_range' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::add_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10add_helper17hc9362ae666793b4bE+0x4f): undefined reference to `af_add' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::div_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10div_helper17hce9a52712c23be70E+0x4f): undefined reference to `af_div' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::mul_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10mul_helper17h818127a53888593bE+0x4f): undefined reference to `af_mul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::abs': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3abs17hb823db11e3a7b63fE+0x1e): undefined reference to `af_abs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::cos': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3cos17h5fc700f810ba9c09E+0x1e): undefined reference to `af_cos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::arith::sin': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:129:(.text._ZN9arrayfire4core5arith3sin17h53096a60bac708edE+0x1e): undefined reference to `af_sin' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:228:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$3new17h41f5e97acf58b619E+0x8a): undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::cast': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:617:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4cast17hd60fc9e0ef398e43E+0x32): undefined reference to `af_cast' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17h4a9752468d7f7f7bE+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::numdims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:468:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$7numdims17h8c74edf6e942b8e3E+0x1b): undefined reference to `af_get_numdims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17he5d5a7058bba5063E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::index::assign_gen': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:619:(.text._ZN9arrayfire4core5index10assign_gen17hb85db78de6603566E+0x75): undefined reference to `af_assign_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::index::assign_seq': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:521:(.text._ZN9arrayfire4core5index10assign_seq17h35ff4abb47bf7441E+0xfb): undefined reference to `af_assign_seq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::core::index::index': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:272:(.text._ZN9arrayfire4core5index5index17h5f036b728a6cd7f0E+0xcf): undefined reference to `af_index' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::signal::convolve2': [INFO] [stdout] /opt/rustwide/workdir/src/signal/mod.rs:725:(.text._ZN9arrayfire6signal9convolve217h388912a2568e0b2cE+0x58): undefined reference to `af_convolve2' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::graphics::Window::draw_image': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:600:(.text._ZN9arrayfire8graphics6Window10draw_image17hddb1d01776ae8c51E+0x346): undefined reference to `af_draw_image' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/acoustic_wave-ca38aca0de036402.acoustic_wave.3452d730030ce719-cgu.0.rcgu.o: in function `arrayfire::algorithm::max_all': [INFO] [stdout] /opt/rustwide/workdir/src/algorithm/mod.rs:543:(.text._ZN9arrayfire9algorithm7max_all17h593595e4b8e990ecE+0x26): undefined reference to `af_max_all' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hf659f846b10fbe18E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::info': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:82:(.text._ZN9arrayfire4core6device4info17h9a7fac4c13b4640cE+0x3): undefined reference to `af_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/workdir/src/core/device.rs:190:(.text._ZN9arrayfire4core6device10set_device17h081b46484a89ee57E+0x6): undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::default': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:186:(.text._ZN74_$LT$arrayfire..core..index..Indexer$u20$as$u20$core..default..Default$GT$7default17h0755b63c87c9ffbcE+0x10): undefined reference to `af_create_indexers' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/index.rs:241:(.text._ZN73_$LT$arrayfire..core..index..Indexer$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd315bd12ca64b9c5E+0xe): undefined reference to `af_release_indexers' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:191:(.text._ZN69_$LT$arrayfire..graphics..Window$u20$as$u20$core..ops..drop..Drop$GT$4drop17hae8ac92182f54042E+0xe): undefined reference to `af_destroy_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::new': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:223:(.text._ZN9arrayfire8graphics6Window3new17h6c55c6f40b10d311E+0x105): undefined reference to `af_create_window' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::graphics::Window::is_closed': [INFO] [stdout] /opt/rustwide/workdir/src/graphics/mod.rs:309:(.text._ZN9arrayfire8graphics6Window9is_closed17h0c2110a65b4ba0aaE+0x18): undefined reference to `af_is_window_closed' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN61_$LT$f32$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h7ab297e91bf4a4a6E+0x69): undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (example "acoustic_wave") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcaC0IzA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libarrayfire-99ba881a419be7e0.rlib,libhalf-09ed084aed3fa6fa.rlib,liblibc-a7a0841e18dbd78a.rlib,libnum-07bb7576c2d981d6.rlib,libnum_rational-003a6ee7c5492d74.rlib,libnum_iter-07bf018f33f182ab.rlib,libnum_complex-9918ad7ff717a8d5.rlib,libnum_bigint-6efe8248bbbb6651.rlib,libnum_integer-fa114b7fcb06f31b.rlib,libnum_traits-e09780110a6e25bc.rlib,liblazy_static-38989b4f6a1f3ec4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcaC0IzA/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd07d44ddb2636d3dE+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::data::tile': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:496:(.text._ZN9arrayfire4core4data4tile17ha1146ba02bf2a0e4E+0xab): undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::arith::mul_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:407:(.text._ZN9arrayfire4core5arith10mul_helper17haa40bb4d6ba85e45E+0x4f): undefined reference to `af_mul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::arith::eq_helper': [INFO] [stdout] /opt/rustwide/workdir/src/core/arith.rs:511:(.text._ZN9arrayfire4core5arith9eq_helper17hbe5c0b13ef5fa199E+0x4f): undefined reference to `af_eq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::dims': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:433:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$4dims17h4fc7084991959058E+0x50): undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:181:(.text._ZN9arrayfire4core5array14Array$LT$T$GT$9is_scalar17hd0f58fac7778fa58E+0x18): undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::core::random::randu': [INFO] [stdout] /opt/rustwide/workdir/src/core/random.rs:80:(.text._ZN9arrayfire4core6random5randu17hd4cac168394c1b6eE+0x5a): undefined reference to `af_randu' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scalar_arith-aa7330c54560566c.scalar_arith.f58174d6926b719f-cgu.0.rcgu.o: in function `arrayfire::algorithm::all_true_all': [INFO] [stdout] /opt/rustwide/workdir/src/algorithm/mod.rs:684:(.text._ZN9arrayfire9algorithm12all_true_all17h82e817954371adbeE+0x26): undefined reference to `af_all_true_all' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:694:(.text._ZN77_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hf659f846b10fbe18E+0x19): undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core/array.rs:710:(.text._ZN80_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b064654cd0cd8a2E+0xe): undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/workdir/src/core/error.rs:104:(.text._ZN9arrayfire4core5error14get_last_error17h6447c72330ff6b8fE+0x6d): undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/workdir/src/core/util.rs:68:(.text._ZN9arrayfire4core4util9free_host17h724ce8a5f582b685E+0xb): undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarrayfire-99ba881a419be7e0.rlib(arrayfire-99ba881a419be7e0.arrayfire.f9d532e2138946fc-cgu.0.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/workdir/src/core/data.rs:242:(.text._ZN61_$LT$f32$u20$as$u20$arrayfire..core..data..ConstGenerator$GT$8generate17h7ab297e91bf4a4a6E+0x69): undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arrayfire` (test "scalar_arith") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8f3f3b1be070ddf0bf6d63de048cf5725ace7879c6101e98a3ac4d37ae0f2fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3f3b1be070ddf0bf6d63de048cf5725ace7879c6101e98a3ac4d37ae0f2fd0", kill_on_drop: false }` [INFO] [stdout] 8f3f3b1be070ddf0bf6d63de048cf5725ace7879c6101e98a3ac4d37ae0f2fd0