[INFO] fetching crate clust_macros 0.9.0... [INFO] checking clust_macros-0.9.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate clust_macros 0.9.0 into /workspace/builds/worker-2-tc2/source [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] validating manifest of crates.io crate clust_macros 0.9.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16c9bc8673c647de56d5dae192405556571af4665fc185d9c3830694f6c5e9a6 [INFO] running `Command { std: "docker" "start" "-a" "16c9bc8673c647de56d5dae192405556571af4665fc185d9c3830694f6c5e9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16c9bc8673c647de56d5dae192405556571af4665fc185d9c3830694f6c5e9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c9bc8673c647de56d5dae192405556571af4665fc185d9c3830694f6c5e9a6", kill_on_drop: false }` [INFO] [stdout] 16c9bc8673c647de56d5dae192405556571af4665fc185d9c3830694f6c5e9a6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb3216d244261033bc7208c2a9a2b130decffb5855b1199a4d868830493d1a81 [INFO] running `Command { std: "docker" "start" "-a" "fb3216d244261033bc7208c2a9a2b130decffb5855b1199a4d868830493d1a81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling valico v4.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking psl v2.1.136 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking addr v0.15.6 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking uritemplate-next v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking json-pointer v0.3.4 [INFO] [stderr] Checking jsonway v2.0.0 [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_result.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{Tool, ToolUse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_async.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clust::messages::{AsyncTool, ToolUse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_async_with_result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_array_arg.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_optional_arg.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_multi_args.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_with_no_return_value.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `clust` [INFO] [stdout] --> tests/tool_async.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[clust_tool] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clust`, use `cargo add clust` to add it to your `Cargo.toml` [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] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clust_macros` (test "tool") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `clust_macros` (test "tool_with_optional_arg") 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] [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_with_result") 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_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_array_arg") due to 2 previous errors [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_async") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fb3216d244261033bc7208c2a9a2b130decffb5855b1199a4d868830493d1a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3216d244261033bc7208c2a9a2b130decffb5855b1199a4d868830493d1a81", kill_on_drop: false }` [INFO] [stdout] fb3216d244261033bc7208c2a9a2b130decffb5855b1199a4d868830493d1a81