[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskout%2FGraphQL-HTTP-API" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chriskout/GraphQL-HTTP-API on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chriskout/GraphQL-HTTP-API 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f076856aa36224df9cb6f07138a6a1dd49fc9441ff95a2925213c8a922bbfcaf [INFO] running `Command { std: "docker" "start" "-a" "f076856aa36224df9cb6f07138a6a1dd49fc9441ff95a2925213c8a922bbfcaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f076856aa36224df9cb6f07138a6a1dd49fc9441ff95a2925213c8a922bbfcaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f076856aa36224df9cb6f07138a6a1dd49fc9441ff95a2925213c8a922bbfcaf", kill_on_drop: false }` [INFO] [stdout] f076856aa36224df9cb6f07138a6a1dd49fc9441ff95a2925213c8a922bbfcaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeb0f102ed821febee1bf83de4652c13885f3c9b71edbe8c33bea9ae1464ce35 [INFO] running `Command { std: "docker" "start" "-a" "eeb0f102ed821febee1bf83de4652c13885f3c9b71edbe8c33bea9ae1464ce35", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking untrusted v0.7.1 [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 version_check v0.9.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling unicase v2.6.0 [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` and `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` and `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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [INFO] [stdout] warning: function `basicRequest` is never used [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 `startConnection` is never used [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [INFO] [stdout] warning: function `basicRequest` is never used [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 `startConnection` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.92s [INFO] running `Command { std: "docker" "inspect" "eeb0f102ed821febee1bf83de4652c13885f3c9b71edbe8c33bea9ae1464ce35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb0f102ed821febee1bf83de4652c13885f3c9b71edbe8c33bea9ae1464ce35", kill_on_drop: false }` [INFO] [stdout] eeb0f102ed821febee1bf83de4652c13885f3c9b71edbe8c33bea9ae1464ce35