[INFO] fetching crate swift-rs-hatter-fork 1.0.6... [INFO] testing swift-rs-hatter-fork-1.0.6 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate swift-rs-hatter-fork 1.0.6 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate swift-rs-hatter-fork 1.0.6 [INFO] finished tweaking crates.io crate swift-rs-hatter-fork 1.0.6 [INFO] tweaked toml for crates.io crate swift-rs-hatter-fork 1.0.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs-hatter-fork 1.0.6 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding serial_test v0.10.0 (available: v3.4.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fc9ab76ea3a6f441cebea764e6355a2855a038152d2c84ab35c8733506052837 [INFO] running `Command { std: "docker" "start" "-a" "fc9ab76ea3a6f441cebea764e6355a2855a038152d2c84ab35c8733506052837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc9ab76ea3a6f441cebea764e6355a2855a038152d2c84ab35c8733506052837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9ab76ea3a6f441cebea764e6355a2855a038152d2c84ab35c8733506052837", kill_on_drop: false }` [INFO] [stdout] fc9ab76ea3a6f441cebea764e6355a2855a038152d2c84ab35c8733506052837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 395b1576d81d8b1665117813941bc4313b92a7e120c3ec91e54218f4d772ea27 [INFO] running `Command { std: "docker" "start" "-a" "395b1576d81d8b1665117813941bc4313b92a7e120c3ec91e54218f4d772ea27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling swift-rs-hatter-fork v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [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] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.59s [INFO] running `Command { std: "docker" "inspect" "395b1576d81d8b1665117813941bc4313b92a7e120c3ec91e54218f4d772ea27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395b1576d81d8b1665117813941bc4313b92a7e120c3ec91e54218f4d772ea27", kill_on_drop: false }` [INFO] [stdout] 395b1576d81d8b1665117813941bc4313b92a7e120c3ec91e54218f4d772ea27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0067b494f2cd0fa768d6974adfdf2d35fd0d43e99d84d0633cab8dc48d4fe567 [INFO] running `Command { std: "docker" "start" "-a" "0067b494f2cd0fa768d6974adfdf2d35fd0d43e99d84d0633cab8dc48d4fe567", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serial_test_derive v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serial_test v0.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling swift-rs-hatter-fork v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [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] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [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] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "0067b494f2cd0fa768d6974adfdf2d35fd0d43e99d84d0633cab8dc48d4fe567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0067b494f2cd0fa768d6974adfdf2d35fd0d43e99d84d0633cab8dc48d4fe567", kill_on_drop: false }` [INFO] [stdout] 0067b494f2cd0fa768d6974adfdf2d35fd0d43e99d84d0633cab8dc48d4fe567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] bff544e5701be35bd23071c2ca5e757136eef4eb4e41627f8aed8e941b6d5741 [INFO] running `Command { std: "docker" "start" "-a" "bff544e5701be35bd23071c2ca5e757136eef4eb4e41627f8aed8e941b6d5741", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src-rs/swift.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe fn swift_ref(&self) -> SwiftRef [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `swift-rs-hatter-fork` (lib) generated 1 warning (run `cargo fix --lib -p swift-rs-hatter-fork` to apply 1 suggestion) [INFO] [stderr] warning: `swift-rs-hatter-fork` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src-rs/lib.rs (/opt/rustwide/target/debug/deps/swift_rs_hatter_fork-1cb11b7fc16c8b86) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests swift_rs_hatter_fork [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src-rs/autorelease.rs - autorelease::autoreleasepool (line 6) - compile ... FAILED [INFO] [stdout] test src-rs/types/array.rs - types::array::SRArray (line 29) ... FAILED [INFO] [stdout] test src-rs/types/string.rs - types::string::SRString (line 13) ... FAILED [INFO] [stdout] test src-rs/swift.rs - swift::swift (line 65) ... FAILED [INFO] [stdout] test src-rs/types/array.rs - types::array::SRArray (line 47) ... FAILED [INFO] [stdout] test src-rs/types/object.rs - types::object::SRObject (line 17) ... FAILED [INFO] [stdout] test src-rs/types/data.rs - types::data::SRData (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src-rs/autorelease.rs - autorelease::autoreleasepool (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/autorelease.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swift_rs::autoreleasepool; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/types/array.rs - types::array::SRArray (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/types/array.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use swift_rs::{swift, SRArray, SRObject, Int}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_int_array` in this scope [INFO] [stdout] --> src-rs/types/array.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let array = unsafe { get_int_array() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/types/string.rs - types::string::SRString (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/types/string.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use swift_rs::{swift, SRString}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_greeting` in this scope [INFO] [stdout] --> src-rs/types/string.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let greeting = unsafe { get_greeting(&"Brendan".into()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/swift.rs - swift::swift (line 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/swift.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use swift_rs::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `swift` in this scope [INFO] [stdout] --> src-rs/swift.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | swift!(fn echo(string: &SRString) -> SRString); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 65 + use swift_rs_hatter_fork::swift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/types/array.rs - types::array::SRArray (line 47) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/types/array.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use swift_rs::{swift, SRArray, SRObject, Int}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_array_struct` in this scope [INFO] [stdout] --> src-rs/types/array.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let data = unsafe { get_array_struct() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/types/object.rs - types::object::SRObject (line 17) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/types/object.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use swift_rs::{swift, SRObject, Int, Bool}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_custom_object` in this scope [INFO] [stdout] --> src-rs/types/object.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let value = unsafe { get_custom_object() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src-rs/types/data.rs - types::data::SRData (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swift_rs` [INFO] [stdout] --> src-rs/types/data.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use swift_rs::{swift, SRData}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `swift_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swift_rs`, use `cargo add swift_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_data` in this scope [INFO] [stdout] --> src-rs/types/data.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let data = unsafe { get_data() }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src-rs/autorelease.rs - autorelease::autoreleasepool (line 6) [INFO] [stdout] src-rs/swift.rs - swift::swift (line 65) [INFO] [stdout] src-rs/types/array.rs - types::array::SRArray (line 29) [INFO] [stdout] src-rs/types/array.rs - types::array::SRArray (line 47) [INFO] [stdout] src-rs/types/data.rs - types::data::SRData (line 15) [INFO] [stdout] src-rs/types/object.rs - types::object::SRObject (line 17) [INFO] [stdout] src-rs/types/string.rs - types::string::SRString (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bff544e5701be35bd23071c2ca5e757136eef4eb4e41627f8aed8e941b6d5741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff544e5701be35bd23071c2ca5e757136eef4eb4e41627f8aed8e941b6d5741", kill_on_drop: false }` [INFO] [stdout] bff544e5701be35bd23071c2ca5e757136eef4eb4e41627f8aed8e941b6d5741