[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kakaragame/KLauncher on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.10.0 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] [stderr] Downloaded discord-rpc-client v0.3.0 [INFO] [stderr] Downloaded skeptic v0.13.5 [INFO] [stderr] Downloaded bzip2 v0.4.2 [INFO] [stderr] Downloaded jenkins_api v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16a09ace1ee5308b354f2061e76606825494f11f7d89a74e8a8991552965f5cf [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" "16a09ace1ee5308b354f2061e76606825494f11f7d89a74e8a8991552965f5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16a09ace1ee5308b354f2061e76606825494f11f7d89a74e8a8991552965f5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a09ace1ee5308b354f2061e76606825494f11f7d89a74e8a8991552965f5cf", kill_on_drop: false }` [INFO] [stdout] 16a09ace1ee5308b354f2061e76606825494f11f7d89a74e8a8991552965f5cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bfc362b90ccfa1336287fb6580ac33e7ca622d8c5aa1e6b8a38783c96d74aa7 [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" "0bfc362b90ccfa1336287fb6580ac33e7ca622d8c5aa1e6b8a38783c96d74aa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [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 serde_json v1.0.61 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling bzip2 v0.4.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tempfile v3.2.0 [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 tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [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_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 cargo_metadata v0.10.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling discord-rpc-client v0.3.0 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling jenkins_api v0.8.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if (x.relative_path.starts_with("client/")) { [INFO] [stdout] 93 + if x.relative_path.starts_with("client/") { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - let value = (format!("{}artifact/{}", build.url, x.relative_path)); [INFO] [stdout] 94 + let value = format!("{}artifact/{}", build.url, x.relative_path); [INFO] [stdout] | [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod test; [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" "0bfc362b90ccfa1336287fb6580ac33e7ca622d8c5aa1e6b8a38783c96d74aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfc362b90ccfa1336287fb6580ac33e7ca622d8c5aa1e6b8a38783c96d74aa7", kill_on_drop: false }` [INFO] [stdout] 0bfc362b90ccfa1336287fb6580ac33e7ca622d8c5aa1e6b8a38783c96d74aa7