[INFO] cloning repository https://github.com/kakaragame/KLauncher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kakaragame/KLauncher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b05544b2cec876f6fe5000e8151576a7fc768710
[INFO] testing kakaragame/KLauncher against beta-2021-09-08 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kakaragame/KLauncher on toolchain beta-2021-09-08
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kakaragame/KLauncher
[INFO] finished tweaking git repo https://github.com/kakaragame/KLauncher
[INFO] tweaked toml for git repo https://github.com/kakaragame/KLauncher written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/kakaragame/KLauncher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded named_pipe v0.3.0
[INFO] [stderr]   Downloaded cargo_metadata v0.10.0
[INFO] [stderr]   Downloaded discord-rpc-client v0.3.0
[INFO] [stderr]   Downloaded skeptic v0.13.5
[INFO] [stderr]   Downloaded jenkins_api v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6dd71c2796a429782c958a9704a5b215361292cb615e39bfab3cd322249888ff
[INFO] running `Command { std: "docker" "start" "-a" "6dd71c2796a429782c958a9704a5b215361292cb615e39bfab3cd322249888ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6dd71c2796a429782c958a9704a5b215361292cb615e39bfab3cd322249888ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dd71c2796a429782c958a9704a5b215361292cb615e39bfab3cd322249888ff", kill_on_drop: false }`
[INFO] [stdout] 6dd71c2796a429782c958a9704a5b215361292cb615e39bfab3cd322249888ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 233a5e51aa15b3f5c990d28bbe09d06ba5950c735d0836c74215d4c04c82ed19
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "233a5e51aa15b3f5c990d28bbe09d06ba5950c735d0836c74215d4c04c82ed19", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]    Compiling bytecount v0.6.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling urlencoding v1.1.1
[INFO] [stderr]    Compiling tokio v1.7.1
[INFO] [stderr]    Compiling bzip2-sys v0.1.10+1.0.8
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling terminal_size v0.1.16
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling flate2 v1.0.14
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling console v0.14.0
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.6.1
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling bzip2 v0.4.2
[INFO] [stderr]    Compiling rand v0.8.2
[INFO] [stderr]    Compiling indicatif v0.16.2
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling zip v0.5.13
[INFO] [stderr]    Compiling pin-project v1.0.4
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-stream v0.1.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-util v0.6.1
[INFO] [stderr]    Compiling h2 v0.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_yaml v0.8.17
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling cargo_metadata v0.10.0
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling discord-rpc-client v0.3.0
[INFO] [stderr]    Compiling hyper v0.14.2
[INFO] [stderr]    Compiling skeptic v0.13.5
[INFO] [stderr]    Compiling jenkins_api v0.8.0
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling reqwest v0.11.3
[INFO] [stderr]    Compiling klauncher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `DISCORD_KEY` not defined
[INFO] [stdout]   --> src/gameloader.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let i = env!("DISCORD_KEY").parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::Auth`
[INFO] [stdout]   --> src/gameloader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::settings::Auth;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::Launcher`
[INFO] [stdout]   --> src/gameloader.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::settings::Launcher;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::TestConfig`
[INFO] [stdout]   --> src/gameloader.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::settings::TestConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]  --> src/osspec.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::mem;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/jenkins.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/jenkins.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::{create_dir_all, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/jenkins.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/jenkins.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/jenkins.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShortJob`
[INFO] [stdout]   --> src/jenkins.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use jenkins_api::job::{CommonJob, Job, ShortJob};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/jenkins.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 if (x.relative_path.starts_with("client/")) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/jenkins.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     let value = (format!("{}artifact/{}", build.url, x.relative_path));
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `copy`, `self`
[INFO] [stdout]  --> src/downloader.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |           io::{self, copy, Read},
[INFO] [stdout]   |                ^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/jre.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::{create_dir_all, File, remove_dir_all};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> src/jre.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, thread, time};
[INFO] [stdout]   |               ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings`
[INFO] [stdout]  --> src/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::settings;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/installer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut jre = download_jre().await;
[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 import: `Job`
[INFO] [stdout]   --> src/jenkins.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | use jenkins_api::job::{CommonJob, Job, ShortJob};
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `klauncher` due to 2 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "233a5e51aa15b3f5c990d28bbe09d06ba5950c735d0836c74215d4c04c82ed19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "233a5e51aa15b3f5c990d28bbe09d06ba5950c735d0836c74215d4c04c82ed19", kill_on_drop: false }`
[INFO] [stdout] 233a5e51aa15b3f5c990d28bbe09d06ba5950c735d0836c74215d4c04c82ed19
