[INFO] fetching crate extendr-api 0.8.0... [INFO] testing extendr-api-0.8.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate extendr-api 0.8.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate extendr-api 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate extendr-api 0.8.0 [INFO] tweaked toml for crates.io crate extendr-api 0.8.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate extendr-api 0.8.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate extendr-api 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nano-gemm-codegen v0.1.0 [INFO] [stderr] Downloaded nano-gemm-core v0.1.0 [INFO] [stderr] Downloaded nano-gemm v0.1.2 [INFO] [stderr] Downloaded nano-gemm-c64 v0.1.0 [INFO] [stderr] Downloaded dbgf v0.1.2 [INFO] [stderr] Downloaded py_literal v0.4.0 [INFO] [stderr] Downloaded coe-rs v0.1.2 [INFO] [stderr] Downloaded matrixcompare-core v0.1.0 [INFO] [stderr] Downloaded equator-macro v0.2.1 [INFO] [stderr] Downloaded extendr-ffi v0.8.0 [INFO] [stderr] Downloaded npyz v0.8.3 [INFO] [stderr] Downloaded extendr-macros v0.8.0 [INFO] [stderr] Downloaded build-print v0.1.1 [INFO] [stderr] Downloaded generativity v1.1.0 [INFO] [stderr] Downloaded matrixcompare v0.3.0 [INFO] [stderr] Downloaded dyn-stack v0.11.0 [INFO] [stderr] Downloaded equator v0.2.2 [INFO] [stderr] Downloaded faer-entity v0.20.1 [INFO] [stderr] Downloaded nano-gemm-c32 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-f32 v0.1.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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68862e1199579e315acf28e15379eae9188279c0fb577fb5f68d4a39cb5dcdf9 [INFO] running `Command { std: "docker" "start" "-a" "68862e1199579e315acf28e15379eae9188279c0fb577fb5f68d4a39cb5dcdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68862e1199579e315acf28e15379eae9188279c0fb577fb5f68d4a39cb5dcdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68862e1199579e315acf28e15379eae9188279c0fb577fb5f68d4a39cb5dcdf9", kill_on_drop: false }` [INFO] [stdout] 68862e1199579e315acf28e15379eae9188279c0fb577fb5f68d4a39cb5dcdf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b50dd0269b6d71dc6c370e7c695e8e3880b23768ea2e4f78e9f718a4178d46fc [INFO] running `Command { std: "docker" "start" "-a" "b50dd0269b6d71dc6c370e7c695e8e3880b23768ea2e4f78e9f718a4178d46fc", kill_on_drop: false }` [INFO] [stderr] Compiling build-print v0.1.1 [INFO] [stderr] Compiling extendr-api v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling extendr-macros v0.8.0 [INFO] [stderr] Compiling extendr-ffi v0.8.0 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/robj/mod.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | fn as_any(&self) -> Rany { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.59s [INFO] running `Command { std: "docker" "inspect" "b50dd0269b6d71dc6c370e7c695e8e3880b23768ea2e4f78e9f718a4178d46fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50dd0269b6d71dc6c370e7c695e8e3880b23768ea2e4f78e9f718a4178d46fc", kill_on_drop: false }` [INFO] [stdout] b50dd0269b6d71dc6c370e7c695e8e3880b23768ea2e4f78e9f718a4178d46fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 89b636dce71828b590582b10b07f782110bd8fdb85b593e725ae123dfc8019a0 [INFO] running `Command { std: "docker" "start" "-a" "89b636dce71828b590582b10b07f782110bd8fdb85b593e725ae123dfc8019a0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling extendr-macros v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling extendr-api v0.8.0 (/opt/rustwide/workdir) [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/robj/mod.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | fn as_any(&self) -> Rany { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.22.0 [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] --> tests/debug_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | let r = r!(()); [INFO] [stdout] 7 | | assert_eq!(format!("{:?}", r), "()"); [INFO] [stdout] 8 | | let r : Symbol = sym!("xyz").try_into().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 64 | | assert_eq!(format!("{:?}", r), "S4"); [INFO] [stdout] 65 | | } [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/debug_tests.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / test! { [INFO] [stdout] 71 | | let test_data = vec![(true, "TRUE"), (false, "FALSE")]; [INFO] [stdout] 72 | | for (val, dbg_str) in test_data { [INFO] [stdout] 73 | | assert_eq!(format!("{:?}", Rbool::from(val)), dbg_str); [INFO] [stdout] ... | [INFO] [stdout] 114 | | assert_eq!(format!("{:?}", Rstr::na()), "NA_CHARACTER"); [INFO] [stdout] 115 | | } [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/debug_tests.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / test! { [INFO] [stdout] 121 | | let r: Logicals = Logicals::from_values([TRUE]); [INFO] [stdout] 122 | | assert_eq!(format!("{:?}", r), "TRUE"); [INFO] [stdout] 123 | | let r: Logicals = Logicals::from_values([TRUE, FALSE, NA_LOGICAL]); [INFO] [stdout] ... | [INFO] [stdout] 145 | | assert_eq!(format!("{:?}", r), "[42.0 - 42.0i, 0.0 + 0.0i, NA_COMPLEX]"); [INFO] [stdout] 146 | | } [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] [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/derive_into_list.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / test! { [INFO] [stdout] 13 | | #[derive(TryFromRobj, IntoRobj, PartialEq, Debug)] [INFO] [stdout] 14 | | struct Foo { [INFO] [stdout] 15 | | a: u16, [INFO] [stdout] ... | [INFO] [stdout] 52 | | assert_eq!(&converted_r_borrow, &converted_r_owned); [INFO] [stdout] 53 | | } [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 "debug_tests") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `extendr-api` (test "try_from_tests") due to 1 previous error [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] --> tests/externalptr_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | let extptr = ExternalPtr::new(1); [INFO] [stdout] 8 | | assert_eq!(*extptr, 1); [INFO] [stdout] 9 | | let robj : Robj = extptr.into(); [INFO] [stdout] 10 | | let extptr2 : ExternalPtr = robj.try_into().unwrap(); [INFO] [stdout] 11 | | assert_eq!(*extptr2, 1); [INFO] [stdout] 12 | | } [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/externalptr_tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / test! { [INFO] [stdout] 18 | | // This flag will get set when we do the drop. [INFO] [stdout] 19 | | static Z : Lazy> = Lazy::new(|| std::sync::Mutex::new(false)); [INFO] [stdout] ... | [INFO] [stdout] 45 | | assert_eq!(*Z.lock().unwrap(), true); [INFO] [stdout] 46 | | } [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/externalptr_tests.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / test! { [INFO] [stdout] 52 | | #[derive(Debug)] [INFO] [stdout] 53 | | struct X { [INFO] [stdout] 54 | | x: i32, [INFO] [stdout] ... | [INFO] [stdout] 60 | | assert_eq!(extptr.y, 2); [INFO] [stdout] 61 | | } [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/vector_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / test! { [INFO] [stdout] 6 | | let s = Strings::new(10); [INFO] [stdout] 7 | | assert_eq!(s.len(), 10); [INFO] [stdout] 8 | | assert_eq!(s.rtype(), Rtype::Strings); [INFO] [stdout] ... | [INFO] [stdout] 38 | | assert_eq!(s.elt(0), "xyz"); [INFO] [stdout] 39 | | } [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] --> 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] --> 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/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] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/vector_tests.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / test! { [INFO] [stdout] 45 | | let s = List::new(10); [INFO] [stdout] 46 | | assert_eq!(s.len(), 10); [INFO] [stdout] 47 | | assert_eq!(s.rtype(), Rtype::List); [INFO] [stdout] ... | [INFO] [stdout] 79 | | assert_eq!(s.as_slice().iter().any(Robj::is_na), true); [INFO] [stdout] 80 | | } [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: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] 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] --> tests/vector_tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / test! { [INFO] [stdout] 86 | | let s = Doubles::new(10); [INFO] [stdout] 87 | | assert_eq!(s.len(), 10); [INFO] [stdout] 88 | | assert_eq!(s.rtype(), Rtype::Doubles); [INFO] [stdout] ... | [INFO] [stdout] 128 | | assert_eq!(s[2], 6.0); [INFO] [stdout] 129 | | } [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/vector_tests.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / test! { [INFO] [stdout] 135 | | let s = Complexes::new(10); [INFO] [stdout] 136 | | assert_eq!(s.len(), 10); [INFO] [stdout] 137 | | assert_eq!(s.rtype(), Rtype::Complexes); [INFO] [stdout] ... | [INFO] [stdout] 178 | | assert_eq!(s[2], 6.0); [INFO] [stdout] 179 | | } [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/vector_tests.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / test! { [INFO] [stdout] 185 | | let s = Integers::new(10); [INFO] [stdout] 186 | | assert_eq!(s.len(), 10); [INFO] [stdout] 187 | | assert_eq!(s.rtype(), Rtype::Integers); [INFO] [stdout] ... | [INFO] [stdout] 227 | | assert_eq!(s[2], 6); [INFO] [stdout] 228 | | } [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 "issue-397-memory-allocation") 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] --> 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] --> 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] 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] [stderr] error: could not compile `extendr-api` (test "externalptr_tests") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/vector_tests.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / test! { [INFO] [stdout] 234 | | let x = Rstr::from_string("xyz"); [INFO] [stdout] 235 | | // All methods of &str are usable on Rstr. [INFO] [stdout] 236 | | assert_eq!(x.contains('y'), true); [INFO] [stdout] ... | [INFO] [stdout] 241 | | assert_eq!(x, "xyz"); [INFO] [stdout] 242 | | } [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/vector_tests.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / test! { [INFO] [stdout] 248 | | let vec : Doubles = (0..3).map(|x| x as f64).collect(); [INFO] [stdout] 249 | | assert_eq!(vec, Doubles::from_values([0.0, 1.0, 2.0])); [INFO] [stdout] 250 | | } [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] --> 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] --> tests/vector_tests.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / test! { [INFO] [stdout] 255 | | let mut vec = Doubles::from_values([0.0, 1.0, 2.0, 3.0]); [INFO] [stdout] 256 | | vec.iter_mut().for_each(|v| *v += 1.0); [INFO] [stdout] 257 | | assert_eq!(vec, Doubles::from_values([1.0, 2.0, 3.0, 4.0])); [INFO] [stdout] 258 | | } [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] --> 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] [stderr] error: could not compile `extendr-api` (test "derive_into_list") due to 1 previous error [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] --> tests/vector_tests.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / test! { [INFO] [stdout] 264 | | let vec = Doubles::from_values([0.0, 1.0, 2.0, 3.0]); [INFO] [stdout] 265 | | assert_eq!(vec.iter().sum::(), 6.0); [INFO] [stdout] 266 | | } [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] --> 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] --> tests/vector_tests.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / test! { [INFO] [stdout] 272 | | let vec = Doubles::from_values((0..3).map(|i| 2.0 - i as f64)); [INFO] [stdout] 273 | | assert_eq!(vec.is_altrep(), false); [INFO] [stdout] 274 | | assert_eq!(r!(vec.clone()), r!([2.0, 1.0, 0.0])); [INFO] [stdout] ... | [INFO] [stdout] 278 | | assert_eq!(dest, [1.0, 0.0]); [INFO] [stdout] 279 | | } [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/vector_tests.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / test! { [INFO] [stdout] 284 | | let vec = Doubles::from_values_altrep((0..1000000000).map(|x| x as f64)); [INFO] [stdout] 285 | | assert_eq!(vec.is_altrep(), true); [INFO] [stdout] 286 | | assert_eq!(vec.elt(12345678), 12345678.0); [INFO] [stdout] ... | [INFO] [stdout] 289 | | assert_eq!(dest, [12345678.0, 12345679.0]); [INFO] [stdout] 290 | | } [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/vector_tests.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / test! { [INFO] [stdout] 296 | | let vec = Doubles::new(10); [INFO] [stdout] 297 | | assert_eq!(vec.is_real(), true); [INFO] [stdout] 298 | | assert_eq!(vec.len(), 10); [INFO] [stdout] 299 | | } [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] --> 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] [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] --> 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] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/extendr_macro.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / test! { [INFO] [stdout] 79 | | // Matching integer. [INFO] [stdout] 80 | | assert_eq!(Robj::from_sexp(wrap__test_i32(r!(1).get())), r!(1)); [INFO] [stdout] ... | [INFO] [stdout] 132 | | assert_eq!(Robj::from_sexp(wrap__test_integers3(r!(0..4).get())), r!(6)); [INFO] [stdout] 133 | | } [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/extendr_macro.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / test! { [INFO] [stdout] 151 | | let old_hook = std::panic::take_hook(); [INFO] [stdout] ... | [INFO] [stdout] 167 | | std::panic::set_hook(old_hook); [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] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/extendr_macro.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / test! { [INFO] [stdout] 177 | | let vec = call!("c", 1.0, 2.0, 3.0).unwrap(); [INFO] [stdout] 178 | | assert_eq!(vec, r!([1., 2., 3.])); [INFO] [stdout] ... | [INFO] [stdout] 184 | | assert_eq!(three, r!(3)); [INFO] [stdout] 185 | | } [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 "macro_tests") 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 "vector_tests") due to 12 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 "dataframe_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 "extendr_macro") due to 3 previous errors [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" "89b636dce71828b590582b10b07f782110bd8fdb85b593e725ae123dfc8019a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b636dce71828b590582b10b07f782110bd8fdb85b593e725ae123dfc8019a0", kill_on_drop: false }` [INFO] [stdout] 89b636dce71828b590582b10b07f782110bd8fdb85b593e725ae123dfc8019a0