[INFO] cloning repository https://github.com/allonsy/basalt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allonsy/basalt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallonsy%2Fbasalt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallonsy%2Fbasalt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6d344004b34ecd86ebfbe6799a837b4d7c7c9d4 [INFO] checking allonsy/basalt against try#ff044a3d65d25a17c3e14c1530004e1540179ba7 for pr-78338 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallonsy%2Fbasalt" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/allonsy/basalt on toolchain ff044a3d65d25a17c3e14c1530004e1540179ba7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/allonsy/basalt [INFO] finished tweaking git repo https://github.com/allonsy/basalt [INFO] tweaked toml for git repo https://github.com/allonsy/basalt written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/allonsy/basalt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded fork v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "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] b7c7de1da7a19ebc1d342a8752c01f3a5a4abe24da8d10b7bc3cbe3e21cf4876 [INFO] running `Command { std: "docker" "start" "-a" "b7c7de1da7a19ebc1d342a8752c01f3a5a4abe24da8d10b7bc3cbe3e21cf4876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7c7de1da7a19ebc1d342a8752c01f3a5a4abe24da8d10b7bc3cbe3e21cf4876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c7de1da7a19ebc1d342a8752c01f3a5a4abe24da8d10b7bc3cbe3e21cf4876", kill_on_drop: false }` [INFO] [stdout] b7c7de1da7a19ebc1d342a8752c01f3a5a4abe24da8d10b7bc3cbe3e21cf4876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c128d5c55c697fb2f199d1a6dbcc9a3f83b38d8f86012e39239515db04b52e45 [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" "c128d5c55c697fb2f199d1a6dbcc9a3f83b38d8f86012e39239515db04b52e45", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking fork v0.1.17 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking sodiumoxide v0.2.5 [INFO] [stderr] Checking basalt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/app.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(clap::crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/app.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(clap::crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/app.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(clap::crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/app.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(clap::crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/agent/state.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | public::PublicKeyWrapper::Sodium(k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/agent/state.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | public::PublicKeyWrapper::Sodium(k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/agent/generate.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut keychain = st.get_chain()?; [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: variable does not need to be mutable [INFO] [stdout] --> src/agent/generate.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut keychain = st.get_chain()?; [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: associated function is never used: `remove_key` [INFO] [stdout] --> src/agent/keychain.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn remove_key(&mut self, key_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_device_key_names` [INFO] [stdout] --> src/agent/private.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_device_key_names() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_sodium` [INFO] [stdout] --> src/agent/public.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn is_sodium(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_paper` [INFO] [stdout] --> src/agent/public.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_paper(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_yubikey` [INFO] [stdout] --> src/agent/public.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_yubikey(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_success` [INFO] [stdout] --> src/agent/state.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_failure` [INFO] [stdout] --> src/agent/state.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_failure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_lockout` [INFO] [stdout] --> src/agent/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn is_lockout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/client/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | if user_index < 0 || user_index >= choices.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_key` [INFO] [stdout] --> src/agent/keychain.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn remove_key(&mut self, key_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_device_key_names` [INFO] [stdout] --> src/agent/private.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_device_key_names() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_sodium` [INFO] [stdout] --> src/agent/public.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn is_sodium(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_paper` [INFO] [stdout] --> src/agent/public.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_paper(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_yubikey` [INFO] [stdout] --> src/agent/public.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_yubikey(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_success` [INFO] [stdout] --> src/agent/state.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_failure` [INFO] [stdout] --> src/agent/state.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_failure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_lockout` [INFO] [stdout] --> src/agent/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn is_lockout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/client/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | if user_index < 0 || user_index >= choices.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "c128d5c55c697fb2f199d1a6dbcc9a3f83b38d8f86012e39239515db04b52e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c128d5c55c697fb2f199d1a6dbcc9a3f83b38d8f86012e39239515db04b52e45", kill_on_drop: false }` [INFO] [stdout] c128d5c55c697fb2f199d1a6dbcc9a3f83b38d8f86012e39239515db04b52e45