[INFO] fetching crate swiftide-macros 0.31.2... [INFO] testing swiftide-macros-0.31.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate swiftide-macros 0.31.2 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swiftide-macros 0.31.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5840b9ac07e125397662c0876ccb35f206f92b13cd6d37a9fa95580f286b531e [INFO] running `Command { std: "docker" "start" "-a" "5840b9ac07e125397662c0876ccb35f206f92b13cd6d37a9fa95580f286b531e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5840b9ac07e125397662c0876ccb35f206f92b13cd6d37a9fa95580f286b531e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5840b9ac07e125397662c0876ccb35f206f92b13cd6d37a9fa95580f286b531e", kill_on_drop: false }` [INFO] [stdout] 5840b9ac07e125397662c0876ccb35f206f92b13cd6d37a9fa95580f286b531e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636f3f5db6db2ba67ce34781a37172d65a1e40fe0b282602ec90892b69d891cf [INFO] running `Command { std: "docker" "start" "-a" "636f3f5db6db2ba67ce34781a37172d65a1e40fe0b282602ec90892b69d891cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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.72s [INFO] running `Command { std: "docker" "inspect" "636f3f5db6db2ba67ce34781a37172d65a1e40fe0b282602ec90892b69d891cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636f3f5db6db2ba67ce34781a37172d65a1e40fe0b282602ec90892b69d891cf", kill_on_drop: false }` [INFO] [stdout] 636f3f5db6db2ba67ce34781a37172d65a1e40fe0b282602ec90892b69d891cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bca5eed1a9eb97150c1fe8a4d3ab85d72d21b9c8ac3dbd915cc3d618cfcdc64 [INFO] running `Command { std: "docker" "start" "-a" "8bca5eed1a9eb97150c1fe8a4d3ab85d72d21b9c8ac3dbd915cc3d618cfcdc64", kill_on_drop: false }` [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 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 cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling target-triple v0.1.4 [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 pin-project-lite v0.2.16 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [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 pretty_assertions v1.4.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 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 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 28.42s [INFO] running `Command { std: "docker" "inspect" "8bca5eed1a9eb97150c1fe8a4d3ab85d72d21b9c8ac3dbd915cc3d618cfcdc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bca5eed1a9eb97150c1fe8a4d3ab85d72d21b9c8ac3dbd915cc3d618cfcdc64", kill_on_drop: false }` [INFO] [stdout] 8bca5eed1a9eb97150c1fe8a4d3ab85d72d21b9c8ac3dbd915cc3d618cfcdc64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5524abb66dab86111b24f88561f9aa4a53b4f09d81c51289f50d72b7df5ff89 [INFO] running `Command { std: "docker" "start" "-a" "f5524abb66dab86111b24f88561f9aa4a53b4f09d81c51289f50d72b7df5ff89", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swiftide_macros-e0e29cd4743d224b) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tool::wrapped::tests::test_wrap_tool_fn ... ok [INFO] [stdout] test indexing_transformer::tests::test_includes_doc_comments ... 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_generics ... ok [INFO] [stdout] test tool::tests::test_snapshot_single_arg ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_option ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_lifetime ... ok [INFO] [stderr] Running tests/tool.rs (/opt/rustwide/target/debug/deps/tool-567eee34b36b4674) [INFO] [stdout] test tool::tests::test_snapshot_single_arg_option ... ok [INFO] [stdout] test tool::tests::test_snapshot_multiple_args ... ok [INFO] [stdout] test tool::tests::test_snapshot_derive_with_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [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 serde_core v1.0.223 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [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 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 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 44.48s [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.38s [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] [stderr] [INFO] [stderr] [INFO] [stdout] test test_tool ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_tool_derive stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_tool_derive' (38) 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: 0x5e5770eafd02 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e5770eafd02 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e5770eafd02 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e5770eafd02 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e5770ec18ff - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e5770ec18ff - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e5770e7a051 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e5770e7a051 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e5770e87602 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e5770e8cc6f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e5770e8cb01 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e5770e4a4ee - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5e5770e4a4ee - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e5770e8d32f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5e5770e8d32f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e5770e8d18a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e5770e87739 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e5770e6d3bd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e5770ecac70 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e5770d07263 - trybuild::run::::run::h91e28a5c8655f53f [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: 0x5e5770d00878 - ::drop::ha0fffe0a3743ce66 [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: 0x5e5770be7997 - core::ptr::drop_in_place::h71812e64f6c42f5f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5e5770be7cdb - tool::test_tool_derive::h82d98dc93f1e07ac [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:18:1 [INFO] [stdout] 23: 0x5e5770be7d07 - tool::test_tool_derive::{{closure}}::h4e0960396ef59680 [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:14:22 [INFO] [stdout] 24: 0x5e5770be78b6 - core::ops::function::FnOnce::call_once::h1b84a348d9928ad1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e5770e4a2ab - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5e5770e4a2ab - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5e5770e5ff15 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5e5770e5ff15 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5e5770e5ff15 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5e5770e5ff15 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5e5770e5ff15 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5e5770e5ff15 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5e5770e5ff15 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5e5770e36704 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5e5770e36704 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5e5770e39fca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5e5770e39fca - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5e5770e39fca - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5e5770e39fca - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5e5770e39fca - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5e5770e39fca - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5e5770e39fca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5e5770e8211f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5e5770e8211f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x754b9ce9baa4 - [INFO] [stdout] 46: 0x754b9cf28a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_tool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_tool' (37) 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: 0x5e5770eafd02 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e5770eafd02 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e5770eafd02 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e5770eafd02 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e5770ec18ff - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e5770ec18ff - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e5770e7a051 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e5770e7a051 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e5770e87602 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e5770e8cc6f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e5770e8cb01 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e5770e4a4ee - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5e5770e4a4ee - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e5770e8d32f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5e5770e8d32f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e5770e8d18a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e5770e87739 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e5770e6d3bd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e5770ecac70 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e5770d07263 - trybuild::run::::run::h91e28a5c8655f53f [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: 0x5e5770d00878 - ::drop::ha0fffe0a3743ce66 [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: 0x5e5770be7997 - core::ptr::drop_in_place::h71812e64f6c42f5f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5e5770be7df6 - tool::test_tool::hf4ef8af1abcec671 [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:10:1 [INFO] [stdout] 23: 0x5e5770be7e27 - tool::test_tool::{{closure}}::hbe0430dacf8e83f6 [INFO] [stdout] at /opt/rustwide/workdir/tests/tool.rs:3:15 [INFO] [stdout] 24: 0x5e5770be7936 - core::ops::function::FnOnce::call_once::hbb4ed47fc062eefb [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e5770e4a2ab - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5e5770e4a2ab - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5e5770e5ff15 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5e5770e5ff15 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5e5770e5ff15 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5e5770e5ff15 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5e5770e5ff15 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5e5770e5ff15 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5e5770e5ff15 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5e5770e36704 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5e5770e36704 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5e5770e39fca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5e5770e39fca - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5e5770e39fca - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5e5770e39fca - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5e5770e39fca - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5e5770e39fca - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5e5770e39fca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5e5770e8211f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5e5770e8211f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x754b9ce9baa4 - [INFO] [stdout] 46: 0x754b9cf28a34 - 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 48.60s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test tool` [INFO] running `Command { std: "docker" "inspect" "f5524abb66dab86111b24f88561f9aa4a53b4f09d81c51289f50d72b7df5ff89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5524abb66dab86111b24f88561f9aa4a53b4f09d81c51289f50d72b7df5ff89", kill_on_drop: false }` [INFO] [stdout] f5524abb66dab86111b24f88561f9aa4a53b4f09d81c51289f50d72b7df5ff89