[INFO] fetching crate deepmerge-derive 0.1.0... [INFO] testing deepmerge-derive-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54bb4765d04af276ad2586b990b6b477f33cacd336750150ab56e4bbb785b0d8 [INFO] running `Command { std: "docker" "start" "-a" "54bb4765d04af276ad2586b990b6b477f33cacd336750150ab56e4bbb785b0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54bb4765d04af276ad2586b990b6b477f33cacd336750150ab56e4bbb785b0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54bb4765d04af276ad2586b990b6b477f33cacd336750150ab56e4bbb785b0d8", kill_on_drop: false }` [INFO] [stdout] 54bb4765d04af276ad2586b990b6b477f33cacd336750150ab56e4bbb785b0d8 [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=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] 99f93991c745bb076dbd1f89b2dafe70f06a0bbdfe4fc8cd38e3acb40d0db95f [INFO] running `Command { std: "docker" "start" "-a" "99f93991c745bb076dbd1f89b2dafe70f06a0bbdfe4fc8cd38e3acb40d0db95f", kill_on_drop: false }` [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: 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: 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: 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 11.83s [INFO] running `Command { std: "docker" "inspect" "99f93991c745bb076dbd1f89b2dafe70f06a0bbdfe4fc8cd38e3acb40d0db95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f93991c745bb076dbd1f89b2dafe70f06a0bbdfe4fc8cd38e3acb40d0db95f", kill_on_drop: false }` [INFO] [stdout] 99f93991c745bb076dbd1f89b2dafe70f06a0bbdfe4fc8cd38e3acb40d0db95f [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=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] 2628c1846b3f5002da04db8de219503659df989082fa16ae1a63d3277922387e [INFO] running `Command { std: "docker" "start" "-a" "2628c1846b3f5002da04db8de219503659df989082fa16ae1a63d3277922387e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [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 toml_parser v1.0.2 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling darling_core v0.21.3 [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: 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: 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: 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: 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: 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: 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" "2628c1846b3f5002da04db8de219503659df989082fa16ae1a63d3277922387e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2628c1846b3f5002da04db8de219503659df989082fa16ae1a63d3277922387e", kill_on_drop: false }` [INFO] [stdout] 2628c1846b3f5002da04db8de219503659df989082fa16ae1a63d3277922387e