[INFO] fetching crate extendr-api 0.8.1... [INFO] testing extendr-api-0.8.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate extendr-api 0.8.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate extendr-api 0.8.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-stack v0.13.0 [INFO] [stderr] Downloaded faer-entity v0.20.1 [INFO] [stderr] Downloaded rstest v0.22.0 [INFO] [stderr] Downloaded extendr-ffi v0.8.1 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded extendr-macros v0.8.1 [INFO] [stderr] Downloaded rstest_macros v0.22.0 [INFO] [stderr] Downloaded raw-cpuid v11.5.0 [INFO] [stderr] Downloaded dyn-stack v0.11.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded faer v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a446c8a2eb02f154bfa4be654b79a7073eb175dd3d9b05f186a062f9fe56102d [INFO] running `Command { std: "docker" "start" "-a" "a446c8a2eb02f154bfa4be654b79a7073eb175dd3d9b05f186a062f9fe56102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a446c8a2eb02f154bfa4be654b79a7073eb175dd3d9b05f186a062f9fe56102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a446c8a2eb02f154bfa4be654b79a7073eb175dd3d9b05f186a062f9fe56102d", kill_on_drop: false }` [INFO] [stdout] a446c8a2eb02f154bfa4be654b79a7073eb175dd3d9b05f186a062f9fe56102d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d63cc85a4cfc82325a3037d0c4d38ccb4a0a299bd0cc87b1fd474d2e879b4080 [INFO] running `Command { std: "docker" "start" "-a" "d63cc85a4cfc82325a3037d0c4d38ccb4a0a299bd0cc87b1fd474d2e879b4080", kill_on_drop: false }` [INFO] [stderr] Compiling extendr-ffi v0.8.1 [INFO] [stderr] Compiling extendr-api v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling extendr-macros v0.8.1 [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)]` (part of `#[warn(unused)]`) 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: 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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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 10.41s [INFO] running `Command { std: "docker" "inspect" "d63cc85a4cfc82325a3037d0c4d38ccb4a0a299bd0cc87b1fd474d2e879b4080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63cc85a4cfc82325a3037d0c4d38ccb4a0a299bd0cc87b1fd474d2e879b4080", kill_on_drop: false }` [INFO] [stdout] d63cc85a4cfc82325a3037d0c4d38ccb4a0a299bd0cc87b1fd474d2e879b4080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767d76b1fa80db9002eb26d1e994cfb0f80880a7d29fc03b3fd9d22e88df9df0 [INFO] running `Command { std: "docker" "start" "-a" "767d76b1fa80db9002eb26d1e994cfb0f80880a7d29fc03b3fd9d22e88df9df0", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [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.1 [INFO] [stderr] Compiling extendr-api v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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] --> 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/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/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 "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/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] [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] --> 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/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/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] 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] 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] [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/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/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/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] 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: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/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] --> 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] 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] 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/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/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] 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] 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] [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] [stderr] error: could not compile `extendr-api` (test "from_iterator_tests") due to 4 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] [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/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] [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] --> 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] [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 "extendr_macro") due to 3 previous errors [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] 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] 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/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] [stderr] error: could not compile `extendr-api` (test "dataframe_tests") due to 2 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/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_... [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" "767d76b1fa80db9002eb26d1e994cfb0f80880a7d29fc03b3fd9d22e88df9df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767d76b1fa80db9002eb26d1e994cfb0f80880a7d29fc03b3fd9d22e88df9df0", kill_on_drop: false }` [INFO] [stdout] 767d76b1fa80db9002eb26d1e994cfb0f80880a7d29fc03b3fd9d22e88df9df0