[INFO] fetching crate hit-data 0.0.5... [INFO] checking hit-data-0.0.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hit-data 0.0.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate hit-data 0.0.5 [INFO] finished tweaking crates.io crate hit-data 0.0.5 [INFO] tweaked toml for crates.io crate hit-data 0.0.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hit-data 0.0.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e673b202e87989220701f1ce557878512ecab7275ca779f6a00fcaf3c5ef9f45 [INFO] running `Command { std: "docker" "start" "-a" "e673b202e87989220701f1ce557878512ecab7275ca779f6a00fcaf3c5ef9f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e673b202e87989220701f1ce557878512ecab7275ca779f6a00fcaf3c5ef9f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e673b202e87989220701f1ce557878512ecab7275ca779f6a00fcaf3c5ef9f45", kill_on_drop: false }` [INFO] [stdout] e673b202e87989220701f1ce557878512ecab7275ca779f6a00fcaf3c5ef9f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 20d19f78f95f6d8bc5b9f073bc29aca1a51692f2b5c531060b7f8f7b7251ca29 [INFO] running `Command { std: "docker" "start" "-a" "20d19f78f95f6d8bc5b9f073bc29aca1a51692f2b5c531060b7f8f7b7251ca29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking hit-data v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::backtrace::Backtrace` [INFO] [stdout] --> src/errors/hit_error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::backtrace::Backtrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/model/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::backtrace::Backtrace` [INFO] [stdout] --> src/errors/hit_error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::backtrace::Backtrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/model/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `duplicate_hit` and `export` [INFO] [stdout] --> src/tests/hit/test_import_hit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | duplicate_hit, export, test_kernel::create_test_kernel, Hit, IndexEntryProperty, ObjectValue, Reference, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object_data.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | return DateTime::::from_utc(NaiveDateTime::from_timestamp(self.datetime, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/object_data.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | return DateTime::::from_utc(NaiveDateTime::from_timestamp(self.datetime, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/index/index.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | ObjectValue::VecReference(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object_data.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | return DateTime::::from_utc(NaiveDateTime::from_timestamp(self.datetime, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/object_data.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | return DateTime::::from_utc(NaiveDateTime::from_timestamp(self.datetime, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InitEntryAfterIndexPlugin` is never used [INFO] [stdout] --> src/plugins/plugin.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait InitEntryAfterIndexPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringEnumValidator` is never constructed [INFO] [stdout] --> src/prelude/validators/string_enum.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StringEnumValidator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `property_name` is never read [INFO] [stdout] --> src/prelude/validators/unique_in_parent/unique_in_parent_validator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UniqueInParentValidator { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 12 | property_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | id.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | id.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/index/index.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter(&self) -> Iter<'_, Id, IndexEntryRef> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/tests/object_data/test_date.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | let date = DateTime::::from_utc(NaiveDateTime::from_timestamp(61, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/tests/object_data/test_date.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | let date = DateTime::::from_utc(NaiveDateTime::from_timestamp(61, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/index/index.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | ObjectValue::VecReference(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | before_id: &Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | before_id: &Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | before_id: &Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | before_id: &Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | reference_id: &crate::Id, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InitEntryAfterIndexPlugin` is never used [INFO] [stdout] --> src/plugins/plugin.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait InitEntryAfterIndexPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `it_should_return_an_error_on_reference_arrays_when_validator_detects_it` is never used [INFO] [stdout] --> src/tests/validation/test_validation.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn it_should_return_an_error_on_reference_arrays_when_validator_detects_it() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringEnumValidator` is never constructed [INFO] [stdout] --> src/prelude/validators/string_enum.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StringEnumValidator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `property_name` is never read [INFO] [stdout] --> src/prelude/validators/unique_in_parent/unique_in_parent_validator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UniqueInParentValidator { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 12 | property_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | id.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | id.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/index/index.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn iter(&self) -> Iter<'_, Id, IndexEntryRef> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.93s [INFO] running `Command { std: "docker" "inspect" "20d19f78f95f6d8bc5b9f073bc29aca1a51692f2b5c531060b7f8f7b7251ca29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d19f78f95f6d8bc5b9f073bc29aca1a51692f2b5c531060b7f8f7b7251ca29", kill_on_drop: false }` [INFO] [stdout] 20d19f78f95f6d8bc5b9f073bc29aca1a51692f2b5c531060b7f8f7b7251ca29