[INFO] fetching crate hit-data 0.0.3... [INFO] checking hit-data-0.0.3 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate hit-data 0.0.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hit-data 0.0.3 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hit-data 0.0.3 [INFO] finished tweaking crates.io crate hit-data 0.0.3 [INFO] tweaked toml for crates.io crate hit-data 0.0.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2847d4d11fb84335b13129d747b82d4347ff9c06e34787e1409f8d65a8b22336 [INFO] running `Command { std: "docker" "start" "-a" "2847d4d11fb84335b13129d747b82d4347ff9c06e34787e1409f8d65a8b22336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2847d4d11fb84335b13129d747b82d4347ff9c06e34787e1409f8d65a8b22336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2847d4d11fb84335b13129d747b82d4347ff9c06e34787e1409f8d65a8b22336", kill_on_drop: false }` [INFO] [stdout] 2847d4d11fb84335b13129d747b82d4347ff9c06e34787e1409f8d65a8b22336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7151ece767901616683e39e55579c4e31831de3bb9dcdc45e7c60b4068067a95 [INFO] running `Command { std: "docker" "start" "-a" "7151ece767901616683e39e55579c4e31831de3bb9dcdc45e7c60b4068067a95", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking hit-data v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HitEntry` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{HitEntry, Model}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | id.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | id.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hit-data` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | instance: &mut Hit, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_id` [INFO] [stdout] --> src/tests/plugins/test_reference_plugin.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | 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:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | target: &IndexEntryProperty, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [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] = note: `#[warn(dead_code)]` on by default [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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | id.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/hit_mod/hit.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | id.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hit-data` (lib test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7151ece767901616683e39e55579c4e31831de3bb9dcdc45e7c60b4068067a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7151ece767901616683e39e55579c4e31831de3bb9dcdc45e7c60b4068067a95", kill_on_drop: false }` [INFO] [stdout] 7151ece767901616683e39e55579c4e31831de3bb9dcdc45e7c60b4068067a95