[INFO] fetching crate extendr-api 0.8.1... [INFO] checking extendr-api-0.8.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate extendr-api 0.8.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate extendr-api 0.8.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate extendr-api 0.8.1 [INFO] tweaked toml for crates.io crate extendr-api 0.8.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate extendr-api 0.8.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate extendr-api 0.8.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nano-gemm-c64 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-f32 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-codegen v0.1.0 [INFO] [stderr] Downloaded nano-gemm-core v0.1.0 [INFO] [stderr] Downloaded generativity v1.1.0 [INFO] [stderr] Downloaded dbgf v0.1.2 [INFO] [stderr] Downloaded matrixcompare-core v0.1.0 [INFO] [stderr] Downloaded npyz v0.8.4 [INFO] [stderr] Downloaded extendr-ffi v0.8.1 [INFO] [stderr] Downloaded extendr-macros v0.8.1 [INFO] [stderr] Downloaded matrixcompare v0.3.0 [INFO] [stderr] Downloaded dyn-stack v0.13.0 [INFO] [stderr] Downloaded gemm-common v0.18.2 [INFO] [stderr] Downloaded pulp v0.21.5 [INFO] [stderr] Downloaded dyn-stack v0.11.0 [INFO] [stderr] Downloaded faer-entity v0.20.1 [INFO] [stderr] Downloaded gemm-f16 v0.18.2 [INFO] [stderr] Downloaded gemm-f32 v0.18.2 [INFO] [stderr] Downloaded coe-rs v0.1.2 [INFO] [stderr] Downloaded gemm-c32 v0.18.2 [INFO] [stderr] Downloaded pulp v0.18.22 [INFO] [stderr] Downloaded gemm-c64 v0.18.2 [INFO] [stderr] Downloaded sysctl v0.6.0 [INFO] [stderr] Downloaded gemm-f64 v0.18.2 [INFO] [stderr] Downloaded gemm v0.18.2 [INFO] [stderr] Downloaded nano-gemm-c32 v0.1.0 [INFO] [stderr] Downloaded nano-gemm v0.1.3 [INFO] [stderr] Downloaded py_literal v0.4.0 [INFO] [stderr] Downloaded nano-gemm-f64 v0.1.0 [INFO] [stderr] Downloaded faer v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b34a08fff2c200f76b01ed09a36ffb44e239b2c6a4185af762db9ecac5eb375 [INFO] running `Command { std: "docker" "start" "-a" "0b34a08fff2c200f76b01ed09a36ffb44e239b2c6a4185af762db9ecac5eb375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b34a08fff2c200f76b01ed09a36ffb44e239b2c6a4185af762db9ecac5eb375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b34a08fff2c200f76b01ed09a36ffb44e239b2c6a4185af762db9ecac5eb375", kill_on_drop: false }` [INFO] [stdout] 0b34a08fff2c200f76b01ed09a36ffb44e239b2c6a4185af762db9ecac5eb375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 744d7d4a655331769cc03dca5a0e3d3da2ecfdc0aaba3eb1310b47ff852e9c33 [INFO] running `Command { std: "docker" "start" "-a" "744d7d4a655331769cc03dca5a0e3d3da2ecfdc0aaba3eb1310b47ff852e9c33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling extendr-ffi v0.8.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling extendr-api v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling extendr-macros v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stdout] warning: associated function `from_sexp_ref` is never used [INFO] [stdout] --> src/robj/mod.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 220 | impl Robj { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub(crate) unsafe fn from_sexp_ref(sexp: &SEXP) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/robj/mod.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | fn as_any(&self) -> Rany { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | fn as_any(&self) -> Rany<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/thread_safety.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Rf_error(R_ERROR_BUF.as_ref().unwrap().as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wrapper/altrep.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn $fn_name(iter: Iter) -> Altrep [INFO] [stdout] 8 | | where [INFO] [stdout] 9 | | Iter: ExactSizeIterator + std::fmt::Debug + Clone + 'static + std::any::Any, [INFO] [stdout] 10 | | Iter::Item: Into<$scalar_type>, [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `make_altinteger_from_iterator` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl $impl for Iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AltIntegerImpl` is not local [INFO] [stdout] ... [INFO] [stdout] 1078 | / make_from_iterator!( [INFO] [stdout] 1079 | | make_altinteger_from_iterator, [INFO] [stdout] 1080 | | make_altinteger_class, [INFO] [stdout] 1081 | | AltIntegerImpl, [INFO] [stdout] 1082 | | Rint, [INFO] [stdout] 1083 | | i32 [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `make_from_iterator` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_from_iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wrapper/altrep.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn $fn_name(iter: Iter) -> Altrep [INFO] [stdout] 8 | | where [INFO] [stdout] 9 | | Iter: ExactSizeIterator + std::fmt::Debug + Clone + 'static + std::any::Any, [INFO] [stdout] 10 | | Iter::Item: Into<$scalar_type>, [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `make_altlogical_from_iterator` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl $impl for Iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AltLogicalImpl` is not local [INFO] [stdout] ... [INFO] [stdout] 1085 | / make_from_iterator!( [INFO] [stdout] 1086 | | make_altlogical_from_iterator, [INFO] [stdout] 1087 | | make_altlogical_class, [INFO] [stdout] 1088 | | AltLogicalImpl, [INFO] [stdout] 1089 | | Rbool, [INFO] [stdout] 1090 | | i32 [INFO] [stdout] 1091 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `make_from_iterator` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `make_from_iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wrapper/altrep.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn $fn_name(iter: Iter) -> Altrep [INFO] [stdout] 8 | | where [INFO] [stdout] 9 | | Iter: ExactSizeIterator + std::fmt::Debug + Clone + 'static + std::any::Any, [INFO] [stdout] 10 | | Iter::Item: Into<$scalar_type>, [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `make_altreal_from_iterator` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl $impl for Iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AltRealImpl` is not local [INFO] [stdout] ... [INFO] [stdout] 1092 | / make_from_iterator!( [INFO] [stdout] 1093 | | make_altreal_from_iterator, [INFO] [stdout] 1094 | | make_altreal_class, [INFO] [stdout] 1095 | | AltRealImpl, [INFO] [stdout] 1096 | | Rfloat, [INFO] [stdout] 1097 | | f64 [INFO] [stdout] 1098 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `make_from_iterator` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `make_from_iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wrapper/altrep.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn $fn_name(iter: Iter) -> Altrep [INFO] [stdout] 8 | | where [INFO] [stdout] 9 | | Iter: ExactSizeIterator + std::fmt::Debug + Clone + 'static + std::any::Any, [INFO] [stdout] 10 | | Iter::Item: Into<$scalar_type>, [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `make_altcomplex_from_iterator` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl $impl for Iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AltComplexImpl` is not local [INFO] [stdout] ... [INFO] [stdout] 1099 | / make_from_iterator!( [INFO] [stdout] 1100 | | make_altcomplex_from_iterator, [INFO] [stdout] 1101 | | make_altcomplex_class, [INFO] [stdout] 1102 | | AltComplexImpl, [INFO] [stdout] 1103 | | Rcplx, [INFO] [stdout] 1104 | | c64 [INFO] [stdout] 1105 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `make_from_iterator` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `make_from_iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/into_iterator_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use extendr_engine::with_r; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `extendr_engine`, use `cargo add extendr_engine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use extendr_engine::with_r; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `extendr_engine`, use `cargo add extendr_engine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | #[derive(Debug, Clone)] [INFO] [stdout] 8 | | struct MyCompactIntRange { [INFO] [stdout] 9 | | start: i32, [INFO] [stdout] ... | [INFO] [stdout] 53 | | assert_eq!(dest, [2, 3]); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / test! { [INFO] [stdout] 61 | | #[derive(Debug, Clone)] [INFO] [stdout] 62 | | struct MyCompactRealRange { [INFO] [stdout] 63 | | start: f64, [INFO] [stdout] ... | [INFO] [stdout] 111 | | assert_eq!(dest, [2.0, 3.0]); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / test! { [INFO] [stdout] 118 | | #[derive(Debug, Clone)] [INFO] [stdout] 119 | | struct IsEven { [INFO] [stdout] 120 | | len: usize, [INFO] [stdout] ... | [INFO] [stdout] 142 | | assert_eq!(obj.as_robj().as_logical_slice().unwrap(), [FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE]); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / test! { [INFO] [stdout] 149 | | #[derive(Debug, Clone)] [INFO] [stdout] 150 | | struct MyCompactRawRange { [INFO] [stdout] 151 | | start: i32, [INFO] [stdout] ... | [INFO] [stdout] 174 | | assert_eq!(obj.as_robj().as_raw_slice().unwrap(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / test! { [INFO] [stdout] 181 | | #[derive(Debug, Clone)] [INFO] [stdout] 182 | | struct MyCompactComplexRange { [INFO] [stdout] 183 | | start: f64, [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / test! { [INFO] [stdout] 213 | | #[derive(Debug, Clone)] [INFO] [stdout] 214 | | struct StringInts { [INFO] [stdout] 215 | | len: usize [INFO] [stdout] ... | [INFO] [stdout] 237 | | assert_eq!(Robj::from(obj), r!(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])); [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/try_from_tests.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / test! { [INFO] [stdout] 77 | | let integer = r!(1); [INFO] [stdout] 78 | | test_matrix!( [INFO] [stdout] 79 | | integer.clone(), [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "into_iterator_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/macro_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | let l : List = list!(); [INFO] [stdout] 7 | | assert_eq!(l, List::default()); [INFO] [stdout] 8 | | let l : List = list!(1); [INFO] [stdout] ... | [INFO] [stdout] 15 | | assert!(List::from_names_and_values(["a", "b"], [1, 2, 3]).is_err()); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "macro_tests") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/call_tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / test! { [INFO] [stdout] 24 | | assert_eq!(call!("`+`", 1, 2)?, r!(3)); [INFO] [stdout] 25 | | let add = R!("`+`")?; [INFO] [stdout] 26 | | assert!(add.is_primitive()); [INFO] [stdout] 27 | | assert_eq!(add.call(pairlist!(1, 2))?, r!(3)); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/na_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | assert!(f64::na().is_na()); [INFO] [stdout] 7 | | assert!(Rfloat::na().is_na()); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/na_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / test! { [INFO] [stdout] 14 | | let na_bits = 0x7ff00000u64 << 32 | 1954; [INFO] [stdout] 15 | | let na_r = Rfloat::new(f64::from_bits(na_bits)); [INFO] [stdout] 16 | | let na_f64 = f64::from_bits(na_bits); [INFO] [stdout] 17 | | assert!(na_r.is_na()); [INFO] [stdout] 18 | | assert!(na_f64.is_na()); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/na_tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / test! { [INFO] [stdout] 25 | | assert!(!Rfloat::new(42f64).is_na()); [INFO] [stdout] 26 | | assert!(!Rfloat::new(f64::NAN).is_na()); [INFO] [stdout] 27 | | assert!(!Rfloat::new(f64::INFINITY).is_na()); [INFO] [stdout] ... | [INFO] [stdout] 39 | | assert!(!f64::MIN_POSITIVE.is_na()); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "altrep_tests") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/from_iterator_tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / test!( [INFO] [stdout] 30 | | let s = prot_strs(10_000 * 7); [INFO] [stdout] 31 | | println!("Hello: {}", s[54]); [INFO] [stdout] 32 | | protect_lim2(10_000 * 7); [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/issue-397-memory-allocation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | const COUNT: u64 = 2_000_000u64; [INFO] [stdout] 7 | | let mut data: Vec = vec![]; [INFO] [stdout] 8 | | for i in 1u64..COUNT { [INFO] [stdout] ... | [INFO] [stdout] 22 | | obj.set_class(&["data.frame"])?; [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/from_iterator_tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / test!( [INFO] [stdout] 39 | | let x = vec![1, 4, 5, 6]; [INFO] [stdout] 40 | | R!("gctorture(on = TRUE)")?; [INFO] [stdout] 41 | | let list: List = x.into_iter().collect(); [INFO] [stdout] 42 | | R!("gctorture(on = FALSE)")?; [INFO] [stdout] 43 | | assert_eq!(list, list!(1, 4, 5, 6)); [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "try_from_tests") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/from_iterator_tests.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / test!( [INFO] [stdout] 50 | | let x = [0_f64; 150].map(|_|single_threaded(||unsafe {extendr_ffi::Rf_runif(0., 100.)})); [INFO] [stdout] 51 | | R!("gctorture(on = TRUE)")?; [INFO] [stdout] 52 | | let list: List = x.into_iter().collect(); [INFO] [stdout] 53 | | R!("gctorture(on = FALSE)")?; [INFO] [stdout] 54 | | assert_eq!(list, List::from_values(x)); [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/from_iterator_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / test!( [INFO] [stdout] 61 | | let question_quote = ["the","answer","to", "the", "ultimate", "question"]; [INFO] [stdout] 62 | | R!("gctorture(on = TRUE)")?; [INFO] [stdout] 63 | | let qq_r_character_vec: Strings = question_quote.into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | assert_eq!(qq_r_character_vec, qq_directly); [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "issue-397-memory-allocation") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/dataframe_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | use extendr_api::prelude::*; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | #[derive(Debug, IntoDataFrameRow)] [INFO] [stdout] ... | [INFO] [stdout] 29 | | assert_eq!(list[1], r!(["0", "1"])); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/dataframe_tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / test! { [INFO] [stdout] 36 | | use extendr_api::prelude::*; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | #[derive(Clone, Debug, IntoDataFrameRow)] [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "call_tests") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_tests.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / test! { [INFO] [stdout] 162 | | let a = Rfloat::from(20.); [INFO] [stdout] 163 | | let b = Rfloat::from(10.); [INFO] [stdout] 164 | | assert_eq!(a + b, Rfloat::from(30.)); [INFO] [stdout] ... | [INFO] [stdout] 240 | | assert_eq!(Rfloat::from(0.).abs(), Rfloat::from(0.)); [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_tests.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / test! { [INFO] [stdout] 323 | | // LHS Rfloat, RHS Rfloat [INFO] [stdout] 324 | | let mut a = Rfloat::from(20.); [INFO] [stdout] 325 | | a += Rfloat::from(10.); [INFO] [stdout] ... | [INFO] [stdout] 444 | | assert!(b.is_nan()); [INFO] [stdout] 445 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "na_tests") due to 3 previous errors [INFO] [stderr] error: could not compile `extendr-api` (test "dataframe_tests") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / test! { [INFO] [stdout] 99 | | let right = T::na(); [INFO] [stdout] 100 | | assert_eq!(left > right, false); [INFO] [stdout] 101 | | assert_eq!(left >= right, false); [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / test! { [INFO] [stdout] 115 | | let right = T::na(); [INFO] [stdout] 116 | | assert_eq!(left < right, false); [INFO] [stdout] 117 | | assert_eq!(left <= right, false); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "from_iterator_tests") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / test! { [INFO] [stdout] 131 | | let left = T::na(); [INFO] [stdout] 132 | | assert_eq!(left < right, false); [INFO] [stdout] 133 | | assert_eq!(left <= right, false); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / test! { [INFO] [stdout] 147 | | let left = T::na(); [INFO] [stdout] 148 | | assert_eq!(left > right, false); [INFO] [stdout] 149 | | assert_eq!(left >= right, false); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / test! { [INFO] [stdout] 164 | | let na = T::na(); [INFO] [stdout] 165 | | assert_eq!(value.partial_cmp(&na), None); [INFO] [stdout] 166 | | assert_eq!(na.partial_cmp(&value), None); [INFO] [stdout] 167 | | assert_eq!(na.partial_cmp(&na), None); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "scalar_tests") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "scalar_ordering_tests") due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/iter.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | use extendr_engine::with_r; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `extendr_engine`, use `cargo add extendr_engine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/wrapper/externalptr.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | use extendr_engine::with_r; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `extendr_engine`, use `cargo add extendr_engine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/wrapper/matrix.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | use extendr_engine::with_r; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `extendr_engine`, use `cargo add extendr_engine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/ownership.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | / test! { [INFO] [stdout] 280 | | single_threaded(|| unsafe { [INFO] [stdout] 281 | | { [INFO] [stdout] 282 | | let mut own = OWNERSHIP.lock().expect("lock failed"); [INFO] [stdout] ... | [INFO] [stdout] 336 | | }); [INFO] [stdout] 337 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/ownership.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | / test! { [INFO] [stdout] 343 | | single_threaded(|| unsafe { [INFO] [stdout] 344 | | { [INFO] [stdout] 345 | | let mut own = OWNERSHIP.lock().expect("protect failed"); [INFO] [stdout] ... | [INFO] [stdout] 377 | | }); [INFO] [stdout] 378 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/into_robj.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | / test! { [INFO] [stdout] 732 | | let int_vec = vec![3,4,0,-2]; [INFO] [stdout] 733 | | let int_vec_robj: Robj = int_vec.clone().into(); [INFO] [stdout] ... | [INFO] [stdout] 740 | | assert_eq!(rint_vec_robj.as_integer_slice().unwrap(), &int_vec); [INFO] [stdout] 741 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/into_robj.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | / test! { [INFO] [stdout] 747 | | // Check that collect_rarray works the same as R's matrix() function [INFO] [stdout] 748 | | let rmat = (1i32..=16).collect_rarray([4, 4]); [INFO] [stdout] 749 | | assert!(rmat.is_ok()); [INFO] [stdout] 750 | | assert_eq!(Robj::from(rmat), R!("matrix(1:16, nrow=4)").unwrap()); [INFO] [stdout] 751 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/into_robj.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | / test! { [INFO] [stdout] 757 | | // Check that collect_rarray works the same as R's array() function [INFO] [stdout] 758 | | let rmat = (1i32..=16).collect_rarray([2, 4, 2]); [INFO] [stdout] 759 | | assert!(rmat.is_ok()); [INFO] [stdout] 760 | | assert_eq!(Robj::from(rmat), R!("array(1:16, dim=c(2, 4, 2))").unwrap()); [INFO] [stdout] 761 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/into_robj.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | / test! { [INFO] [stdout] 767 | | // Check that collect_rarray fails when given an invalid shape [INFO] [stdout] 768 | | let rmat = (1i32..=16).collect_rarray([3, 3]); [INFO] [stdout] 769 | | assert!(rmat.is_err()); [INFO] [stdout] ... | [INFO] [stdout] 772 | | assert!(msg.contains("dimension")); [INFO] [stdout] 773 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/into_robj.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | / test! { [INFO] [stdout] 779 | | // Check that collect_rarray fails when given an invalid shape [INFO] [stdout] 780 | | let rmat = (1i32..=16).collect_rarray([3, 3, 3]); [INFO] [stdout] 781 | | assert!(rmat.is_err()); [INFO] [stdout] ... | [INFO] [stdout] 784 | | assert!(msg.contains("dimension")); [INFO] [stdout] 785 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / test! { [INFO] [stdout] 9 | | assert_eq!(::try_from(&Robj::from(true)), Ok(true)); [INFO] [stdout] 10 | | assert_eq!(::try_from(&Robj::from(1)), Ok(1)); [INFO] [stdout] 11 | | assert_eq!(::try_from(&Robj::from(1)), Ok(1)); [INFO] [stdout] ... | [INFO] [stdout] 148 | | assert_eq!(<&[u8]>::try_from(Robj::from(())), Err(Error::ExpectedRaw(r!(())))); [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / test! { [INFO] [stdout] 155 | | assert_eq!(Robj::from(true), Robj::from([Rbool::from(true)])); [INFO] [stdout] 156 | | //assert_eq!(Robj::from(1_u8), Robj::from(1)); [INFO] [stdout] 157 | | assert_eq!(Robj::from(1_u16), Robj::from(1)); [INFO] [stdout] ... | [INFO] [stdout] 195 | | assert!(Robj::from(>::None).is_na()); [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/tests.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / test! { [INFO] [stdout] 202 | | let p = parse("print(1L);print(1L);")?; [INFO] [stdout] 203 | | let q = Expressions::from_values(&[ [INFO] [stdout] 204 | | r!(Language::from_values(&[r!(Symbol::from_string("print")), r!(1)])), [INFO] [stdout] ... | [INFO] [stdout] 210 | | assert_eq!(p, Robj::from(2)); [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/tests.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | / test! { [INFO] [stdout] 217 | | // Allocation where size is known in advance. [INFO] [stdout] 218 | | let robj = (0..3).collect_robj(); [INFO] [stdout] 219 | | assert_eq!(robj.as_integer_vector().unwrap(), vec![0, 1, 2]); [INFO] [stdout] ... | [INFO] [stdout] 253 | | assert_eq!(robj.as_str_vector(), Some(vec!["0", "2"])); [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/robj/tests.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / test! { [INFO] [stdout] 265 | | let src: &[&str] = &["1", "2", "3"]; [INFO] [stdout] 266 | | let robj = Robj::from(src); [INFO] [stdout] 267 | | let iter = ::try_from(&robj).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 290 | | */ [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/complexes.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | / test! { [INFO] [stdout] 107 | | let vec = vec![c64::new(0., 0.), c64::new(1., 1.), c64::new(0., 1.)]; [INFO] [stdout] 108 | | let vec_rob: Complexes = vec.clone().try_into().unwrap(); [INFO] [stdout] 109 | | let vec_rob_slice: &[c64] = vec_rob.robj.as_typed_slice().unwrap(); [INFO] [stdout] 110 | | assert_eq!(vec_rob_slice, vec.as_slice()); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/doubles.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / test! { [INFO] [stdout] 121 | | let test_vec = vec![0., 1., std::f64::consts::PI, -1.]; [INFO] [stdout] 122 | | let test_doubles: Doubles = test_vec.clone().try_into().unwrap(); [INFO] [stdout] 123 | | let test_doubles_slice = test_doubles.robj.as_real_slice().unwrap(); [INFO] [stdout] 124 | | assert_eq!(test_doubles_slice, test_vec); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / test! { [INFO] [stdout] 115 | | let vec : Logicals = (0..3).map(|i| i % 2 == 0).collect(); [INFO] [stdout] 116 | | assert_eq!(vec, Logicals::from_values([true, false, true])); [INFO] [stdout] 117 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / test! { [INFO] [stdout] 123 | | let src = vec![true, false, true]; [INFO] [stdout] 124 | | let iter = src.iter(); [INFO] [stdout] 125 | | let vec : Logicals = iter.collect(); [INFO] [stdout] 126 | | assert_eq!(vec, Logicals::from_values(src)); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / test! { [INFO] [stdout] 133 | | let mut vec = Logicals::from_values([true, false, true]); [INFO] [stdout] 134 | | vec.iter_mut().for_each(|v| *v = true.into()); [INFO] [stdout] 135 | | assert_eq!(vec, Logicals::from_values([true, true, true])); [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / test! { [INFO] [stdout] 150 | | // Short (<64k) vectors are allocated. [INFO] [stdout] 151 | | let vec = Logicals::from_values([true, false, true]); [INFO] [stdout] 152 | | assert_eq!(vec.is_altrep(), false); [INFO] [stdout] ... | [INFO] [stdout] 157 | | assert_eq!(dest, [false, true]); [INFO] [stdout] 158 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / test! { [INFO] [stdout] 164 | | let vec = Logicals::from_values_altrep((0..1000000000).map(|_| Rbool::from(true))); [INFO] [stdout] 165 | | assert_eq!(vec.is_altrep(), true); [INFO] [stdout] 166 | | assert_eq!(vec.elt(12345678), true); [INFO] [stdout] ... | [INFO] [stdout] 169 | | assert_eq!(dest, [true, true]); [INFO] [stdout] 170 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / test! { [INFO] [stdout] 176 | | let vec = Logicals::new(10); [INFO] [stdout] 177 | | assert_eq!(vec.is_logical(), true); [INFO] [stdout] 178 | | assert_eq!(vec.len(), 10); [INFO] [stdout] 179 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/logicals.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / test! { [INFO] [stdout] 185 | | let test = vec![false, true, true, false]; [INFO] [stdout] 186 | | let test_rbool: Vec = test.clone().into_iter().map(|x|x.into()).collect(); [INFO] [stdout] 187 | | let test_logicals: Logicals = test.try_into().unwrap(); [INFO] [stdout] 188 | | assert_eq!(test_logicals.robj.as_logical_slice().unwrap(), &test_rbool); [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/matrix.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | / test! { [INFO] [stdout] 720 | | let vector = RColumn::new_column(3, |r| [1., 2., 3.][r]); [INFO] [stdout] 721 | | let robj = r!(vector); [INFO] [stdout] 722 | | assert_eq!(robj.is_vector(), true); [INFO] [stdout] ... | [INFO] [stdout] 752 | | assert_eq!(array2.nsub(), 2); [INFO] [stdout] 753 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/matrix.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | / test! { [INFO] [stdout] ... | [INFO] [stdout] 772 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/symbol.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / test! { [INFO] [stdout] 237 | | assert!(unbound_value().is_symbol()); [INFO] [stdout] 238 | | assert!(missing_arg().is_symbol()); [INFO] [stdout] 239 | | assert!(base_symbol().is_symbol()); [INFO] [stdout] ... | [INFO] [stdout] 269 | | assert!(dot_target().is_symbol()); [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/conversions/try_into_int.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / test! { [INFO] [stdout] 112 | | let value: f64 = f64::na(); [INFO] [stdout] 113 | | let int_value: ConversionResult = value.try_into_int(); [INFO] [stdout] 114 | | assert_eq!(int_value, Err(ConversionError::NotIntegerish)); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / test! { [INFO] [stdout] 122 | | let vec : Integers = (0..3).collect(); [INFO] [stdout] 123 | | assert_eq!(vec, Integers::from_values([0, 1, 2])); [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / test! { [INFO] [stdout] 130 | | let mut vec = Integers::from_values(0..3); [INFO] [stdout] 131 | | vec.iter_mut().for_each(|v| *v += 1); [INFO] [stdout] 132 | | assert_eq!(vec, Integers::from_values(1..4)); [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / test! { [INFO] [stdout] 139 | | let vec = Integers::from_values(0..3); [INFO] [stdout] 140 | | assert_eq!(vec.iter().sum::(), 3); [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / test! { [INFO] [stdout] 147 | | // Short (<64k) vectors are allocated. [INFO] [stdout] 148 | | let vec = Integers::from_values((0..3).map(|i| 2-i)); [INFO] [stdout] 149 | | assert_eq!(vec.is_altrep(), false); [INFO] [stdout] ... | [INFO] [stdout] 154 | | assert_eq!(dest, [1, 0]); [INFO] [stdout] 155 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / test! { [INFO] [stdout] 161 | | let vec = Integers::from_values_altrep(0..1000000000); [INFO] [stdout] 162 | | assert_eq!(vec.is_altrep(), true); [INFO] [stdout] 163 | | assert_eq!(vec.elt(12345678), 12345678); [INFO] [stdout] ... | [INFO] [stdout] 166 | | assert_eq!(dest, [12345678, 12345679]); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | / test! { [INFO] [stdout] 173 | | let vec = Integers::new(10); [INFO] [stdout] 174 | | assert_eq!(vec.is_integer(), true); [INFO] [stdout] 175 | | assert_eq!(vec.len(), 10); [INFO] [stdout] 176 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/wrapper/integers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / test! { [INFO] [stdout] 182 | | let int_vec = vec![3,4,0,-2]; [INFO] [stdout] 183 | | let int_vec_robj: Robj = int_vec.clone().try_into().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | / test! { [INFO] [stdout] 799 | | use super::*; [INFO] [stdout] 800 | | // Call the exported functions through their generated C wrappers. [INFO] [stdout] 801 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 845 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | / test! { [INFO] [stdout] 851 | | let mut person = Person::new(); [INFO] [stdout] 852 | | person.set_name("fred"); [INFO] [stdout] 853 | | let robj = r!(person); [INFO] [stdout] ... | [INFO] [stdout] 856 | | assert_eq!(person2.name(), "fred"); [INFO] [stdout] 857 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | / test! { [INFO] [stdout] 863 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 914 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | / test! { [INFO] [stdout] 929 | | let txt_con = R!(r#"textConnection("test_con", open = "w")"#).unwrap(); [INFO] [stdout] 930 | | call!("sink", &txt_con).unwrap(); [INFO] [stdout] 931 | | rprintln!("Hello world %%!"); //%% checks printf formatting is off, yields one % if on [INFO] [stdout] ... | [INFO] [stdout] 935 | | assert_eq!(result, r!("Hello world %%!")); [INFO] [stdout] 936 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | / ... test! { [INFO] [stdout] 950 | | ... // Rust interface. [INFO] [stdout] 951 | | ... let metadata = get_my_module_metadata(); [INFO] [stdout] 952 | | ... assert_eq!(metadata.functions[0].doc, " comment #1\n comment #2\n\n comment #3\n comment #4\n *\n aux_func doc... [INFO] [stdout] ... | [INFO] [stdout] 966 | | ... assert_eq!(impls.len(), 1); [INFO] [stdout] 967 | | ... } [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | / test! { [INFO] [stdout] 973 | | assert_eq!(pairlist!(1, 2, 3), Pairlist::from_pairs(&[("", 1), ("", 2), ("", 3)])); [INFO] [stdout] 974 | | assert_eq!(pairlist!(a=1, 2, 3), Pairlist::from_pairs(&[("a", 1), ("", 2), ("", 3)])); [INFO] [stdout] 975 | | assert_eq!(pairlist!(1, b=2, 3), Pairlist::from_pairs(&[("", 1), ("b", 2), ("", 3)])); [INFO] [stdout] ... | [INFO] [stdout] 978 | | assert_eq!(pairlist!(), Pairlist::from(())); [INFO] [stdout] 979 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> src/rmacros.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use extendr_engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:984:9 [INFO] [stdout] | [INFO] [stdout] 984 | / test! { [INFO] [stdout] 985 | | assert_eq!(R!("1")?, r!(1.0)); [INFO] [stdout] 986 | | assert_eq!(R!(r"1")?, r!(1.0)); [INFO] [stdout] 987 | | assert_eq!(R!(r" [INFO] [stdout] ... | [INFO] [stdout] 1006 | | ")?, r!(1.0)); [INFO] [stdout] 1007 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (lib test) due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "744d7d4a655331769cc03dca5a0e3d3da2ecfdc0aaba3eb1310b47ff852e9c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744d7d4a655331769cc03dca5a0e3d3da2ecfdc0aaba3eb1310b47ff852e9c33", kill_on_drop: false }` [INFO] [stdout] 744d7d4a655331769cc03dca5a0e3d3da2ecfdc0aaba3eb1310b47ff852e9c33