[INFO] cloning repository https://github.com/hasura/gdc_v3_proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasura/gdc_v3_proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasura%2Fgdc_v3_proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasura%2Fgdc_v3_proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 589652c5dbe9b7865becab4245be860fdb259c5f [INFO] building hasura/gdc_v3_proxy against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasura%2Fgdc_v3_proxy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hasura/gdc_v3_proxy [INFO] finished tweaking git repo https://github.com/hasura/gdc_v3_proxy [INFO] tweaked toml for git repo https://github.com/hasura/gdc_v3_proxy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hasura/gdc_v3_proxy on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hasura/gdc_v3_proxy 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/hasura/ndc-spec.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v3.1.0 [INFO] [stderr] Downloaded darling_macro v0.20.3 [INFO] [stderr] Downloaded darling_core v0.20.3 [INFO] [stderr] Downloaded time-core v0.1.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.14 [INFO] [stderr] Downloaded darling v0.20.3 [INFO] [stderr] Downloaded opentelemetry_api v0.18.0 [INFO] [stderr] Downloaded matchit v0.7.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.2 [INFO] [stderr] Downloaded dyn-clone v1.0.12 [INFO] [stderr] Downloaded pin-project v1.1.2 [INFO] [stderr] Downloaded tempfile v3.7.0 [INFO] [stderr] Downloaded axum v0.6.19 [INFO] [stderr] Downloaded crossbeam-channel v0.5.8 [INFO] [stderr] Downloaded headers v0.3.8 [INFO] [stderr] Downloaded serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded serde_json v1.0.103 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded smol_str v0.1.24 [INFO] [stderr] Downloaded opentelemetry_sdk v0.18.0 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded rustix v0.38.4 [INFO] [stderr] Downloaded tower-http v0.4.3 [INFO] [stderr] Downloaded schemars_derive v0.8.12 [INFO] [stderr] Downloaded time v0.3.23 [INFO] [stderr] Downloaded serde_with v3.1.0 [INFO] [stderr] Downloaded axum-extra v0.7.5 [INFO] [stderr] Downloaded axum-macros v0.3.8 [INFO] [stderr] Downloaded opentelemetry v0.18.0 [INFO] [stderr] Downloaded schemars v0.8.12 [INFO] [stderr] Downloaded time-macros v0.2.10 [INFO] [stderr] Downloaded uuid v1.4.1 [INFO] [stderr] Downloaded syn v2.0.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a76aff9edbfbb0ce01e26932293998793cfe98431723175d61b49750609148f0 [INFO] running `Command { std: "docker" "start" "-a" "a76aff9edbfbb0ce01e26932293998793cfe98431723175d61b49750609148f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a76aff9edbfbb0ce01e26932293998793cfe98431723175d61b49750609148f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a76aff9edbfbb0ce01e26932293998793cfe98431723175d61b49750609148f0", kill_on_drop: false }` [INFO] [stdout] a76aff9edbfbb0ce01e26932293998793cfe98431723175d61b49750609148f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a6c5bfd1e66283a54ca1bd06e1f63588789d6efd736feb1a07942be79aca90a [INFO] running `Command { std: "docker" "start" "-a" "8a6c5bfd1e66283a54ca1bd06e1f63588789d6efd736feb1a07942be79aca90a", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling dyn-clone v1.0.12 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling smol_str v0.1.24 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling serde_with_macros v3.1.0 [INFO] [stderr] Compiling serde_with v3.1.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling opentelemetry_api v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tower-http v0.4.3 [INFO] [stderr] Compiling opentelemetry_sdk v0.18.0 [INFO] [stderr] Compiling opentelemetry v0.18.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling ndc-client v1.0.0 (https://github.com/hasura/ndc-spec.git#bf06ed46) [INFO] [stderr] Compiling axum-extra v0.7.5 [INFO] [stderr] Compiling gdc_v3_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/api/query_request.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Number, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/config.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | http::{request::Parts, HeaderName, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/get_capabilities.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedHeader` [INFO] [stdout] --> src/routes/get_health.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::StatusCode, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::WithRejection` [INFO] [stdout] --> src/routes/get_health.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum_extra::extract::WithRejection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ServerError` [INFO] [stdout] --> src/routes/get_health.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | error::ServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypedHeader`, `extract::State`, and `http::StatusCode` [INFO] [stdout] --> src/routes/get_schema.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, http::StatusCode, Json, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::WithRejection` [INFO] [stdout] --> src/routes/get_schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum_extra::extract::WithRejection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/routes/get_schema.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/post_explain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract::State` and `http::response` [INFO] [stdout] --> src/routes/post_query.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::response, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `str::FromStr` and `vec` [INFO] [stdout] --> src/routes/post_raw.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::FromStr, vec}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/post_raw.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::StatusCode, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::IndexMap` [INFO] [stdout] --> src/routes/post_raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndc_client::models` [INFO] [stdout] --> src/routes/post_raw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndc_client::models; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_response::RawResponse` [INFO] [stdout] --> src/routes/post_raw.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | api::{raw_request::RawRequest, raw_response::RawResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{error::Error, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/get_schema.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [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/routes/get_schema.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/post_explain.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_explain.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/post_query.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_query.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_url` [INFO] [stdout] --> src/routes/post_raw.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | ProxyTarget(base_url): ProxyTarget, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_raw.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/routes/post_raw.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | WithRejection(Json(request), _): WithRejection, ServerError>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/config.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/config.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map_err(|err| ServerError::UncaughtError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/config.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/config.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | serde_json::from_slice(config_header.as_bytes()).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/routes/post_explain.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn map_response(response: models::ExplainResponse) -> ExplainResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregates_limit` [INFO] [stdout] --> src/routes/post_query.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | aggregates_limit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregates_limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/routes/post_query.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... result_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `result_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/routes/post_query.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | result_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `result_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_type` [INFO] [stdout] --> src/routes/post_query.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | column_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `column_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/routes/post_query.rs:382:65 [INFO] [stdout] | [INFO] [stdout] 382 | ComparisonValue::ScalarValueComparison { value, value_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/routes/post_query.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | value_type, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawResponse` is never constructed [INFO] [stdout] --> src/api/raw_response.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RawResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Json` is never constructed [INFO] [stdout] --> src/error.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Json(pub T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "8a6c5bfd1e66283a54ca1bd06e1f63588789d6efd736feb1a07942be79aca90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6c5bfd1e66283a54ca1bd06e1f63588789d6efd736feb1a07942be79aca90a", kill_on_drop: false }` [INFO] [stdout] 8a6c5bfd1e66283a54ca1bd06e1f63588789d6efd736feb1a07942be79aca90a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f382b62182566d3fd63b9f5bf6138739e388d2f608bc73efaca954369edae1 [INFO] running `Command { std: "docker" "start" "-a" "34f382b62182566d3fd63b9f5bf6138739e388d2f608bc73efaca954369edae1", kill_on_drop: false }` [INFO] [stderr] Compiling gdc_v3_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/api/query_request.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Number, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/config.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | http::{request::Parts, HeaderName, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/get_capabilities.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedHeader` [INFO] [stdout] --> src/routes/get_health.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::StatusCode, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::WithRejection` [INFO] [stdout] --> src/routes/get_health.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum_extra::extract::WithRejection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ServerError` [INFO] [stdout] --> src/routes/get_health.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | error::ServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypedHeader`, `extract::State`, and `http::StatusCode` [INFO] [stdout] --> src/routes/get_schema.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, http::StatusCode, Json, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::WithRejection` [INFO] [stdout] --> src/routes/get_schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum_extra::extract::WithRejection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/routes/get_schema.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/post_explain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract::State` and `http::response` [INFO] [stdout] --> src/routes/post_query.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::response, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `str::FromStr` and `vec` [INFO] [stdout] --> src/routes/post_raw.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::FromStr, vec}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::State` [INFO] [stdout] --> src/routes/post_raw.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::StatusCode, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::IndexMap` [INFO] [stdout] --> src/routes/post_raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndc_client::models` [INFO] [stdout] --> src/routes/post_raw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndc_client::models; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_response::RawResponse` [INFO] [stdout] --> src/routes/post_raw.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | api::{raw_request::RawRequest, raw_response::RawResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{error::Error, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/get_schema.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [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/routes/get_schema.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/post_explain.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_explain.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_name` [INFO] [stdout] --> src/routes/post_query.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | SourceName(source_name): SourceName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_query.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_url` [INFO] [stdout] --> src/routes/post_raw.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | ProxyTarget(base_url): ProxyTarget, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/routes/post_raw.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | SourceConfig(config): SourceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/routes/post_raw.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | WithRejection(Json(request), _): WithRejection, ServerError>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/config.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/config.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map_err(|err| ServerError::UncaughtError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/config.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/config.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | serde_json::from_slice(config_header.as_bytes()).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/routes/post_explain.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn map_response(response: models::ExplainResponse) -> ExplainResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregates_limit` [INFO] [stdout] --> src/routes/post_query.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | aggregates_limit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregates_limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/routes/post_query.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... result_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `result_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/routes/post_query.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | result_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `result_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_type` [INFO] [stdout] --> src/routes/post_query.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | column_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `column_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/routes/post_query.rs:382:65 [INFO] [stdout] | [INFO] [stdout] 382 | ComparisonValue::ScalarValueComparison { value, value_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/routes/post_query.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | value_type, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawResponse` is never constructed [INFO] [stdout] --> src/api/raw_response.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RawResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Json` is never constructed [INFO] [stdout] --> src/error.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Json(pub T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "34f382b62182566d3fd63b9f5bf6138739e388d2f608bc73efaca954369edae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f382b62182566d3fd63b9f5bf6138739e388d2f608bc73efaca954369edae1", kill_on_drop: false }` [INFO] [stdout] 34f382b62182566d3fd63b9f5bf6138739e388d2f608bc73efaca954369edae1