[INFO] cloning repository https://github.com/Xavulu/astral [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xavulu/astral" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavulu%2Fastral", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavulu%2Fastral'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c7ebd8e585fc00fd599bc24c5ccd81f30de52b9 [INFO] testing Xavulu/astral against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavulu%2Fastral" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xavulu/astral on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xavulu/astral [INFO] finished tweaking git repo https://github.com/Xavulu/astral [INFO] tweaked toml for git repo https://github.com/Xavulu/astral written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Xavulu/astral already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-04-10" "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] 11ffe9a45bfb9f60361c467e3eff8e6d7ebc774e92d336f187a7df2dccfec92d [INFO] running `Command { std: "docker" "start" "-a" "11ffe9a45bfb9f60361c467e3eff8e6d7ebc774e92d336f187a7df2dccfec92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ffe9a45bfb9f60361c467e3eff8e6d7ebc774e92d336f187a7df2dccfec92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ffe9a45bfb9f60361c467e3eff8e6d7ebc774e92d336f187a7df2dccfec92d", kill_on_drop: false }` [INFO] [stdout] 11ffe9a45bfb9f60361c467e3eff8e6d7ebc774e92d336f187a7df2dccfec92d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] fb257094d02f8fa27b2e04d23e702f7fb43eecc7846fb9161a017f1d17ddf331 [INFO] running `Command { std: "docker" "start" "-a" "fb257094d02f8fa27b2e04d23e702f7fb43eecc7846fb9161a017f1d17ddf331", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling fluent-syntax v0.10.3 [INFO] [stderr] Compiling cookie-factory v0.3.2 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling paris v1.5.7 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling c2-chacha v0.3.0 [INFO] [stderr] Compiling poly1305 v0.6.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling scrypt v0.5.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling rust-embed v5.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling curve25519-dalek v3.0.2 [INFO] [stderr] Compiling chacha20poly1305 v0.7.1 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling ouroboros_macro v0.8.2 [INFO] [stderr] Compiling x25519-dalek v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling number2name v1.1.2 [INFO] [stderr] Compiling file_shred v1.1.0 [INFO] [stderr] Compiling ouroboros v0.8.2 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling intl_pluralrules v7.0.1 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling fluent-bundle v0.14.4 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling i18n-config v0.4.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling fluent v0.14.4 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling i18n-embed-impl v0.6.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling message-io v0.10.0 (https://github.com/lemunozm/message-io/#a9d657ff) [INFO] [stderr] Compiling i18n-embed v0.10.2 [INFO] [stderr] Compiling age-core v0.5.0 [INFO] [stderr] Compiling i18n-embed-fl v0.3.1 [INFO] [stderr] Compiling age v0.5.1 [INFO] [stderr] Compiling astral v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom`, `Seek` [INFO] [stdout] --> src/encrypt.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::encrypt::*` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::encrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanSend`, `FileInfo`, `SentMsg` [INFO] [stdout] --> src/server.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use super::helpers::{FileInfo, SentMsg, CanSend}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventQueue` [INFO] [stdout] --> src/server.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use message_io::events::{EventQueue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint`, `NetEvent` [INFO] [stdout] --> src/server.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use message_io::network::{Network, NetEvent, Endpoint, Transport}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpassword` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rpassword; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/server.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/server.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/server.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanSend`, `SentMsg`, `enc_name_builder` [INFO] [stdout] --> src/client.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use super::helpers::{SentMsg, CanSend, enc_name_builder, EXTENSION}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::encrypt::*` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::encrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventQueue` [INFO] [stdout] --> src/client.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use message_io::events::{EventQueue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpassword` [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rpassword; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `hash_encoded` [INFO] [stdout] --> src/client.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use argon2::{self, Config, hash_encoded}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/client.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/client.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalkDir` [INFO] [stdout] --> src/helpers.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `astral_project` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use client::{astral_project}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `astral_plane` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use server::{astral_plane}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `WalkDir` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_hidden` [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use helpers::{is_hidden}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/client.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | return println!("okiedokie"); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 51 | / let (mut network, mut event_queue) = [INFO] [stdout] 52 | | Network::split_and_map(|net_event| Event::Network(net_event)); [INFO] [stdout] | |______________________________________________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_queue` [INFO] [stdout] --> src/server.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut network, mut event_queue) = Network::split(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/client.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut file = File::open(file_name).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc` [INFO] [stdout] --> src/client.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut enc = File::create(&enc_name).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_enc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_pass` [INFO] [stdout] --> src/client.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let test_pass = "1234567890"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_queue` [INFO] [stdout] --> src/client.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let (mut network, mut event_queue) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let(server_id, _) = match network.connect(Transport::FramedTcp, server_addr) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/client.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn astral_project(file_name: &str, destination: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/helpers.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn file_collector(files: Vec<&str>){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut network, mut event_queue) = Network::split(); [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/client.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut file = File::open(file_name).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut enc = File::create(&enc_name).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/encrypt.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt` [INFO] [stdout] --> src/encrypt.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn encrypt(in_put: Vec, pass: String) -> Result, Box >{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt` [INFO] [stdout] --> src/encrypt.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn decrypt(in_put: Vec, pass: String)-> Result, Box>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_file` [INFO] [stdout] --> src/encrypt.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn encrypt_file(in_put: &Path, out_put: &Path, pass: String) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_file` [INFO] [stdout] --> src/encrypt.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn decrypt_file(in_put: &Path, out_put: &Path, pass: String) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `astral_plane` [INFO] [stdout] --> src/server.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn astral_plane (port: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Event` [INFO] [stdout] --> src/client.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `astral_project` [INFO] [stdout] --> src/client.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn astral_project(file_name: &str, destination: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXTENSION` [INFO] [stdout] --> src/helpers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const EXTENSION: &str = ".astral"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FileInfo` [INFO] [stdout] --> src/helpers.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enc_name_builder` [INFO] [stdout] --> src/helpers.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn enc_name_builder(infile: &Path) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_name_builder` [INFO] [stdout] --> src/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn dec_name_builder(infile: &Path) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_collector` [INFO] [stdout] --> src/helpers.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn file_collector(files: Vec<&str>){} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hidden` [INFO] [stdout] --> src/helpers.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "fb257094d02f8fa27b2e04d23e702f7fb43eecc7846fb9161a017f1d17ddf331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb257094d02f8fa27b2e04d23e702f7fb43eecc7846fb9161a017f1d17ddf331", kill_on_drop: false }` [INFO] [stdout] fb257094d02f8fa27b2e04d23e702f7fb43eecc7846fb9161a017f1d17ddf331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 7f647e4ab467a90247b80b8c0c8c62977a9fca48a2bf39cca21248fe11f9d842 [INFO] running `Command { std: "docker" "start" "-a" "7f647e4ab467a90247b80b8c0c8c62977a9fca48a2bf39cca21248fe11f9d842", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "7f647e4ab467a90247b80b8c0c8c62977a9fca48a2bf39cca21248fe11f9d842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f647e4ab467a90247b80b8c0c8c62977a9fca48a2bf39cca21248fe11f9d842", kill_on_drop: false }` [INFO] [stdout] 7f647e4ab467a90247b80b8c0c8c62977a9fca48a2bf39cca21248fe11f9d842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-04-10" "test" "--frozen", 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] 459699fbd0c60f5d5378cd4bd1f11c351a654dc5744d01d2260d61f4964f3a0f [INFO] running `Command { std: "docker" "start" "-a" "459699fbd0c60f5d5378cd4bd1f11c351a654dc5744d01d2260d61f4964f3a0f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "459699fbd0c60f5d5378cd4bd1f11c351a654dc5744d01d2260d61f4964f3a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459699fbd0c60f5d5378cd4bd1f11c351a654dc5744d01d2260d61f4964f3a0f", kill_on_drop: false }` [INFO] [stdout] 459699fbd0c60f5d5378cd4bd1f11c351a654dc5744d01d2260d61f4964f3a0f