[INFO] cloning repository https://github.com/chriskout/GraphQL-HTTP-API [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chriskout/GraphQL-HTTP-API" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskout%2FGraphQL-HTTP-API", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskout%2FGraphQL-HTTP-API'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eb68643917316c78ae7ee9ad91ccd5fa14c7ad9 [INFO] checking chriskout/GraphQL-HTTP-API against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskout%2FGraphQL-HTTP-API" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chriskout/GraphQL-HTTP-API on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chriskout/GraphQL-HTTP-API [INFO] finished tweaking git repo https://github.com/chriskout/GraphQL-HTTP-API [INFO] tweaked toml for git repo https://github.com/chriskout/GraphQL-HTTP-API written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/chriskout/GraphQL-HTTP-API already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 406cf4afb6c38812406e5b0ef44bbbef2fff0e9990c80490d6b376b7ce7376e9 [INFO] running `Command { std: "docker" "start" "-a" "406cf4afb6c38812406e5b0ef44bbbef2fff0e9990c80490d6b376b7ce7376e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406cf4afb6c38812406e5b0ef44bbbef2fff0e9990c80490d6b376b7ce7376e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406cf4afb6c38812406e5b0ef44bbbef2fff0e9990c80490d6b376b7ce7376e9", kill_on_drop: false }` [INFO] [stdout] 406cf4afb6c38812406e5b0ef44bbbef2fff0e9990c80490d6b376b7ce7376e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158d96517ac429d6c506a2b0254429c2bb3fef55108c159716fedccbbc3cc544 [INFO] running `Command { std: "docker" "start" "-a" "158d96517ac429d6c506a2b0254429c2bb3fef55108c159716fedccbbc3cc544", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking http_req v0.7.2 [INFO] [stderr] Checking graphql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `request::RequestBuilder`, `response::StatusCode` [INFO] [stdout] --> src/http_api.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use http_req::{request::RequestBuilder, tls, uri::Uri, response::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `request::RequestBuilder`, `response::StatusCode` [INFO] [stdout] --> src/http_api.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use http_req::{request::RequestBuilder, tls, uri::Uri, response::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | let res : http_req::response::Response = http_api::loadSchema("No Filename yet"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/http_api.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn loadSchema(filepath : &str) -> http_req::response::Response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http_api.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut stream = tls::Config::default() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basicRequest` [INFO] [stdout] --> src/http_api.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn basicRequest() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `startConnection` [INFO] [stdout] --> src/http_api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn startConnection() -> Conn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basicRequest` should have a snake case name [INFO] [stdout] --> src/http_api.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn basicRequest() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `basic_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loadSchema` should have a snake case name [INFO] [stdout] --> src/http_api.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn loadSchema(filepath : &str) -> http_req::response::Response { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `load_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startConnection` should have a snake case name [INFO] [stdout] --> src/http_api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn startConnection() -> Conn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `graphBase` should have a snake case name [INFO] [stdout] --> src/http_api.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let graphBase = "http://localhost:8080/graphql"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | let res : http_req::response::Response = http_api::loadSchema("No Filename yet"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/http_api.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn loadSchema(filepath : &str) -> http_req::response::Response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http_api.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut stream = tls::Config::default() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basicRequest` [INFO] [stdout] --> src/http_api.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn basicRequest() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `startConnection` [INFO] [stdout] --> src/http_api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn startConnection() -> Conn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basicRequest` should have a snake case name [INFO] [stdout] --> src/http_api.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn basicRequest() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `basic_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loadSchema` should have a snake case name [INFO] [stdout] --> src/http_api.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn loadSchema(filepath : &str) -> http_req::response::Response { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `load_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startConnection` should have a snake case name [INFO] [stdout] --> src/http_api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn startConnection() -> Conn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `graphBase` should have a snake case name [INFO] [stdout] --> src/http_api.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let graphBase = "http://localhost:8080/graphql"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.99s [INFO] running `Command { std: "docker" "inspect" "158d96517ac429d6c506a2b0254429c2bb3fef55108c159716fedccbbc3cc544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158d96517ac429d6c506a2b0254429c2bb3fef55108c159716fedccbbc3cc544", kill_on_drop: false }` [INFO] [stdout] 158d96517ac429d6c506a2b0254429c2bb3fef55108c159716fedccbbc3cc544