[INFO] fetching crate extendr-api 0.8.1... [INFO] testing extendr-api-0.8.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate extendr-api 0.8.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate extendr-api 0.8.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 019f18997d8d5b198ff476e65aac19b3f6199cbc6a64a4256e043c45f61d4893 [INFO] running `Command { std: "docker" "start" "-a" "019f18997d8d5b198ff476e65aac19b3f6199cbc6a64a4256e043c45f61d4893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "019f18997d8d5b198ff476e65aac19b3f6199cbc6a64a4256e043c45f61d4893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019f18997d8d5b198ff476e65aac19b3f6199cbc6a64a4256e043c45f61d4893", kill_on_drop: false }` [INFO] [stdout] 019f18997d8d5b198ff476e65aac19b3f6199cbc6a64a4256e043c45f61d4893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13d3333a7f360f4d6a892a9994dab01f4435f322ca1abc25c2f07c0b1c7947a [INFO] running `Command { std: "docker" "start" "-a" "b13d3333a7f360f4d6a892a9994dab01f4435f322ca1abc25c2f07c0b1c7947a", 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 9.34s [INFO] running `Command { std: "docker" "inspect" "b13d3333a7f360f4d6a892a9994dab01f4435f322ca1abc25c2f07c0b1c7947a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13d3333a7f360f4d6a892a9994dab01f4435f322ca1abc25c2f07c0b1c7947a", kill_on_drop: false }` [INFO] [stdout] b13d3333a7f360f4d6a892a9994dab01f4435f322ca1abc25c2f07c0b1c7947a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18cd04589e777749ce16dc020f830117a637568b93a4e4965607fac5593ccbfd [INFO] running `Command { std: "docker" "start" "-a" "18cd04589e777749ce16dc020f830117a637568b93a4e4965607fac5593ccbfd", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [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 proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling extendr-macros v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling extendr-api v0.8.1 (/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)]` (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/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/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/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/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/from_iterator_tests.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / test!( [INFO] [stdout] 50 | | let x = [0_f64; 150].map(|_|single_threaded(||unsafe {extendr_ffi::Rf_runif(0., 100.)})); [INFO] [stdout] 51 | | R!("gctorture(on = TRUE)")?; [INFO] [stdout] 52 | | let list: List = x.into_iter().collect(); [INFO] [stdout] 53 | | R!("gctorture(on = FALSE)")?; [INFO] [stdout] 54 | | assert_eq!(list, List::from_values(x)); [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/from_iterator_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / test!( [INFO] [stdout] 61 | | let question_quote = ["the","answer","to", "the", "ultimate", "question"]; [INFO] [stdout] 62 | | R!("gctorture(on = TRUE)")?; [INFO] [stdout] 63 | | let qq_r_character_vec: Strings = question_quote.into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | assert_eq!(qq_r_character_vec, qq_directly); [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | #[derive(Debug, Clone)] [INFO] [stdout] 8 | | struct MyCompactIntRange { [INFO] [stdout] 9 | | start: i32, [INFO] [stdout] ... | [INFO] [stdout] 53 | | assert_eq!(dest, [2, 3]); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / test! { [INFO] [stdout] 61 | | #[derive(Debug, Clone)] [INFO] [stdout] 62 | | struct MyCompactRealRange { [INFO] [stdout] 63 | | start: f64, [INFO] [stdout] ... | [INFO] [stdout] 111 | | assert_eq!(dest, [2.0, 3.0]); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / test! { [INFO] [stdout] 118 | | #[derive(Debug, Clone)] [INFO] [stdout] 119 | | struct IsEven { [INFO] [stdout] 120 | | len: usize, [INFO] [stdout] ... | [INFO] [stdout] 142 | | assert_eq!(obj.as_robj().as_logical_slice().unwrap(), [FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE]); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/altrep_tests.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / test! { [INFO] [stdout] 149 | | #[derive(Debug, Clone)] [INFO] [stdout] 150 | | struct MyCompactRawRange { [INFO] [stdout] 151 | | start: i32, [INFO] [stdout] ... | [INFO] [stdout] 174 | | assert_eq!(obj.as_robj().as_raw_slice().unwrap(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/externalptr_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / test! { [INFO] [stdout] 7 | | let extptr = ExternalPtr::new(1); [INFO] [stdout] 8 | | assert_eq!(*extptr, 1); [INFO] [stdout] 9 | | let robj : Robj = extptr.into(); [INFO] [stdout] 10 | | let extptr2 : ExternalPtr = robj.try_into().unwrap(); [INFO] [stdout] 11 | | assert_eq!(*extptr2, 1); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/externalptr_tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / test! { [INFO] [stdout] 18 | | // This flag will get set when we do the drop. [INFO] [stdout] 19 | | static Z : Lazy> = Lazy::new(|| std::sync::Mutex::new(false)); [INFO] [stdout] ... | [INFO] [stdout] 45 | | assert_eq!(*Z.lock().unwrap(), true); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/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] [stderr] error: could not compile `extendr-api` (test "issue-397-memory-allocation") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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 "from_iterator_tests") due to 4 previous errors [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] [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/debug_tests.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / test! { [INFO] [stdout] 121 | | let r: Logicals = Logicals::from_values([TRUE]); [INFO] [stdout] 122 | | assert_eq!(format!("{:?}", r), "TRUE"); [INFO] [stdout] 123 | | let r: Logicals = Logicals::from_values([TRUE, FALSE, NA_LOGICAL]); [INFO] [stdout] ... | [INFO] [stdout] 145 | | assert_eq!(format!("{:?}", r), "[42.0 - 42.0i, 0.0 + 0.0i, NA_COMPLEX]"); [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/extendr_macro.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / test! { [INFO] [stdout] 79 | | // Matching integer. [INFO] [stdout] 80 | | assert_eq!(Robj::from_sexp(wrap__test_i32(r!(1).get())), r!(1)); [INFO] [stdout] ... | [INFO] [stdout] 132 | | assert_eq!(Robj::from_sexp(wrap__test_integers3(r!(0..4).get())), r!(6)); [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/extendr_macro.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / test! { [INFO] [stdout] 151 | | let old_hook = std::panic::take_hook(); [INFO] [stdout] ... | [INFO] [stdout] 167 | | std::panic::set_hook(old_hook); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_________^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extendr_engine` [INFO] [stdout] --> tests/extendr_macro.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / test! { [INFO] [stdout] 177 | | let vec = call!("c", 1.0, 2.0, 3.0).unwrap(); [INFO] [stdout] 178 | | assert_eq!(vec, r!([1., 2., 3.])); [INFO] [stdout] ... | [INFO] [stdout] 184 | | assert_eq!(three, r!(3)); [INFO] [stdout] 185 | | } [INFO] [stdout] | |_____^ no external crate `extendr_engine` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [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/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] 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/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/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/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/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/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] 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/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] [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extendr-api` (test "externalptr_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 "io_tests") due to 2 previous errors [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 "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 "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 "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" "18cd04589e777749ce16dc020f830117a637568b93a4e4965607fac5593ccbfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18cd04589e777749ce16dc020f830117a637568b93a4e4965607fac5593ccbfd", kill_on_drop: false }` [INFO] [stdout] 18cd04589e777749ce16dc020f830117a637568b93a4e4965607fac5593ccbfd