[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_getrandom_patch_0 [INFO] extracting crate extendr-api 0.8.0 into /workspace/builds/worker-7-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-7-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 v0.1.2 [INFO] [stderr] Downloaded rstest v0.22.0 [INFO] [stderr] Downloaded dbgf v0.1.2 [INFO] [stderr] Downloaded matrixcompare-core v0.1.0 [INFO] [stderr] Downloaded nano-gemm-c32 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-c64 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-f32 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-codegen v0.1.0 [INFO] [stderr] Downloaded nano-gemm-core v0.1.0 [INFO] [stderr] Downloaded faer-entity v0.20.1 [INFO] [stderr] Downloaded extendr-ffi v0.8.0 [INFO] [stderr] Downloaded coe-rs v0.1.2 [INFO] [stderr] Downloaded extendr-macros v0.8.0 [INFO] [stderr] Downloaded dyn-stack v0.11.0 [INFO] [stderr] Downloaded matrixcompare v0.3.0 [INFO] [stderr] Downloaded generativity v1.1.0 [INFO] [stderr] Downloaded nano-gemm-f64 v0.1.0 [INFO] [stderr] Downloaded rstest_macros v0.22.0 [INFO] [stderr] Downloaded build-print v0.1.1 [INFO] [stderr] Downloaded npyz v0.8.3 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded faer v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b5a311aff92238371b42deafc15202947df0baef3c91b8abb708b81153cbe4c5 [INFO] running `Command { std: "docker" "start" "-a" "b5a311aff92238371b42deafc15202947df0baef3c91b8abb708b81153cbe4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5a311aff92238371b42deafc15202947df0baef3c91b8abb708b81153cbe4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a311aff92238371b42deafc15202947df0baef3c91b8abb708b81153cbe4c5", kill_on_drop: false }` [INFO] [stdout] b5a311aff92238371b42deafc15202947df0baef3c91b8abb708b81153cbe4c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] efc74d12487bbc0287c8c4b073eb4c26bbdf0ef63ff35bc73833dd49f8424d81 [INFO] running `Command { std: "docker" "start" "-a" "efc74d12487bbc0287c8c4b073eb4c26bbdf0ef63ff35bc73833dd49f8424d81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling build-print v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling extendr-api v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling extendr-ffi v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling extendr-macros 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 13.96s [INFO] running `Command { std: "docker" "inspect" "efc74d12487bbc0287c8c4b073eb4c26bbdf0ef63ff35bc73833dd49f8424d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc74d12487bbc0287c8c4b073eb4c26bbdf0ef63ff35bc73833dd49f8424d81", kill_on_drop: false }` [INFO] [stdout] efc74d12487bbc0287c8c4b073eb4c26bbdf0ef63ff35bc73833dd49f8424d81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ec286178d25d39442571e4566a12e3bb14b72a5d4bc498bab75fb6c6f1747843 [INFO] running `Command { std: "docker" "start" "-a" "ec286178d25d39442571e4566a12e3bb14b72a5d4bc498bab75fb6c6f1747843", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling extendr-macros v0.8.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] --> tests/rng_tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / test! { [INFO] [stdout] 29 | | R!(r#"set.seed(20230205)"#).unwrap(); [INFO] [stdout] 30 | | let x = generate_big_random_vec(); [INFO] [stdout] 31 | | R!(r#"set.seed(20230205)"#).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 38 | | ); [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "rng_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/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/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: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/scalar_tests.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / test! { [INFO] [stdout] 162 | | let a = Rfloat::from(20.); [INFO] [stdout] 163 | | let b = Rfloat::from(10.); [INFO] [stdout] 164 | | assert_eq!(a + b, Rfloat::from(30.)); [INFO] [stdout] ... | [INFO] [stdout] 240 | | assert_eq!(Rfloat::from(0.).abs(), Rfloat::from(0.)); [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_tests.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / test! { [INFO] [stdout] 323 | | // LHS Rfloat, RHS Rfloat [INFO] [stdout] 324 | | let mut a = Rfloat::from(20.); [INFO] [stdout] 325 | | a += Rfloat::from(10.); [INFO] [stdout] ... | [INFO] [stdout] 444 | | assert!(b.is_nan()); [INFO] [stdout] 445 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/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/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] --> tests/io_tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / test! { [INFO] [stdout] 26 | | let text = r#"A [INFO] [stdout] 27 | | 3 [INFO] [stdout] 28 | | 262402 [INFO] [stdout] ... | [INFO] [stdout] 44 | | assert_eq!(res, Ok(Robj::from(1_i32))); [INFO] [stdout] 45 | | } [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/io_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | let mut w = Vec::new(); [INFO] [stdout] 8 | | Robj::from(1).to_writer(&mut w, PstreamFormat::R_pstream_ascii_format, 3, None)?; [INFO] [stdout] 9 | | assert!(w[0] == b'A'); [INFO] [stdout] ... | [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] 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/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/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/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] [stderr] error: could not compile `extendr-api` (test "into_iterator_tests") due to 1 previous error [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] [stderr] error: could not compile `extendr-api` (test "issue-397-memory-allocation") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | #[derive(Debug, Clone)] [INFO] [stdout] 8 | | struct MyCompactIntRange { [INFO] [stdout] 9 | | start: i32, [INFO] [stdout] ... | [INFO] [stdout] 53 | | assert_eq!(dest, [2, 3]); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / test! { [INFO] [stdout] 61 | | #[derive(Debug, Clone)] [INFO] [stdout] 62 | | struct MyCompactRealRange { [INFO] [stdout] 63 | | start: f64, [INFO] [stdout] ... | [INFO] [stdout] 111 | | assert_eq!(dest, [2.0, 3.0]); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / test! { [INFO] [stdout] 118 | | #[derive(Debug, Clone)] [INFO] [stdout] 119 | | struct IsEven { [INFO] [stdout] 120 | | len: usize, [INFO] [stdout] ... | [INFO] [stdout] 142 | | assert_eq!(obj.as_robj().as_logical_slice().unwrap(), [FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE]); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/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] --> 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: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/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/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/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: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] 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: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] 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 "io_tests") due to 2 previous errors [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] [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/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/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] [stderr] error: could not compile `extendr-api` (test "call_tests") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/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] [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 "externalptr_tests") due to 3 previous errors [INFO] [stderr] error: could not compile `extendr-api` (test "derive_into_list") due to 1 previous error [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/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 "altrep_tests") due to 7 previous errors [INFO] [stderr] error: could not compile `extendr-api` (test "scalar_tests") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "try_from_tests") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / test! { [INFO] [stdout] 99 | | let right = T::na(); [INFO] [stdout] 100 | | assert_eq!(left > right, false); [INFO] [stdout] 101 | | assert_eq!(left >= right, false); [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / test! { [INFO] [stdout] 115 | | let right = T::na(); [INFO] [stdout] 116 | | assert_eq!(left < right, false); [INFO] [stdout] 117 | | assert_eq!(left <= right, false); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / test! { [INFO] [stdout] 131 | | let left = T::na(); [INFO] [stdout] 132 | | assert_eq!(left < right, false); [INFO] [stdout] 133 | | assert_eq!(left <= right, false); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / test! { [INFO] [stdout] 147 | | let left = T::na(); [INFO] [stdout] 148 | | assert_eq!(left > right, false); [INFO] [stdout] 149 | | assert_eq!(left >= right, false); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/scalar_ordering_tests.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / test! { [INFO] [stdout] 164 | | let na = T::na(); [INFO] [stdout] 165 | | assert_eq!(value.partial_cmp(&na), None); [INFO] [stdout] 166 | | assert_eq!(na.partial_cmp(&value), None); [INFO] [stdout] 167 | | assert_eq!(na.partial_cmp(&na), None); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [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] [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` (test "scalar_ordering_tests") due to 5 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 "vector_tests") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "ec286178d25d39442571e4566a12e3bb14b72a5d4bc498bab75fb6c6f1747843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec286178d25d39442571e4566a12e3bb14b72a5d4bc498bab75fb6c6f1747843", kill_on_drop: false }` [INFO] [stdout] ec286178d25d39442571e4566a12e3bb14b72a5d4bc498bab75fb6c6f1747843