[INFO] fetching crate deepmerge-derive 0.1.0... [INFO] testing deepmerge-derive-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate deepmerge-derive 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate deepmerge-derive 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate deepmerge-derive 0.1.0 [INFO] tweaked toml for crates.io crate deepmerge-derive 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deepmerge-derive 0.1.0 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 deepmerge-derive 0.1.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" "+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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 25669ba4f5e1f98b41a6fea3ed38473cc006a15779911a5ec7076a8f3a7b21b4 [INFO] running `Command { std: "docker" "start" "-a" "25669ba4f5e1f98b41a6fea3ed38473cc006a15779911a5ec7076a8f3a7b21b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25669ba4f5e1f98b41a6fea3ed38473cc006a15779911a5ec7076a8f3a7b21b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25669ba4f5e1f98b41a6fea3ed38473cc006a15779911a5ec7076a8f3a7b21b4", kill_on_drop: false }` [INFO] [stdout] 25669ba4f5e1f98b41a6fea3ed38473cc006a15779911a5ec7076a8f3a7b21b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 20ab6956abf711d6b387f00ac585382cbf7d4531ab288c15b2fd28b2d869d079 [INFO] running `Command { std: "docker" "start" "-a" "20ab6956abf711d6b387f00ac585382cbf7d4531ab288c15b2fd28b2d869d079", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [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 darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling deepmerge-derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/validate.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | field: &MergeField, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/validate.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | config: &FieldConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/validate.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut diagnostics = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounds` and `reason` are never read [INFO] [stdout] --> src/validate.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PolicyConstraint { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | /// The trait bounds required (e.g., "Eq + Hash") [INFO] [stdout] 18 | pub bounds: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | /// Human-readable description of why these bounds are needed [INFO] [stdout] 20 | pub reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolicyConstraint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_constraints` is never read [INFO] [stdout] --> src/validate.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConstraintAnalyzer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 25 | /// Map from policy setting to required constraints [INFO] [stdout] 26 | sequence_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_sequence_policy` and `check_map_policy` are never used [INFO] [stdout] --> src/validate.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ConstraintAnalyzer { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn check_sequence_policy(&self, policy: &str) -> Option<&PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn check_map_policy(_policy: &str) -> Option<&'static PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_map_type` is never used [INFO] [stdout] --> src/validate.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn is_map_type(ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.85s [INFO] running `Command { std: "docker" "inspect" "20ab6956abf711d6b387f00ac585382cbf7d4531ab288c15b2fd28b2d869d079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ab6956abf711d6b387f00ac585382cbf7d4531ab288c15b2fd28b2d869d079", kill_on_drop: false }` [INFO] [stdout] 20ab6956abf711d6b387f00ac585382cbf7d4531ab288c15b2fd28b2d869d079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 228787380f1d6c9f37df17722d5fa87b66d87aae38e0f39b10017095331d0edf [INFO] running `Command { std: "docker" "start" "-a" "228787380f1d6c9f37df17722d5fa87b66d87aae38e0f39b10017095331d0edf", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling deepmerge-derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/validate.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | field: &MergeField, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/validate.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | config: &FieldConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/validate.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut diagnostics = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounds` and `reason` are never read [INFO] [stdout] --> src/validate.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PolicyConstraint { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | /// The trait bounds required (e.g., "Eq + Hash") [INFO] [stdout] 18 | pub bounds: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | /// Human-readable description of why these bounds are needed [INFO] [stdout] 20 | pub reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolicyConstraint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_constraints` is never read [INFO] [stdout] --> src/validate.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConstraintAnalyzer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 25 | /// Map from policy setting to required constraints [INFO] [stdout] 26 | sequence_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_sequence_policy` and `check_map_policy` are never used [INFO] [stdout] --> src/validate.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ConstraintAnalyzer { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn check_sequence_policy(&self, policy: &str) -> Option<&PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn check_map_policy(_policy: &str) -> Option<&'static PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_map_type` is never used [INFO] [stdout] --> src/validate.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn is_map_type(ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stdout] error[E0432]: unresolved import `deepmerge` [INFO] [stdout] --> tests/derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepmerge::{DeepMerge, DeepMergeDefault}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `deepmerge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepmerge`, use `cargo add deepmerge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[merge(number = "sum")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[merge(number = "max")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[merge(bool = "true_wins")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[merge(bool = "false_wins")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[merge(sequence = "prepend")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[merge(map = "union")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[merge(option = "preserve")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[merge(option = "or_left")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | #[merge(condition = "non_empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[merge(condition = "non_default")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[merge(condition = "changed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[merge(condition = "some")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | #[merge(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | #[merge(with = "custom_merge")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | #[merge(sequence = "prepend")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[merge(bool = "true_wins")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | #[merge(sequence = "union", condition = "non_empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | #[merge(number = "sum", condition = "non_default")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `merge` in this scope [INFO] [stdout] --> tests/derive.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | #[merge(bool = "true_wins", condition = "changed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `merge` is an attribute that can be used by the derive macro `DeepMerge`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `DefaultStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct DefaultStruct { [INFO] [stdout] | -------------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `DefaultStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `PolicyStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 44 | struct PolicyStruct { [INFO] [stdout] | ------------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 92 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `PolicyStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `ConditionalStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 108 | struct ConditionalStruct { [INFO] [stdout] | ------------------------ method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 136 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `ConditionalStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `SkipStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 147 | struct SkipStruct { [INFO] [stdout] | ----------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 163 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `SkipStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `CustomStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 177 | struct CustomStruct { [INFO] [stdout] | ------------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `CustomStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `Outer` in the current scope [INFO] [stdout] --> tests/derive.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 209 | struct Outer { [INFO] [stdout] | ------------ method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 231 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `Outer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `ComplexStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 241 | struct ComplexStruct { [INFO] [stdout] | -------------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 265 | dst.merge(src); [INFO] [stdout] | ^^^^^ method not found in `ComplexStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `ComplexStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 241 | struct ComplexStruct { [INFO] [stdout] | -------------------- method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 278 | dst.merge(src2); [INFO] [stdout] | ^^^^^ method not found in `ComplexStruct` [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 `deepmerge-derive` (test "derive") due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/validate.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | field: &MergeField, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/validate.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | config: &FieldConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/validate.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut diagnostics = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounds` and `reason` are never read [INFO] [stdout] --> src/validate.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PolicyConstraint { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | /// The trait bounds required (e.g., "Eq + Hash") [INFO] [stdout] 18 | pub bounds: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | /// Human-readable description of why these bounds are needed [INFO] [stdout] 20 | pub reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolicyConstraint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_constraints` is never read [INFO] [stdout] --> src/validate.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ConstraintAnalyzer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 25 | /// Map from policy setting to required constraints [INFO] [stdout] 26 | sequence_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_sequence_policy` and `check_map_policy` are never used [INFO] [stdout] --> src/validate.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ConstraintAnalyzer { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn check_sequence_policy(&self, policy: &str) -> Option<&PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn check_map_policy(_policy: &str) -> Option<&'static PolicyConstraint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_map_type` is never used [INFO] [stdout] --> src/validate.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn is_map_type(ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "228787380f1d6c9f37df17722d5fa87b66d87aae38e0f39b10017095331d0edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228787380f1d6c9f37df17722d5fa87b66d87aae38e0f39b10017095331d0edf", kill_on_drop: false }` [INFO] [stdout] 228787380f1d6c9f37df17722d5fa87b66d87aae38e0f39b10017095331d0edf