[INFO] fetching crate clust_macros 0.9.0... [INFO] checking clust_macros-0.9.0 against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] extracting crate clust_macros 0.9.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate clust_macros 0.9.0 on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate clust_macros 0.9.0 [INFO] finished tweaking crates.io crate clust_macros 0.9.0 [INFO] tweaked toml for crates.io crate clust_macros 0.9.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonway v2.0.0 [INFO] [stderr] Downloaded json-pointer v0.3.4 [INFO] [stderr] Downloaded uritemplate-next v0.2.0 [INFO] [stderr] Downloaded psl v2.1.70 [INFO] [stderr] Downloaded valico v4.0.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0717b87be78a5c168fe2e79046cd04bf3a2d2da3b547f7f208df98794b4df04 [INFO] running `Command { std: "docker" "start" "-a" "d0717b87be78a5c168fe2e79046cd04bf3a2d2da3b547f7f208df98794b4df04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0717b87be78a5c168fe2e79046cd04bf3a2d2da3b547f7f208df98794b4df04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0717b87be78a5c168fe2e79046cd04bf3a2d2da3b547f7f208df98794b4df04", kill_on_drop: false }` [INFO] [stdout] d0717b87be78a5c168fe2e79046cd04bf3a2d2da3b547f7f208df98794b4df04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98344e580d8a3c5a171912182c77efaf38af223628aec71a58fc665ab7e6057 [INFO] running `Command { std: "docker" "start" "-a" "d98344e580d8a3c5a171912182c77efaf38af223628aec71a58fc665ab7e6057", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking psl v2.1.70 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling valico v4.0.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking uritemplate-next v0.2.0 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking json-pointer v0.3.4 [INFO] [stderr] Checking jsonway v2.0.0 [INFO] [stderr] Checking addr v0.15.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking clust_macros v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `TestResult` is never used [INFO] [stdout] --> src/return_type.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | type TestResult = Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_optional_arg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_array_arg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/tool_async_with_result.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_async_with_result.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{AsyncTool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_no_return_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_multi_args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_result.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_async_with_result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/tool_async.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_async.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{AsyncTool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_optional_arg.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_array_arg.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_multi_args.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_async.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_no_return_value.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clust` [INFO] [stdout] --> tests/tool_with_result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clust` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `clust_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_optional_arg") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_multi_args") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_array_arg") due to 2 previous errors [INFO] [stderr] error: could not compile `clust_macros` (test "tool") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool_async_with_result") due to 3 previous errors [INFO] [stderr] error: could not compile `clust_macros` (test "tool_async") due to 3 previous errors [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_no_return_value") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_result") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d98344e580d8a3c5a171912182c77efaf38af223628aec71a58fc665ab7e6057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98344e580d8a3c5a171912182c77efaf38af223628aec71a58fc665ab7e6057", kill_on_drop: false }` [INFO] [stdout] d98344e580d8a3c5a171912182c77efaf38af223628aec71a58fc665ab7e6057