[INFO] cloning repository https://github.com/ikezedev/hash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ikezedev/hash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezedev%2Fhash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezedev%2Fhash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2abc0660e8913a4417438e28bc08cde6976dd864 [INFO] checking ikezedev/hash against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezedev%2Fhash" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ikezedev/hash [INFO] finished tweaking git repo https://github.com/ikezedev/hash [INFO] tweaked toml for git repo https://github.com/ikezedev/hash written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ikezedev/hash on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ikezedev/hash 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 884b35c08d19c4a1a0f0396c8837e648aa6ae5d8e24bd765524edad2451dc530 [INFO] running `Command { std: "docker" "start" "-a" "884b35c08d19c4a1a0f0396c8837e648aa6ae5d8e24bd765524edad2451dc530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884b35c08d19c4a1a0f0396c8837e648aa6ae5d8e24bd765524edad2451dc530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884b35c08d19c4a1a0f0396c8837e648aa6ae5d8e24bd765524edad2451dc530", kill_on_drop: false }` [INFO] [stdout] 884b35c08d19c4a1a0f0396c8837e648aa6ae5d8e24bd765524edad2451dc530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09f658bdfcc3aeaf348c90269a82cd772116e4e3bb25097d495b3f8204dbe3a [INFO] running `Command { std: "docker" "start" "-a" "e09f658bdfcc3aeaf348c90269a82cd772116e4e3bb25097d495b3f8204dbe3a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking hasura_utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `driver` and `healthz` are never read [INFO] [stdout] --> src/env.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EnvVars { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub source: String, [INFO] [stdout] 12 | pub driver: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub healthz: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/metadata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `functions` are never read [INFO] [stdout] --> src/metadata.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MetadataSource { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 104 | name: String, [INFO] [stdout] 105 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetadataSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function` is never read [INFO] [stdout] --> src/metadata.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct FunctionEntry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | function: QualifiedFunction, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraint_name` is never read [INFO] [stdout] --> src/types.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SQLFKRelationship { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub constraint_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLFKRelationship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HGEHealth` is never used [INFO] [stdout] --> src/util.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HGEHealth { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_health` and `track_relationships` are never used [INFO] [stdout] --> src/util.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl HasuraUtils { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 22 | pub async fn check_health(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn track_relationships(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/metadata.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 26 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 27 | relationships: &'a Vec, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 28 | source: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 29 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `driver` and `healthz` are never read [INFO] [stdout] --> src/env.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EnvVars { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub source: String, [INFO] [stdout] 12 | pub driver: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub healthz: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/metadata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `functions` are never read [INFO] [stdout] --> src/metadata.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MetadataSource { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 104 | name: String, [INFO] [stdout] 105 | kind: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetadataSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function` is never read [INFO] [stdout] --> src/metadata.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct FunctionEntry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | function: QualifiedFunction, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraint_name` is never read [INFO] [stdout] --> src/types.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SQLFKRelationship { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub constraint_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLFKRelationship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HGEHealth` is never used [INFO] [stdout] --> src/util.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HGEHealth { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_health` and `track_relationships` are never used [INFO] [stdout] --> src/util.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl HasuraUtils { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 22 | pub async fn check_health(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn track_relationships(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/metadata.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 26 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 27 | relationships: &'a Vec, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 28 | source: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 29 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.97s [INFO] running `Command { std: "docker" "inspect" "e09f658bdfcc3aeaf348c90269a82cd772116e4e3bb25097d495b3f8204dbe3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09f658bdfcc3aeaf348c90269a82cd772116e4e3bb25097d495b3f8204dbe3a", kill_on_drop: false }` [INFO] [stdout] e09f658bdfcc3aeaf348c90269a82cd772116e4e3bb25097d495b3f8204dbe3a