[INFO] fetching crate swift-rs-hatter-fork 1.0.6... [INFO] testing swift-rs-hatter-fork-1.0.6 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate swift-rs-hatter-fork 1.0.6 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs-hatter-fork 1.0.6 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.10.0 [INFO] [stderr] Downloaded serial_test v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 362c455d1cc15be19922f32c2649965aa83a509156534741203dd7ad7a4230ce [INFO] running `Command { std: "docker" "start" "-a" "362c455d1cc15be19922f32c2649965aa83a509156534741203dd7ad7a4230ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "362c455d1cc15be19922f32c2649965aa83a509156534741203dd7ad7a4230ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362c455d1cc15be19922f32c2649965aa83a509156534741203dd7ad7a4230ce", kill_on_drop: false }` [INFO] [stdout] 362c455d1cc15be19922f32c2649965aa83a509156534741203dd7ad7a4230ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 571c904399026b880d38a829b486b3119e554673579190fa88b00f2bd56dd0b7 [INFO] running `Command { std: "docker" "start" "-a" "571c904399026b880d38a829b486b3119e554673579190fa88b00f2bd56dd0b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling memchr v2.8.0 [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 8.94s [INFO] running `Command { std: "docker" "inspect" "571c904399026b880d38a829b486b3119e554673579190fa88b00f2bd56dd0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571c904399026b880d38a829b486b3119e554673579190fa88b00f2bd56dd0b7", kill_on_drop: false }` [INFO] [stdout] 571c904399026b880d38a829b486b3119e554673579190fa88b00f2bd56dd0b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7704ca06a3500789d74ed74ef3e0d3fd3c91965942f1a1e4ceca46481bbefaaa [INFO] running `Command { std: "docker" "start" "-a" "7704ca06a3500789d74ed74ef3e0d3fd3c91965942f1a1e4ceca46481bbefaaa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [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 syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [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 8.30s [INFO] running `Command { std: "docker" "inspect" "7704ca06a3500789d74ed74ef3e0d3fd3c91965942f1a1e4ceca46481bbefaaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7704ca06a3500789d74ed74ef3e0d3fd3c91965942f1a1e4ceca46481bbefaaa", kill_on_drop: false }` [INFO] [stdout] 7704ca06a3500789d74ed74ef3e0d3fd3c91965942f1a1e4ceca46481bbefaaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a095e6076de25a306779f0acf08540910b2e70abe9f92cf92a9d06359adf4301 [INFO] running `Command { std: "docker" "start" "-a" "a095e6076de25a306779f0acf08540910b2e70abe9f92cf92a9d06359adf4301", 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.06s [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/swift.rs - swift::swift (line 65) ... FAILED [INFO] [stdout] test src-rs/autorelease.rs - autorelease::autoreleasepool (line 6) - compile ... FAILED [INFO] [stdout] test src-rs/types/object.rs - types::object::SRObject (line 17) ... FAILED [INFO] [stdout] test src-rs/types/array.rs - types::array::SRArray (line 29) ... FAILED [INFO] [stdout] test src-rs/types/array.rs - types::array::SRArray (line 47) ... FAILED [INFO] [stdout] test src-rs/types/data.rs - types::data::SRData (line 15) ... FAILED [INFO] [stdout] test src-rs/types/string.rs - types::string::SRString (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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/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/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/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] ---- 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] [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.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a095e6076de25a306779f0acf08540910b2e70abe9f92cf92a9d06359adf4301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a095e6076de25a306779f0acf08540910b2e70abe9f92cf92a9d06359adf4301", kill_on_drop: false }` [INFO] [stdout] a095e6076de25a306779f0acf08540910b2e70abe9f92cf92a9d06359adf4301