Last updated on 2025-05-15 07:49:49 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.0 | 5.87 | 430.76 | 436.63 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.4.0 | 3.84 | 340.78 | 344.62 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.4.0 | 616.15 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.0 | 603.49 | ERROR | |||
r-devel-windows-x86_64 | 0.4.0 | 9.00 | 414.00 | 423.00 | OK | |
r-patched-linux-x86_64 | 0.4.0 | 6.24 | 422.42 | 428.66 | OK | |
r-release-linux-x86_64 | 0.4.0 | 5.84 | 421.71 | 427.55 | OK | |
r-release-macos-arm64 | 0.4.0 | ERROR | ||||
r-release-macos-x86_64 | 0.4.0 | 114.00 | ERROR | |||
r-release-windows-x86_64 | 0.4.0 | 8.00 | 418.00 | 426.00 | OK | |
r-oldrel-macos-arm64 | 0.4.0 | 51.00 | ERROR | |||
r-oldrel-macos-x86_64 | 0.4.0 | 103.00 | ERROR | |||
r-oldrel-windows-x86_64 | 0.4.0 | 10.00 | 379.00 | 389.00 | OK |
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [527s/468s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ]
══ Skipped tests (25) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-cran-compliance.R:13:3', 'test-rust-sitrep.R:5:3',
'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3',
'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3',
'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3',
'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3',
'test-rust-sitrep.R:177:3', 'test-use_extendr.R:22:3',
'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3',
'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3',
'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3'
• On Linux (1): 'test-source.R:70:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-eval.R:4:3'): `rust_eval()` works ──────────────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcGDGSXK/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcGDGSXK/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_equal(rust_eval("2 + 2"), 4) at test-eval.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─rextendr::rust_eval("2 + 2")
5. └─rextendr:::rust_eval_deferred(code = code, env = env, ...)
6. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
7. └─rextendr::rust_source(...)
8. └─rextendr:::invoke_cargo(...)
9. └─rextendr:::check_cargo_output(...)
10. └─rlang::abort(...)
── Error ('test-eval.R:25:5'): multiple `rust_eval_deferred()` work correctly ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcmJJjCu/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcmJJjCu/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr2.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:23:3
2. └─base::lapply(.x, .f, ...)
3. └─rextendr (local) FUN(X[[i]], ...)
4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:25:5
5. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
6. └─rextendr::rust_source(...)
7. └─rextendr:::invoke_cargo(...)
8. └─rextendr:::check_cargo_output(...)
9. └─rlang::abort(...)
── Error ('test-eval.R:53:5'): multiple `rust_eval_deferred()` work correctly in reverse order ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcxaV0vE/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcxaV0vE/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr3.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:51:3
2. └─base::lapply(.x, .f, ...)
3. └─rextendr (local) FUN(X[[i]], ...)
4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:53:5
5. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
6. └─rextendr::rust_source(...)
7. └─rextendr:::invoke_cargo(...)
8. └─rextendr:::check_cargo_output(...)
9. └─rlang::abort(...)
── Error ('test-eval.R:77:3'): `rust_eval_deferred()` disallows multiple executions of the same chunk ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcx8GOzS/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcx8GOzS/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr4.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred("5i32 + 6i32") at test-eval.R:77:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-eval.R:97:3'): `rust_eval_deferred()` environment cleanup ──────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcJd2ehK/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcJd2ehK/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr5.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred("42i32") at test-eval.R:97:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-eval.R:123:3'): `rust_eval_deferred()` generates unique function names ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcafPunx/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcafPunx/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr6.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred(rust_code) at test-eval.R:123:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:4:3'): `extendr` code is compiled with `either` feature ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcGq3tJA/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcGq3tJA/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr7.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-extendr_function_options.R:4:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:29:3'): `r_name` option renames R function ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcDnBUdL/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcDnBUdL/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr8.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-extendr_function_options.R:29:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:95:5'): `rust_function()` does not emit any messages when `quiet = TRUE` ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcvZVDAa/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcvZVDAa/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr11.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_no_message(...) at test-extendr_function_options.R:95:5
2. │ └─testthat:::expect_no_(...)
3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─rlang::try_fetch(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─rextendr::rust_function(code = "fn func() {}", quiet = TRUE)
9. └─rextendr::rust_source(...)
10. └─rextendr:::invoke_cargo(...)
11. └─rextendr:::check_cargo_output(...)
12. └─rlang::abort(...)
── Error ('test-knitr-engine.R:12:3'): knitr-engine works ──────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcLdyBoQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcLdyBoQ/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr12.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_equal(eng_extendr(options), "2 + 2\n## [1] 4\n") at test-knitr-engine.R:12:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─rextendr::eng_extendr(options)
5. └─rextendr:::eng_impl(options, rust_eval_deferred)
6. ├─base::do.call(extendr_engine, c(list(code = code), opts))
7. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`)
8. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
9. └─rextendr::rust_source(...)
10. └─rextendr:::invoke_cargo(...)
11. └─rextendr:::check_cargo_output(...)
12. └─rlang::abort(...)
── Error ('test-knitr-engine.R:32:3'): Snapshot test of knitr-engine ───────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustccHTEj3/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustccHTEj3/symbols.o" "<38 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr14.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─knitr::knit(input, output) at test-knitr-engine.R:32:3
2. └─knitr:::process_file(text, output)
3. ├─xfun:::handle_error(...)
4. ├─base::withCallingHandlers(...)
5. └─knitr:::process_group(group)
6. └─knitr:::call_block(x)
7. └─knitr:::block_exec(params)
8. ├─knitr:::in_input_dir(engine(options))
9. │ └─knitr:::in_dir(input_dir(), expr)
10. └─rextendr (local) engine(options)
11. └─rextendr:::eng_impl(options, rust_eval_deferred)
12. ├─base::do.call(extendr_engine, c(list(code = code), opts))
13. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`)
14. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
15. └─rextendr::rust_source(...)
16. └─rextendr:::invoke_cargo(...)
17. └─rextendr:::check_cargo_output(...)
18. └─rlang::abort(...)
── Error ('test-name-override.R:20:3'): Multiple rust functions with the same name ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcbsYQhj/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcbsYQhj/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr15.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(code = rust_src_1, quiet = FALSE) at test-name-override.R:20:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:6:3'): Feature 'ndarray' is enabled when no extra dependencies are specified ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcw7SYG7/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcw7SYG7/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-8e0ab4d1b9066e0c.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/libndarray_examplebcd95e7564fe2303f644a93916d657f516.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(file = input, features = "ndarray") at test-optional-features.R:6:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:23:3'): Feature 'ndarray' is enabled when 'extendr-api' has features enabled ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcZSJKQY/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcZSJKQY/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/libndarray_examplebcd95e7564fe2303f644a93916d657f517.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(...) at test-optional-features.R:23:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:39:3'): Enable multiple features simultaneously ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcMX2AeU/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcMX2AeU/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr18.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-optional-features.R:39:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-source.R:26:3'): `rust_source()` works ─────────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc0yGyGo/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc0yGyGo/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr19.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(code = rust_src, quiet = FALSE, cache_build = TRUE) at test-source.R:26:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Failure ('test-source.R:98:3'): `rust_code()` can compile code from rust file ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcpTJy3q/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcpTJy3q/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d423.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:99:3'): `rust_code()` can compile code from rust file ──
Error in `test_method()`: could not find function "test_method"
Backtrace:
▆
1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:99:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:107:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcniGklP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcniGklP/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d424.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:108:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcn5z1l9/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcn5z1l9/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d425.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:109:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustctfpGzP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustctfpGzP/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d426.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:110:3'): `rust_code()` can compile code from rust file multiple times ──
Error in `test_method()`: could not find function "test_method"
Backtrace:
▆
1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:110:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:120:3'): `rust_code()` can compile code from rust files with identical names ──
Expected `rust_source(input_1, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustce2ongQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustce2ongQ/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_source90c09f7f653469a1b11422d85ba9765c27.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:121:3'): `rust_code()` can compile code from rust files with identical names ──
Expected `rust_source(input_2, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc6JPW2I/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc6JPW2I/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librust_sourceee32d0edacb3c335909cd114adabc65b28.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:123:3'): `rust_code()` can compile code from rust files with identical names ──
Error in `test_method_1()`: could not find function "test_method_1"
Backtrace:
▆
1. └─testthat::expect_equal(test_method_1(), 1L) at test-source.R:123:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:131:3'): `rust_source()` should not raise internal error for code without extendr attrs ──
Expected `rust_source(code = "fn test() {}")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcNDybHr/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcNDybHr/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr29.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:144:3'): `rust_function()` supports `r#` prefix in rust function names ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcKCI91F/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcKCI91F/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/target/debug/deps/librextendr30.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(code = rust_fn_src) at test-source.R:144:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-use_dev_extendr.R:5:3'): `use_dev_extendr = TRUE` works together with `features` ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc2iZaYZ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc2iZaYZ/symbols.o" "<30 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpTlmiJI/file37c81b605ee1b8/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmpotl4vR/working_dir/RtmpTlmiJI/file37c81b605ee1b8/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-use_dev_extendr.R:5:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
[ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [506s/431s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ]
══ Skipped tests (25) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3',
'test-cran-compliance.R:13:3', 'test-use_extendr.R:22:3',
'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3',
'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3',
'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3'
• On Linux (1): 'test-source.R:70:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-eval.R:4:3'): `rust_eval()` works ──────────────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVnES31/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVnES31/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_equal(rust_eval("2 + 2"), 4) at test-eval.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─rextendr::rust_eval("2 + 2")
5. └─rextendr:::rust_eval_deferred(code = code, env = env, ...)
6. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
7. └─rextendr::rust_source(...)
8. └─rextendr:::invoke_cargo(...)
9. └─rextendr:::check_cargo_output(...)
10. └─rlang::abort(...)
── Error ('test-eval.R:25:5'): multiple `rust_eval_deferred()` work correctly ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcyWQnZz/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcyWQnZz/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr2.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:23:3
2. └─base::lapply(.x, .f, ...)
3. └─rextendr (local) FUN(X[[i]], ...)
4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:25:5
5. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
6. └─rextendr::rust_source(...)
7. └─rextendr:::invoke_cargo(...)
8. └─rextendr:::check_cargo_output(...)
9. └─rlang::abort(...)
── Error ('test-eval.R:53:5'): multiple `rust_eval_deferred()` work correctly in reverse order ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcqqw3On/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcqqw3On/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr3.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:51:3
2. └─base::lapply(.x, .f, ...)
3. └─rextendr (local) FUN(X[[i]], ...)
4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:53:5
5. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
6. └─rextendr::rust_source(...)
7. └─rextendr:::invoke_cargo(...)
8. └─rextendr:::check_cargo_output(...)
9. └─rlang::abort(...)
── Error ('test-eval.R:77:3'): `rust_eval_deferred()` disallows multiple executions of the same chunk ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc7lO7ST/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc7lO7ST/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr4.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred("5i32 + 6i32") at test-eval.R:77:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-eval.R:97:3'): `rust_eval_deferred()` environment cleanup ──────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcN8wknw/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcN8wknw/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr5.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred("42i32") at test-eval.R:97:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-eval.R:123:3'): `rust_eval_deferred()` generates unique function names ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcfuS0ku/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcfuS0ku/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr6.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr:::rust_eval_deferred(rust_code) at test-eval.R:123:3
2. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
3. └─rextendr::rust_source(...)
4. └─rextendr:::invoke_cargo(...)
5. └─rextendr:::check_cargo_output(...)
6. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:4:3'): `extendr` code is compiled with `either` feature ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc9ztq5e/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc9ztq5e/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr7.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-extendr_function_options.R:4:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:29:3'): `r_name` option renames R function ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcLtgaNm/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcLtgaNm/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr8.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-extendr_function_options.R:29:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-extendr_function_options.R:95:5'): `rust_function()` does not emit any messages when `quiet = TRUE` ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcTT7kJQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcTT7kJQ/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr11.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_no_message(...) at test-extendr_function_options.R:95:5
2. │ └─testthat:::expect_no_(...)
3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─rlang::try_fetch(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─rextendr::rust_function(code = "fn func() {}", quiet = TRUE)
9. └─rextendr::rust_source(...)
10. └─rextendr:::invoke_cargo(...)
11. └─rextendr:::check_cargo_output(...)
12. └─rlang::abort(...)
── Error ('test-knitr-engine.R:12:3'): knitr-engine works ──────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc4FsiBn/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc4FsiBn/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr12.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. ├─testthat::expect_equal(eng_extendr(options), "2 + 2\n## [1] 4\n") at test-knitr-engine.R:12:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─rextendr::eng_extendr(options)
5. └─rextendr:::eng_impl(options, rust_eval_deferred)
6. ├─base::do.call(extendr_engine, c(list(code = code), opts))
7. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`)
8. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
9. └─rextendr::rust_source(...)
10. └─rextendr:::invoke_cargo(...)
11. └─rextendr:::check_cargo_output(...)
12. └─rlang::abort(...)
── Error ('test-knitr-engine.R:32:3'): Snapshot test of knitr-engine ───────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcefeDeG/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcefeDeG/symbols.o" "<38 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr14.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─knitr::knit(input, output) at test-knitr-engine.R:32:3
2. └─knitr:::process_file(text, output)
3. ├─xfun:::handle_error(...)
4. ├─base::withCallingHandlers(...)
5. └─knitr:::process_group(group)
6. └─knitr:::call_block(x)
7. └─knitr:::block_exec(params)
8. ├─knitr:::in_input_dir(engine(options))
9. │ └─knitr:::in_dir(input_dir(), expr)
10. └─rextendr (local) engine(options)
11. └─rextendr:::eng_impl(options, rust_eval_deferred)
12. ├─base::do.call(extendr_engine, c(list(code = code), opts))
13. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`)
14. └─rextendr::rust_function(code = code_wrapped, env = env, ...)
15. └─rextendr::rust_source(...)
16. └─rextendr:::invoke_cargo(...)
17. └─rextendr:::check_cargo_output(...)
18. └─rlang::abort(...)
── Error ('test-name-override.R:20:3'): Multiple rust functions with the same name ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcU1tuss/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcU1tuss/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr15.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(code = rust_src_1, quiet = FALSE) at test-name-override.R:20:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:6:3'): Feature 'ndarray' is enabled when no extra dependencies are specified ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcUWAn6u/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcUWAn6u/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-8e0ab4d1b9066e0c.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/libndarray_example7bc44844903e95bc41c6c7c3482e699a16.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(file = input, features = "ndarray") at test-optional-features.R:6:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:23:3'): Feature 'ndarray' is enabled when 'extendr-api' has features enabled ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVhvvEm/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVhvvEm/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/libndarray_example7bc44844903e95bc41c6c7c3482e699a17.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(...) at test-optional-features.R:23:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Error ('test-optional-features.R:39:3'): Enable multiple features simultaneously ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVdskde/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVdskde/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr18.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-optional-features.R:39:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-source.R:26:3'): `rust_source()` works ─────────────────────────
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustckxkewC/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustckxkewC/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr19.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_source(code = rust_src, quiet = FALSE, cache_build = TRUE) at test-source.R:26:3
2. └─rextendr:::invoke_cargo(...)
3. └─rextendr:::check_cargo_output(...)
4. └─rlang::abort(...)
── Failure ('test-source.R:98:3'): `rust_code()` can compile code from rust file ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcDEhXtH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcDEhXtH/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043423.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:99:3'): `rust_code()` can compile code from rust file ──
Error in `test_method()`: could not find function "test_method"
Backtrace:
▆
1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:99:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:107:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcQIZIcV/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcQIZIcV/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043424.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:108:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcqDH0Gg/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcqDH0Gg/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043425.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:109:3'): `rust_code()` can compile code from rust file multiple times ──
Expected `rust_source(input, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVdkQhS/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVdkQhS/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043426.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:110:3'): `rust_code()` can compile code from rust file multiple times ──
Error in `test_method()`: could not find function "test_method"
Backtrace:
▆
1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:110:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:120:3'): `rust_code()` can compile code from rust files with identical names ──
Expected `rust_source(input_1, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcHe1CSN/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcHe1CSN/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source2f3481fc6f10f3c0e0b68891627ba70727.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Failure ('test-source.R:121:3'): `rust_code()` can compile code from rust files with identical names ──
Expected `rust_source(input_2, module_name = "test_module")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustceo4Wvb/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustceo4Wvb/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source6ed354f524dabc3db4a3352dc30986fc28.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:123:3'): `rust_code()` can compile code from rust files with identical names ──
Error in `test_method_1()`: could not find function "test_method_1"
Backtrace:
▆
1. └─testthat::expect_equal(test_method_1(), 1L) at test-source.R:123:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-source.R:131:3'): `rust_source()` should not raise internal error for code without extendr attrs ──
Expected `rust_source(code = "fn test() {}")` to run without any errors.
i Actually got a <rextendr_error> with text:
Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcTBfLzc/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcTBfLzc/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr29.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
── Error ('test-source.R:144:3'): `rust_function()` supports `r#` prefix in rust function names ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcJSU5DF/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcJSU5DF/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr30.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(code = rust_fn_src) at test-source.R:144:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
── Error ('test-use_dev_extendr.R:5:3'): `use_dev_extendr = TRUE` works together with `features` ──
<rextendr_error/rlang_error/error/condition>
Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target,
dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting.
x error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcq2bbbE/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcq2bbbE/symbols.o" "<30 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr31.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/bin/ld: cannot find -lR: No such file or directory
collect2: error: ld returned 1 exit status
Backtrace:
▆
1. └─rextendr::rust_function(...) at test-use_dev_extendr.R:5:3
2. └─rextendr::rust_source(...)
3. └─rextendr:::invoke_cargo(...)
4. └─rextendr:::check_cargo_output(...)
5. └─rlang::abort(...)
[ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3',
'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3',
'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3',
'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3',
'test-use_extendr.R:136:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3',
'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3',
'test-eval.R:119:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:27:3',
'test-extendr_function_options.R:42:3',
'test-extendr_function_options.R:50:3',
'test-extendr_function_options.R:56:3',
'test-extendr_function_options.R:64:3',
'test-extendr_function_options.R:76:5',
'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3',
'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3',
'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3',
'test-name-override.R:2:3', 'test-optional-features.R:2:3',
'test-optional-features.R:19:3', 'test-optional-features.R:37:3',
'test-optional-features.R:44:3', 'test-optional-features.R:50:3',
'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3',
'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3',
'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3',
'test-use_dev_extendr.R:2:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ───
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ──────────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ──────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
Error: Test failures
Execution halted
Flavor: r-release-macos-arm64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [28s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3',
'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3',
'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3',
'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3',
'test-use_extendr.R:136:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3',
'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3',
'test-eval.R:119:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:27:3',
'test-extendr_function_options.R:42:3',
'test-extendr_function_options.R:50:3',
'test-extendr_function_options.R:56:3',
'test-extendr_function_options.R:64:3',
'test-extendr_function_options.R:76:5',
'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3',
'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3',
'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3',
'test-name-override.R:2:3', 'test-optional-features.R:2:3',
'test-optional-features.R:19:3', 'test-optional-features.R:37:3',
'test-optional-features.R:44:3', 'test-optional-features.R:50:3',
'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3',
'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3',
'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3',
'test-use_dev_extendr.R:2:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ───
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ──────────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ──────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
Error: Test failures
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3',
'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3',
'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3',
'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3',
'test-use_extendr.R:136:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3',
'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3',
'test-eval.R:119:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:27:3',
'test-extendr_function_options.R:42:3',
'test-extendr_function_options.R:50:3',
'test-extendr_function_options.R:56:3',
'test-extendr_function_options.R:64:3',
'test-extendr_function_options.R:76:5',
'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3',
'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3',
'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3',
'test-name-override.R:2:3', 'test-optional-features.R:2:3',
'test-optional-features.R:19:3', 'test-optional-features.R:37:3',
'test-optional-features.R:44:3', 'test-optional-features.R:50:3',
'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3',
'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3',
'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3',
'test-use_dev_extendr.R:2:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ───
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ──────────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ──────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [30s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rextendr)
>
> test_check("rextendr")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3',
'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3',
'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3',
'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3',
'test-use_extendr.R:136:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3',
'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3',
'test-eval.R:119:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:27:3',
'test-extendr_function_options.R:42:3',
'test-extendr_function_options.R:50:3',
'test-extendr_function_options.R:56:3',
'test-extendr_function_options.R:64:3',
'test-extendr_function_options.R:76:5',
'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3',
'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3',
'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3',
'test-name-override.R:2:3', 'test-optional-features.R:2:3',
'test-optional-features.R:19:3', 'test-optional-features.R:37:3',
'test-optional-features.R:44:3', 'test-optional-features.R:50:3',
'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3',
'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3',
'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3',
'test-use_dev_extendr.R:2:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ───
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ──────────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ──────
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ",
" stderr, pty, pty_options, connections, poll_connection, env, "
)`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.