[INFO] fetching crate swiftide-macros 0.31.2... [INFO] testing swiftide-macros-0.31.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate swiftide-macros 0.31.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate swiftide-macros 0.31.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swiftide-macros 0.31.2 [INFO] tweaked toml for crates.io crate swiftide-macros 0.31.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swiftide-macros 0.31.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swiftide-macros 0.31.2 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_parser v1.0.2 [INFO] [stderr] Downloaded toml v0.9.5 [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded toml_writer v1.0.2 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded insta v1.43.2 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded winnow v0.7.12 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded indexmap v2.10.0 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded object v0.36.7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a6018ed97c9f2df5bc98c6852ef68a47c11d16bcf0c67a46f6a24e80404095c [INFO] running `Command { std: "docker" "start" "-a" "2a6018ed97c9f2df5bc98c6852ef68a47c11d16bcf0c67a46f6a24e80404095c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a6018ed97c9f2df5bc98c6852ef68a47c11d16bcf0c67a46f6a24e80404095c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6018ed97c9f2df5bc98c6852ef68a47c11d16bcf0c67a46f6a24e80404095c", kill_on_drop: false }` [INFO] [stdout] 2a6018ed97c9f2df5bc98c6852ef68a47c11d16bcf0c67a46f6a24e80404095c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b42d8e594425c8d4241c6516433ed1d9de9b2b1dbad7ca219a95e707667e55e [INFO] running `Command { std: "docker" "start" "-a" "9b42d8e594425c8d4241c6516433ed1d9de9b2b1dbad7ca219a95e707667e55e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling swiftide-macros v0.31.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.69s [INFO] running `Command { std: "docker" "inspect" "9b42d8e594425c8d4241c6516433ed1d9de9b2b1dbad7ca219a95e707667e55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b42d8e594425c8d4241c6516433ed1d9de9b2b1dbad7ca219a95e707667e55e", kill_on_drop: false }` [INFO] [stdout] 9b42d8e594425c8d4241c6516433ed1d9de9b2b1dbad7ca219a95e707667e55e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0e801d0f2ed4d4320ba338f899efd107109acea3e656078ba19d6365b3da1f [INFO] running `Command { std: "docker" "start" "-a" "5e0e801d0f2ed4d4320ba338f899efd107109acea3e656078ba19d6365b3da1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling swiftide-macros v0.31.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.77s [INFO] running `Command { std: "docker" "inspect" "5e0e801d0f2ed4d4320ba338f899efd107109acea3e656078ba19d6365b3da1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0e801d0f2ed4d4320ba338f899efd107109acea3e656078ba19d6365b3da1f", kill_on_drop: false }` [INFO] [stdout] 5e0e801d0f2ed4d4320ba338f899efd107109acea3e656078ba19d6365b3da1f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61820d59357bd6b45efd3f1e0fa47d60baddec9b8520375a400a1dc7a029fab5 [INFO] running `Command { std: "docker" "start" "-a" "61820d59357bd6b45efd3f1e0fa47d60baddec9b8520375a400a1dc7a029fab5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swiftide_macros-de2b4dca51d8f60d) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test indexing_transformer::tests::test_includes_doc_comments ... ok [INFO] [stdout] test tool::wrapped::tests::test_wrap_tool_fn ... ok [INFO] [stdout] test tool::wrapped::tests::test_wrap_multiple_args ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_args ... ok [INFO] [stdout] test tool::tests::test_snapshot_multiple_args ... ok [INFO] [stdout] test tool::tests::test_snapshot_single_arg_option ... ok [INFO] [stdout] test tool::tests::test_snapshot_single_arg ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_generics ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_option ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_lifetime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/tool.rs (/opt/rustwide/target/debug/deps/tool-e0e0aa3e7ad804b9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling swiftide-macros v0.31.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling swiftide-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/swiftide-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.85s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_derive_pass.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::chat_completion::{errors::ToolError, ToolOutput}; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:156:17 [INFO] [stderr] | [INFO] [stderr] 156 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:172:17 [INFO] [stderr] | [INFO] [stderr] 172 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:156:17 [INFO] [stderr] | [INFO] [stderr] 156 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_pass.rs:172:17 [INFO] [stderr] | [INFO] [stderr] 172 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_derive_missing_description.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing field `description` [INFO] [stderr] --> tests/tool/tool_derive_missing_description.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing field `description` [INFO] [stderr] --> tests/tool/tool_derive_missing_description.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Tool)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_missing_description.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use swiftide::chat_completion::{errors::ToolError, ToolOutput}; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_derive_missing_description.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_tool_derive ... FAILED [INFO] [stderr] Compiling swiftide-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/swiftide-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_single_argument_pass.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use swiftide::chat_completion::{errors::ToolError, ToolOutput}; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / #[swiftide_macros::tool( [INFO] [stderr] 5 | | description = "My first tool", [INFO] [stderr] 6 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 7 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / #[swiftide_macros::tool( [INFO] [stderr] 13 | | description = "My first num tool", [INFO] [stderr] 14 | | param( [INFO] [stderr] 15 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 19 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / #[swiftide_macros::tool( [INFO] [stderr] 28 | | description = "My first num tool", [INFO] [stderr] 29 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 30 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / #[swiftide_macros::tool( [INFO] [stderr] 39 | | description = "My first array tool", [INFO] [stderr] 40 | | param( [INFO] [stderr] 41 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 45 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / #[swiftide_macros::tool( [INFO] [stderr] 55 | | description = "My first bool tool", [INFO] [stderr] 56 | | param( [INFO] [stderr] 57 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 61 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | / #[swiftide_macros::tool( [INFO] [stderr] 70 | | description = "My first num slice tool", [INFO] [stderr] 71 | | param( [INFO] [stderr] 72 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 76 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / #[swiftide_macros::tool( [INFO] [stderr] 85 | | description = "My first num slice tool", [INFO] [stderr] 86 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 87 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / #[swiftide_macros::tool( [INFO] [stderr] 5 | | description = "My first tool", [INFO] [stderr] 6 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 7 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / #[swiftide_macros::tool( [INFO] [stderr] 13 | | description = "My first num tool", [INFO] [stderr] 14 | | param( [INFO] [stderr] 15 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 19 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / #[swiftide_macros::tool( [INFO] [stderr] 28 | | description = "My first num tool", [INFO] [stderr] 29 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 30 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / #[swiftide_macros::tool( [INFO] [stderr] 39 | | description = "My first array tool", [INFO] [stderr] 40 | | param( [INFO] [stderr] 41 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 45 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / #[swiftide_macros::tool( [INFO] [stderr] 55 | | description = "My first bool tool", [INFO] [stderr] 56 | | param( [INFO] [stderr] 57 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 61 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | / #[swiftide_macros::tool( [INFO] [stderr] 70 | | description = "My first num slice tool", [INFO] [stderr] 71 | | param( [INFO] [stderr] 72 | | name = "msg", [INFO] [stderr] ... | [INFO] [stderr] 76 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_single_argument_pass.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / #[swiftide_macros::tool( [INFO] [stderr] 85 | | description = "My first num slice tool", [INFO] [stderr] 86 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 87 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_no_argument_pass.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_no_argument_pass.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use swiftide::chat_completion::{errors::ToolError, ToolOutput}; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_no_argument_pass.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_no_argument_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[swiftide_macros::tool(description = "My first tool")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_no_argument_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[swiftide_macros::tool(description = "My first tool")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_multiple_arguments_pass.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_multiple_arguments_pass.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use swiftide::chat_completion::{errors::ToolError, ToolOutput}; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_multiple_arguments_pass.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_multiple_arguments_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / #[swiftide_macros::tool( [INFO] [stderr] 5 | | description = "My first tool", [INFO] [stderr] 6 | | param(name = "msg", description = "A message for testing"), [INFO] [stderr] 7 | | param(name = "other", description = "A message for testing") [INFO] [stderr] 8 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_multiple_arguments_pass.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / #[swiftide_macros::tool( [INFO] [stderr] 5 | | description = "My first tool", [INFO] [stderr] 6 | | param(name = "msg", description = "A message for testing"), [INFO] [stderr] 7 | | param(name = "other", description = "A message for testing") [INFO] [stderr] 8 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_missing_arg_fail.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The following parameters are missing from the spec: ["other"] [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / #[swiftide_macros::tool( [INFO] [stderr] 6 | | description = "My first tool", [INFO] [stderr] 7 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 8 | | )] [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The following parameters are missing from the spec: ["other"] [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / #[swiftide_macros::tool( [INFO] [stderr] 6 | | description = "My first tool", [INFO] [stderr] 7 | | param(name = "msg", description = "A message for testing") [INFO] [stderr] 8 | | )] [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use swiftide::chat_completion::errors::ToolError; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use swiftide::chat_completion::ToolOutput; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use swiftide::traits::AgentContext; [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `swiftide` in the list of imported crates [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / #[swiftide_macros::tool( [INFO] [stderr] 20 | | description = READ_FILE, [INFO] [stderr] 21 | | param(name = "number", description = "Number to guess") [INFO] [stderr] 22 | | )] [INFO] [stderr] | |__^ could not find `swiftide` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] --> tests/tool/tool_missing_arg_fail.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / #[swiftide_macros::tool( [INFO] [stderr] 20 | | description = READ_FILE, [INFO] [stderr] 21 | | param(name = "number", description = "Number to guess") [INFO] [stderr] 22 | | )] [INFO] [stderr] | |__^ use of unresolved module or unlinked crate `swiftide` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `swiftide`, use `cargo add swiftide` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the attribute macro `swiftide_macros::tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/tool/tool_missing_parameter_fail.rs [should fail to compile] ... ok [INFO] [stdout] test test_tool ... FAILED [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] error: test failed, to rerun pass `--test tool` [INFO] [stdout] [INFO] [stdout] ---- test_tool_derive stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_tool_derive' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 2 of 2 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b8ee6b6bb62 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8ee6b6bb62 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8ee6b6bb62 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8ee6b6bb62 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b8ee6b94db3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b8ee6b94db3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b8ee6b67f23 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b8ee6b67f23 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b8ee6b6b9b2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b8ee6b6db49 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5b8ee6b6d97e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b8ee6b32964 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5b8ee6b32964 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b8ee6b6e61e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5b8ee6b6e61e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b8ee6b6e2ea - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b8ee6b6c069 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b8ee6b6df7d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b8ee6b93160 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b8ee68cafcd - trybuild::run::::run::hae590687a95345dc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x5b8ee68d06f8 - ::drop::h8472db2f9e42d084 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x5b8ee68b7827 - core::ptr::drop_in_place::h618396b31b08a9a0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5b8ee68b816b - tool::test_tool_derive::h49737d531cd5a75b [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:18:1 [INFO] [stdout] 23: 0x5b8ee68b80e7 - tool::test_tool_derive::{{closure}}::hc64b07dfd590507f [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:14:22 [INFO] [stdout] 24: 0x5b8ee68b7796 - core::ops::function::FnOnce::call_once::hcafe50e141d1c0e0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b8ee6b381cb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5b8ee6b381cb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x5b8ee6b37305 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x5b8ee6b37305 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5b8ee6b37305 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x5b8ee6b37305 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x5b8ee6b37305 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5b8ee6b37305 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x5b8ee6b37305 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x5b8ee6afaf04 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x5b8ee6afaf04 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5b8ee6afe8da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5b8ee6afe8da - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5b8ee6afe8da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x5b8ee6afe8da - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x5b8ee6afe8da - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5b8ee6afe8da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5b8ee6afe8da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5b8ee6b71cdf - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5b8ee6b71cdf - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7371ea379aa4 - [INFO] [stdout] 46: 0x7371ea406a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_tool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_tool' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 4 of 5 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b8ee6b6bb62 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8ee6b6bb62 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8ee6b6bb62 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8ee6b6bb62 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b8ee6b94db3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b8ee6b94db3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b8ee6b67f23 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b8ee6b67f23 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b8ee6b6b9b2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b8ee6b6db49 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5b8ee6b6d97e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b8ee6b32964 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5b8ee6b32964 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b8ee6b6e61e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5b8ee6b6e61e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b8ee6b6e2ea - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b8ee6b6c069 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b8ee6b6df7d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b8ee6b93160 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b8ee68cafcd - trybuild::run::::run::hae590687a95345dc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x5b8ee68d06f8 - ::drop::h8472db2f9e42d084 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x5b8ee68b7827 - core::ptr::drop_in_place::h618396b31b08a9a0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5b8ee68b80b6 - tool::test_tool::h6ab93e8493dab2a1 [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:10:1 [INFO] [stdout] 23: 0x5b8ee68b7fe7 - tool::test_tool::{{closure}}::h7c461e4043978253 [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:3:15 [INFO] [stdout] 24: 0x5b8ee68b77d6 - core::ops::function::FnOnce::call_once::hdda2638ad3ad7217 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b8ee6b381cb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5b8ee6b381cb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x5b8ee6b37305 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x5b8ee6b37305 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5b8ee6b37305 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x5b8ee6b37305 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x5b8ee6b37305 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5b8ee6b37305 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x5b8ee6b37305 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x5b8ee6afaf04 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x5b8ee6afaf04 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5b8ee6afe8da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5b8ee6afe8da - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5b8ee6afe8da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x5b8ee6afe8da - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x5b8ee6afe8da - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5b8ee6afe8da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5b8ee6afe8da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5b8ee6b71cdf - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5b8ee6b71cdf - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7371ea379aa4 - [INFO] [stdout] 46: 0x7371ea406a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_tool [INFO] [stdout] test_tool_derive [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 46.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "61820d59357bd6b45efd3f1e0fa47d60baddec9b8520375a400a1dc7a029fab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61820d59357bd6b45efd3f1e0fa47d60baddec9b8520375a400a1dc7a029fab5", kill_on_drop: false }` [INFO] [stdout] 61820d59357bd6b45efd3f1e0fa47d60baddec9b8520375a400a1dc7a029fab5