[INFO] cloning repository https://github.com/Demiguise/Mejlmannen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Demiguise/Mejlmannen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiguise%2FMejlmannen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiguise%2FMejlmannen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f777d67fb3672672308ce623cfc67b701f3ad43e [INFO] checking Demiguise/Mejlmannen against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiguise%2FMejlmannen" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Demiguise/Mejlmannen [INFO] finished tweaking git repo https://github.com/Demiguise/Mejlmannen [INFO] tweaked toml for git repo https://github.com/Demiguise/Mejlmannen written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Demiguise/Mejlmannen on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Demiguise/Mejlmannen 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e079fed0a42b6012c9c162f8e7389cdc79462d705ffa8315582ddc98d5cb9c91 [INFO] running `Command { std: "docker" "start" "-a" "e079fed0a42b6012c9c162f8e7389cdc79462d705ffa8315582ddc98d5cb9c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e079fed0a42b6012c9c162f8e7389cdc79462d705ffa8315582ddc98d5cb9c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e079fed0a42b6012c9c162f8e7389cdc79462d705ffa8315582ddc98d5cb9c91", kill_on_drop: false }` [INFO] [stdout] e079fed0a42b6012c9c162f8e7389cdc79462d705ffa8315582ddc98d5cb9c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be66755966ca0c73f89767a45f7d31635776014e536a5661cce31e778d003114 [INFO] running `Command { std: "docker" "start" "-a" "be66755966ca0c73f89767a45f7d31635776014e536a5661cce31e778d003114", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking mejlman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::__private::de::Content` [INFO] [stdout] --> src/request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::__private::de::Content; [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: `Deserializer` [INFO] [stdout] --> src/request.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `path::PathBuf` [INFO] [stdout] --> src/request.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | use std::{fs, path::PathBuf}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string_pretty` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::to_string_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::__private::de::Content` [INFO] [stdout] --> src/request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::__private::de::Content; [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: `Deserializer` [INFO] [stdout] --> src/request.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string_pretty` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::to_string_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => panic!(""), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => panic!(""), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `headers` and `content_type` are never used [INFO] [stdout] --> src/request.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn headers(&self) -> &StringMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn content_type(&self) -> ContentType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header_map`, `body`, `verb`, and `extract_map` are never used [INFO] [stdout] --> src/request.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 158 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn header_map(mut self, headers: StringMap) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn body(mut self, body: String) -> RequestBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn verb(mut self, verb: Verb) -> RequestBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn extract_map(mut self, extract: StringMap) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_property<'a>(&'a self, name: &str, cached_properties: &'a StringMap) -> Option<&String> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 77 | fn get_property<'a>(&'a self, name: &str, cached_properties: &'a StringMap) -> Option<&'a String> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `headers`, `body`, and `content_type` are never used [INFO] [stdout] --> src/request.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn headers(&self) -> &StringMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn body(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn content_type(&self) -> ContentType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `headers` is never used [INFO] [stdout] --> src/response.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ResponseBuilder { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn headers(mut self, headers: StringMap) -> ResponseBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_property<'a>(&'a self, name: &str, cached_properties: &'a StringMap) -> Option<&String> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 77 | fn get_property<'a>(&'a self, name: &str, cached_properties: &'a StringMap) -> Option<&'a String> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.55s [INFO] running `Command { std: "docker" "inspect" "be66755966ca0c73f89767a45f7d31635776014e536a5661cce31e778d003114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be66755966ca0c73f89767a45f7d31635776014e536a5661cce31e778d003114", kill_on_drop: false }` [INFO] [stdout] be66755966ca0c73f89767a45f7d31635776014e536a5661cce31e778d003114