[INFO] fetching crate graphql-tools 0.2.5... [INFO] checking graphql-tools-0.2.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate graphql-tools 0.2.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate graphql-tools 0.2.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graphql-tools 0.2.5 [INFO] finished tweaking crates.io crate graphql-tools 0.2.5 [INFO] tweaked toml for crates.io crate graphql-tools 0.2.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding ascii v0.9.3 (available: v1.1.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding combine v3.8.1 (available: v4.6.7) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.9.0) [INFO] [stderr] Adding serde_with_macros v2.3.3 (available: v3.9.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65240a51dba4f03f6111c824c4ada48981c10177873d52ee00f635257fd13b72 [INFO] running `Command { std: "docker" "start" "-a" "65240a51dba4f03f6111c824c4ada48981c10177873d52ee00f635257fd13b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65240a51dba4f03f6111c824c4ada48981c10177873d52ee00f635257fd13b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65240a51dba4f03f6111c824c4ada48981c10177873d52ee00f635257fd13b72", kill_on_drop: false }` [INFO] [stdout] 65240a51dba4f03f6111c824c4ada48981c10177873d52ee00f635257fd13b72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f128fb8213f9dea2207cc6742983caf09a5a69e8c9002313c9630774069d92 [INFO] running `Command { std: "docker" "start" "-a" "d4f128fb8213f9dea2207cc6742983caf09a5a69e8c9002313c9630774069d92", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking graphql-parser v0.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking graphql-tools v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/validation/rules/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use self::no_undefined_variables::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Scope` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 55 | pub use self::variables_in_allowed_position::*; [INFO] [stdout] | -------------------------------------- but the name `Scope` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/validation/rules/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use self::no_undefined_variables::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Scope` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 55 | pub use self::variables_in_allowed_position::*; [INFO] [stdout] | -------------------------------------- but the name `Scope` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/validation/rules/no_unused_fragments.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Some(fragment_name.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/overlapping_fields_can_be_merged.rs:782:59 [INFO] [stdout] | [INFO] [stdout] 782 | ast_and_defs.insert(out_field_name.clone(), Vec::new()); [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/validation/rules/unique_fragment_names.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | self.findings_counter.insert(name.clone(), value + 1); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/unique_operation_names.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | let value = *self.findings_counter.entry(name.clone()).or_insert(0); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/unique_operation_names.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | self.findings_counter.insert(name.clone(), value + 1); [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/validation/rules/no_unused_fragments.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Some(fragment_name.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/overlapping_fields_can_be_merged.rs:782:59 [INFO] [stdout] | [INFO] [stdout] 782 | ast_and_defs.insert(out_field_name.clone(), Vec::new()); [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/validation/rules/unique_fragment_names.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | self.findings_counter.insert(name.clone(), value + 1); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/unique_operation_names.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | let value = *self.findings_counter.entry(name.clone()).or_insert(0); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/validation/rules/unique_operation_names.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | self.findings_counter.insert(name.clone(), value + 1); [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.90s [INFO] running `Command { std: "docker" "inspect" "d4f128fb8213f9dea2207cc6742983caf09a5a69e8c9002313c9630774069d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f128fb8213f9dea2207cc6742983caf09a5a69e8c9002313c9630774069d92", kill_on_drop: false }` [INFO] [stdout] d4f128fb8213f9dea2207cc6742983caf09a5a69e8c9002313c9630774069d92