[INFO] fetching crate opensearch-macro 0.3.0... [INFO] testing opensearch-macro-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate opensearch-macro 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate opensearch-macro 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate opensearch-macro 0.3.0 [INFO] tweaked toml for crates.io crate opensearch-macro 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate opensearch-macro 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate opensearch-macro 0.3.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1832d7f32a66d7175412f34fd6f2d48f6f74d6e8f0c366d4aa96f188734a173 [INFO] running `Command { std: "docker" "start" "-a" "b1832d7f32a66d7175412f34fd6f2d48f6f74d6e8f0c366d4aa96f188734a173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1832d7f32a66d7175412f34fd6f2d48f6f74d6e8f0c366d4aa96f188734a173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1832d7f32a66d7175412f34fd6f2d48f6f74d6e8f0c366d4aa96f188734a173", kill_on_drop: false }` [INFO] [stdout] b1832d7f32a66d7175412f34fd6f2d48f6f74d6e8f0c366d4aa96f188734a173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ce53e27a9abf1bf7d5451a6d5c0565629e98c71eca30c845ad3b157fe74f000 [INFO] running `Command { std: "docker" "start" "-a" "3ce53e27a9abf1bf7d5451a6d5c0565629e98c71eca30c845ad3b157fe74f000", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling opensearch-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `skip_sort` and `none_value` are never read [INFO] [stdout] --> src/models.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct OpenSearchField { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) skip_sort: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) none_value: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenSearchField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.54s [INFO] running `Command { std: "docker" "inspect" "3ce53e27a9abf1bf7d5451a6d5c0565629e98c71eca30c845ad3b157fe74f000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce53e27a9abf1bf7d5451a6d5c0565629e98c71eca30c845ad3b157fe74f000", kill_on_drop: false }` [INFO] [stdout] 3ce53e27a9abf1bf7d5451a6d5c0565629e98c71eca30c845ad3b157fe74f000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8343c695724a609d74baa3a048b695e0d6aa974f6b83ef6b11e0c3b409eaf6a0 [INFO] running `Command { std: "docker" "start" "-a" "8343c695724a609d74baa3a048b695e0d6aa974f6b83ef6b11e0c3b409eaf6a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling opensearch-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `skip_sort` and `none_value` are never read [INFO] [stdout] --> src/models.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct OpenSearchField { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) skip_sort: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) none_value: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenSearchField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] error[E0432]: unresolved import `opensearch_client` [INFO] [stdout] --> examples/documentation_examples.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use opensearch_client::{Document, OpenSearch}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opensearch_client` [INFO] [stdout] --> tests/integration_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use opensearch_client::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[os(index = "users")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(OpenSearch)] [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[os(id)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[os(index = "user_profiles")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(OpenSearch)] [INFO] [stdout] 23 | pub struct UserProfile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[os(id)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[os(index = "addresses")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(OpenSearch)] [INFO] [stdout] 33 | pub struct Address { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[os(index = "blog_posts")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 42 + #[derive(OpenSearch)] [INFO] [stdout] 43 | pub struct BlogPost { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[os(id)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[os(index = "authors")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(OpenSearch)] [INFO] [stdout] 57 | pub struct Author { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `os` in this scope [INFO] [stdout] --> examples/documentation_examples.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[os(id)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `os` is an attribute that can be used by the derive macro `OpenSearch`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opensearch_client` [INFO] [stdout] --> examples/usage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use opensearch_client::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opensearch-macro` (test "integration_test") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] --> tests/integration_test.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize, OpenSearch)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `OpenSearch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] --> tests/integration_test.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Serialize, Deserialize, OpenSearch)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `OpenSearch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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 `index_name` found for struct `User` in the current scope [INFO] [stdout] --> examples/documentation_examples.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `index_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | println!("User index: {}", User::index_name()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `columns` found for struct `BlogPost` in the current scope [INFO] [stdout] --> examples/documentation_examples.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BlogPost { [INFO] [stdout] | ------------------- function or associated item `columns` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | for field in BlogPost::columns() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `BlogPost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `id` found for struct `User` in the current scope [INFO] [stdout] --> examples/documentation_examples.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | println!("Created user with ID: {}", user.id()); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] --> examples/usage.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize, OpenSearch)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `OpenSearch` (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 `opensearch_client` [INFO] [stdout] --> examples/usage.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize, OpenSearch)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `opensearch_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opensearch_client`, use `cargo add opensearch_client` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `OpenSearch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opensearch-macro` (example "usage") due to 3 previous errors [INFO] [stderr] error: could not compile `opensearch-macro` (example "documentation_examples") due to 13 previous errors [INFO] [stdout] warning: fields `skip_sort` and `none_value` are never read [INFO] [stdout] --> src/models.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct OpenSearchField { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) skip_sort: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) none_value: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenSearchField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8343c695724a609d74baa3a048b695e0d6aa974f6b83ef6b11e0c3b409eaf6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8343c695724a609d74baa3a048b695e0d6aa974f6b83ef6b11e0c3b409eaf6a0", kill_on_drop: false }` [INFO] [stdout] 8343c695724a609d74baa3a048b695e0d6aa974f6b83ef6b11e0c3b409eaf6a0