[INFO] cloning repository https://github.com/Razer2015/BFLogger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Razer2015/BFLogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazer2015%2FBFLogger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazer2015%2FBFLogger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 704d4d6828044441b861461a6e4798be5cacf8b7 [INFO] checking Razer2015/BFLogger/704d4d6828044441b861461a6e4798be5cacf8b7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazer2015%2FBFLogger" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Razer2015/BFLogger on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Razer2015/BFLogger [INFO] finished tweaking git repo https://github.com/Razer2015/BFLogger [INFO] tweaked toml for git repo https://github.com/Razer2015/BFLogger written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Razer2015/BFLogger 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded influxdb_derive v0.5.0 [INFO] [stderr] Downloaded influxdb v0.5.0 [INFO] [stderr] Downloaded serde-aux v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb71b880bc7fb865081be0623d864e708d545545a4d82a36c306cf0173722e40 [INFO] running `Command { std: "docker" "start" "-a" "eb71b880bc7fb865081be0623d864e708d545545a4d82a36c306cf0173722e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb71b880bc7fb865081be0623d864e708d545545a4d82a36c306cf0173722e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb71b880bc7fb865081be0623d864e708d545545a4d82a36c306cf0173722e40", kill_on_drop: false }` [INFO] [stdout] eb71b880bc7fb865081be0623d864e708d545545a4d82a36c306cf0173722e40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2a43ed07bbe6477965209b2cf85c3a786a2f959bcd54f3933b4602b206f4a90 [INFO] running `Command { std: "docker" "start" "-a" "a2a43ed07bbe6477965209b2cf85c3a786a2f959bcd54f3933b4602b206f4a90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling influxdb_derive v0.5.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking serde-aux v2.3.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking influxdb v0.5.0 [INFO] [stderr] Checking battlelog v0.1.0 (/opt/rustwide/workdir/battlelog) [INFO] [stderr] Checking companionapi v0.0.1 (/opt/rustwide/workdir/companionapi) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> companionapi/src/companion_api.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Login flow [INFO] [stdout] 48 | | /// 1. GET | https://accounts.ea.com/connect/auth?locale=en_US&state=bf4&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&response_type=code&client_id=battlelog&display=web%2Flogin [INFO] [stdout] 49 | | /// 2. GET | Go to the location of the step 1 [INFO] [stdout] 50 | | /// 3. GET | Go to the location of the step 2 (save response cookies for the next queries) [INFO] [stdout] ... | [INFO] [stdout] 77 | | /// Finish login [INFO] [stdout] 78 | | /// 1. GET | https://accounts.ea.com/connect/auth?initref_replay=false&display=web%2Flogin&response_type=code&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&locale=en_US&client_id=battlelog&fid= [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 79 | / let login_page = self.client [INFO] [stdout] 80 | | .get("https://accounts.ea.com/connect/auth?locale=en_US&state=bf4&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&response_type=code&client_id=battlelog&display=web%2Flogin") [INFO] [stdout] 81 | | .send() [INFO] [stdout] 82 | | .await?; [INFO] [stdout] | |____________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> companionapi/src/companion_api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let location = login_page.headers().get("Location").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `password` are never read [INFO] [stdout] --> companionapi/src/companion_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CompanionAPI { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> companionapi/src/companion_api.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Login flow [INFO] [stdout] 48 | | /// 1. GET | https://accounts.ea.com/connect/auth?locale=en_US&state=bf4&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&response_type=code&client_id=battlelog&display=web%2Flogin [INFO] [stdout] 49 | | /// 2. GET | Go to the location of the step 1 [INFO] [stdout] 50 | | /// 3. GET | Go to the location of the step 2 (save response cookies for the next queries) [INFO] [stdout] ... | [INFO] [stdout] 77 | | /// Finish login [INFO] [stdout] 78 | | /// 1. GET | https://accounts.ea.com/connect/auth?initref_replay=false&display=web%2Flogin&response_type=code&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&locale=en_US&client_id=battlelog&fid= [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 79 | / let login_page = self.client [INFO] [stdout] 80 | | .get("https://accounts.ea.com/connect/auth?locale=en_US&state=bf4&redirect_uri=https%3A%2F%2Fbattlelog.battlefield.com%2Fsso%2F%3Ftokentype%3Dcode&response_type=code&client_id=battlelog&display=web%2Flogin") [INFO] [stdout] 81 | | .send() [INFO] [stdout] 82 | | .await?; [INFO] [stdout] | |____________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> companionapi/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | companion_api.login().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = companion_api.login().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> companionapi/src/companion_api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let location = login_page.headers().get("Location").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `password` are never read [INFO] [stdout] --> companionapi/src/companion_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CompanionAPI { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bflogger v0.1.0 (/opt/rustwide/workdir/bflogger) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.43s [INFO] running `Command { std: "docker" "inspect" "a2a43ed07bbe6477965209b2cf85c3a786a2f959bcd54f3933b4602b206f4a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a43ed07bbe6477965209b2cf85c3a786a2f959bcd54f3933b4602b206f4a90", kill_on_drop: false }` [INFO] [stdout] a2a43ed07bbe6477965209b2cf85c3a786a2f959bcd54f3933b4602b206f4a90