[INFO] fetching crate rstructor_derive 0.1.10... [INFO] checking rstructor_derive-0.1.10 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rstructor_derive 0.1.10 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rstructor_derive 0.1.10 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rstructor_derive 0.1.10 [INFO] tweaked toml for crates.io crate rstructor_derive 0.1.10 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rstructor_derive 0.1.10 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rstructor_derive 0.1.10 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4826eeaccfb540d75f144881d5ee7e6a53ac50c0f083bda64a6b7545eb77f6ff [INFO] running `Command { std: "docker" "start" "-a" "4826eeaccfb540d75f144881d5ee7e6a53ac50c0f083bda64a6b7545eb77f6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4826eeaccfb540d75f144881d5ee7e6a53ac50c0f083bda64a6b7545eb77f6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4826eeaccfb540d75f144881d5ee7e6a53ac50c0f083bda64a6b7545eb77f6ff", kill_on_drop: false }` [INFO] [stdout] 4826eeaccfb540d75f144881d5ee7e6a53ac50c0f083bda64a6b7545eb77f6ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c54db37d8fa2161742c8fadeb3ee9b14798543e75cc9e21f70d640970468d9b [INFO] running `Command { std: "docker" "start" "-a" "7c54db37d8fa2161742c8fadeb3ee9b14798543e75cc9e21f70d640970468d9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rstructor_derive v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rstructor` [INFO] [stdout] --> tests/array_literal_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rstructor::{Instructor, SchemaType}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `rstructor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rstructor`, use `cargo add rstructor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[llm(description = "Array of strings", example = ["apple", "banana", "cherry"])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[llm(description = "Array of integers", example = [1, 2, 3, 4])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[llm(description = "Array of floats", example = [1.1, 2.2, 3.3])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[llm(description = "Array of booleans", example = [true, false, true])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[llm(description = "Array of mixed types", example = ["string", 42, true, 3.14])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[llm(description = "Empty array", example = [])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[llm(description = "Float values", examples = [10.5, 20.5, 30.5])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/array_literal_tests.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[llm(description = "Name examples", examples = ["John", "Jane", "Alice", "Bob"])] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `ArrayLiteralTests` in the current scope [INFO] [stdout] --> tests/array_literal_tests.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ArrayLiteralTests { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | let schema = ArrayLiteralTests::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayLiteralTests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rstructor` [INFO] [stdout] --> tests/edge_cases_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rstructor::{Instructor, SchemaType}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `rstructor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rstructor`, use `cargo add rstructor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstructor_derive` (test "array_literal_tests") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `rstructor` [INFO] [stdout] --> tests/enum_with_data_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rstructor::{Instructor, SchemaType}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `rstructor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rstructor`, use `cargo add rstructor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[llm(description = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[llm(description = "The only field")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[llm(description = "Field with underscores")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[llm(description = "Field with numbers")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[llm(description = "Field with rename attribute")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[llm(description = "Large integer", example = 2147483647)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[llm(description = "Small integer", example = -2147483648)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[llm(description = "Integer zero", example = 0)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[llm(description = "Float zero", example = 0.0)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[llm(description = "Very small float", example = 1e-10)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/edge_cases_tests.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[llm(description = "Very large float", example = 1e+10)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/enum_with_data_tests.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[llm(description = "The user is online")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/enum_with_data_tests.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[llm(description = "The user is offline")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/enum_with_data_tests.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[llm(description = "The user is away with an optional message")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `llm` in this scope [INFO] [stdout] --> tests/enum_with_data_tests.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[llm(description = "The user is busy until a specific time")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `schema` found for enum `UserStatus` in the current scope [INFO] [stdout] --> tests/enum_with_data_tests.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 7 | enum UserStatus { [INFO] [stdout] | --------------- variant or associated item `schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 23 | let schema_obj = UserStatus::schema(); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `UserStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `EmptyAttributes` in the current scope [INFO] [stdout] --> tests/edge_cases_tests.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 7 | struct EmptyAttributes { [INFO] [stdout] | ---------------------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | let schema = EmptyAttributes::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `EmptyAttributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `SingleField` in the current scope [INFO] [stdout] --> tests/edge_cases_tests.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 21 | struct SingleField { [INFO] [stdout] | ------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | let schema = SingleField::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `SingleField` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rstructor_derive` (test "enum_with_data_tests") due to 6 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `UnusualFieldNames` in the current scope [INFO] [stdout] --> tests/edge_cases_tests.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 28 | struct UnusualFieldNames { [INFO] [stdout] | ------------------------ function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | let schema = UnusualFieldNames::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `UnusualFieldNames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `NumericEdgeCases` in the current scope [INFO] [stdout] --> tests/edge_cases_tests.rs:135:36 [INFO] [stdout] | [INFO] [stdout] 42 | struct NumericEdgeCases { [INFO] [stdout] | ----------------------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 135 | let schema = NumericEdgeCases::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `NumericEdgeCases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstructor_derive` (test "edge_cases_tests") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "7c54db37d8fa2161742c8fadeb3ee9b14798543e75cc9e21f70d640970468d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c54db37d8fa2161742c8fadeb3ee9b14798543e75cc9e21f70d640970468d9b", kill_on_drop: false }` [INFO] [stdout] 7c54db37d8fa2161742c8fadeb3ee9b14798543e75cc9e21f70d640970468d9b