[INFO] cloning repository https://github.com/babarnescocke/jitRegistry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babarnescocke/jitRegistry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabarnescocke%2FjitRegistry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabarnescocke%2FjitRegistry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e050c2a5ee5baee2246c69d45db4ac5c81434fe [INFO] checking babarnescocke/jitRegistry against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabarnescocke%2FjitRegistry" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/babarnescocke/jitRegistry on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/babarnescocke/jitRegistry [INFO] finished tweaking git repo https://github.com/babarnescocke/jitRegistry [INFO] tweaked toml for git repo https://github.com/babarnescocke/jitRegistry written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/babarnescocke/jitRegistry 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a1446337239a09a6ab44ca8b63ba003be110c38346d9d7640315a7936378f7b [INFO] running `Command { std: "docker" "start" "-a" "7a1446337239a09a6ab44ca8b63ba003be110c38346d9d7640315a7936378f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a1446337239a09a6ab44ca8b63ba003be110c38346d9d7640315a7936378f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1446337239a09a6ab44ca8b63ba003be110c38346d9d7640315a7936378f7b", kill_on_drop: false }` [INFO] [stdout] 7a1446337239a09a6ab44ca8b63ba003be110c38346d9d7640315a7936378f7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a4e0935aa3c7ecbacfc2c6f3cfdf9e8baf137767955f630d55a03b2c43a0ce [INFO] running `Command { std: "docker" "start" "-a" "b2a4e0935aa3c7ecbacfc2c6f3cfdf9e8baf137767955f630d55a03b2c43a0ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.2 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cookie v0.16.0 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking oci-spec v0.5.5 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.0.4 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Checking jitRegistry v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::header` [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{get, http::header, web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::header` [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{get, http::header, web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_content_type` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_content_type<'a>(req: &'a HttpRequest) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_content_type` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_content_type<'a>(req: &'a HttpRequest) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | if PathBuf_has_sub_dir(&mut (pb.clone()), sd.clone()) { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | let testrclone0 = testr.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | let testrclone1 = testr.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | if PathBuf_has_sub_dir(&mut (pb.clone()), sd.clone()) { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | let testrclone0 = testr.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buildah.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | let testrclone1 = testr.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jitRegistry` (bin "jitRegistry") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jitRegistry` (bin "jitRegistry" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2a4e0935aa3c7ecbacfc2c6f3cfdf9e8baf137767955f630d55a03b2c43a0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a4e0935aa3c7ecbacfc2c6f3cfdf9e8baf137767955f630d55a03b2c43a0ce", kill_on_drop: false }` [INFO] [stdout] b2a4e0935aa3c7ecbacfc2c6f3cfdf9e8baf137767955f630d55a03b2c43a0ce