[INFO] cloning repository https://github.com/AdrianN001/konnekt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdrianN001/konnekt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianN001%2Fkonnekt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianN001%2Fkonnekt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 40dd402e68b8f776df3a1feb839887cfc60d39fa
[INFO] building AdrianN001/konnekt against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianN001%2Fkonnekt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AdrianN001/konnekt
[INFO] finished tweaking git repo https://github.com/AdrianN001/konnekt
[INFO] tweaked toml for git repo https://github.com/AdrianN001/konnekt written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdrianN001/konnekt on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AdrianN001/konnekt 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.11
[INFO] [stderr]   Downloaded smallvec v1.11.0
[INFO] [stderr]   Downloaded num-traits v0.2.16
[INFO] [stderr]   Downloaded sha256 v1.4.0
[INFO] [stderr]   Downloaded wayland-client v0.30.2
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded socket2 v0.5.3
[INFO] [stderr]   Downloaded ctrlc v3.4.1
[INFO] [stderr]   Downloaded neli-proc-macros v0.1.3
[INFO] [stderr]   Downloaded rayon v1.7.0
[INFO] [stderr]   Downloaded flume v0.10.14
[INFO] [stderr]   Downloaded thiserror-impl v1.0.48
[INFO] [stderr]   Downloaded tokio v1.32.0
[INFO] [stderr]   Downloaded serde_derive v1.0.188
[INFO] [stderr]   Downloaded libc v0.2.147
[INFO] [stderr]   Downloaded thiserror v1.0.48
[INFO] [stderr]   Downloaded wayland-scanner v0.30.1
[INFO] [stderr]   Downloaded libloading v0.8.0
[INFO] [stderr]   Downloaded libdbus-sys v0.2.5
[INFO] [stderr]   Downloaded dbus v0.9.7
[INFO] [stderr]   Downloaded flate2 v1.0.27
[INFO] [stderr]   Downloaded wayland-protocols v0.30.1
[INFO] [stderr]   Downloaded wayland-backend v0.1.2
[INFO] [stderr]   Downloaded xcb v1.2.2
[INFO] [stderr]   Downloaded serde v1.0.188
[INFO] [stderr]   Downloaded rayon-core v1.11.0
[INFO] [stderr]   Downloaded exr v1.7.0
[INFO] [stderr]   Downloaded wayland-protocols-wlr v0.1.0
[INFO] [stderr]   Downloaded libwayshot v0.2.0
[INFO] [stderr]   Downloaded screenshots v0.8.2
[INFO] [stderr]   Downloaded local-ip-address v0.5.6
[INFO] [stderr]   Downloaded neli v0.6.4
[INFO] [stderr]   Downloaded quick-xml v0.28.2
[INFO] [stderr]   Downloaded display-info v0.4.3
[INFO] [stderr]   Downloaded fdeflate v0.3.0
[INFO] [stderr]   Downloaded syn v2.0.32
[INFO] [stderr]   Downloaded hermit-abi v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14b32b8dfbc70f40d35be7a80ed548dfede34a820ab2dd0f51c0762033671392
[INFO] running `Command { std: "docker" "start" "-a" "14b32b8dfbc70f40d35be7a80ed548dfede34a820ab2dd0f51c0762033671392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14b32b8dfbc70f40d35be7a80ed548dfede34a820ab2dd0f51c0762033671392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14b32b8dfbc70f40d35be7a80ed548dfede34a820ab2dd0f51c0762033671392", kill_on_drop: false }`
[INFO] [stdout] 14b32b8dfbc70f40d35be7a80ed548dfede34a820ab2dd0f51c0762033671392
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6329a466defa2b43f791d57f6cc44b243a577d16c7256801e87a270fd856a13
[INFO] running `Command { std: "docker" "start" "-a" "a6329a466defa2b43f791d57f6cc44b243a577d16c7256801e87a270fd856a13", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling libloading v0.8.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling quick-xml v0.28.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling wayland-backend v0.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.30.1
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling libdbus-sys v0.2.5
[INFO] [stderr]    Compiling xcb v1.2.2
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling exr v1.7.0
[INFO] [stderr]    Compiling wayland-client v0.30.2
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling wayland-protocols v0.30.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling memmap2 v0.7.1
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling dbus v0.9.7
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.1.0
[INFO] [stderr]    Compiling display-info v0.4.3
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling neli-proc-macros v0.1.3
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling ctrlc v3.4.1
[INFO] [stderr]    Compiling libwayshot v0.2.0
[INFO] [stderr]    Compiling neli v0.6.4
[INFO] [stderr]    Compiling screenshots v0.8.2
[INFO] [stderr]    Compiling local-ip-address v0.5.6
[INFO] [stderr]    Compiling sha256 v1.4.0
[INFO] [stderr]    Compiling konnekt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::net`
[INFO] [stdout]  --> src/scout/beacon.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UdpSocket`
[INFO] [stdout]  --> src/scout/initiator.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{ UdpSocket};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/scout/initiator.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::{net, fs};
[INFO] [stdout]   |                  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/shared/file.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::fs::{self, File};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shared::snapshot::Snapshot`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use shared::snapshot::Snapshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `log_info` is never used
[INFO] [stdout]   --> src/file_share/metadata.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FileMetaData {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn log_info(&self) -> () {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Serializable` is never used
[INFO] [stdout]  --> src/traits/file.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Serializable { 
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Changeable` is never used
[INFO] [stdout]   --> src/traits/file.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Changeable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LISTENING_ADDRESS` is never used
[INFO] [stdout]  --> src/scout/initiator.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const LISTENING_ADDRESS : &str = "0.0.0.0";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileDescriptor` is never constructed
[INFO] [stdout]   --> src/shared/file.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct FileDescriptor{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_from_fs` and `same_file` are never used
[INFO] [stdout]   --> src/shared/file.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl FileDescriptor {
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] 24 |
[INFO] [stdout] 25 |     pub async fn new_from_fs(path: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn same_file(file_a: &Self,file_b: &Self) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_checksum` is never used
[INFO] [stdout]    --> src/shared/file.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn calculate_checksum(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Changes` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Changes{
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ChangesToFile` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type ChangesToFile<'a> = HashMap<&'a FileDescriptor, Changes>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/shared/snapshot.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Snapshot{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `read_from_fs`, and `write_to_file` are never used
[INFO] [stdout]   --> src/shared/snapshot.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Snapshot { 
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 31 |     // Creates a Snapshot from the current state of the directory
[INFO] [stdout] 32 |     pub async fn create(snapshot_id: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub async fn read_from_fs(snapshot_id: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub async fn write_to_file(&self) -> Result<(), Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compare` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl Snapshot {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 87 |     // Compares the snapshot with an other one and returns a hashmap of FileDescriptor (:key) => Change (:value)
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_files_from_snapshot` is never used
[INFO] [stdout]    --> src/shared/snapshot.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Snapshot{ 
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 109 |     pub async fn fetch_files_from_snapshot(&self) -> Vec<Result<File, std::io::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shared/snapshot.rs:88:65
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile {
[INFO] [stdout]    |                         --                          --          ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |                           |
[INFO] [stdout]    |                         |                           the lifetime is named here
[INFO] [stdout]    |                         the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile<'a> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "a6329a466defa2b43f791d57f6cc44b243a577d16c7256801e87a270fd856a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6329a466defa2b43f791d57f6cc44b243a577d16c7256801e87a270fd856a13", kill_on_drop: false }`
[INFO] [stdout] a6329a466defa2b43f791d57f6cc44b243a577d16c7256801e87a270fd856a13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44c56a3025b23a1f3dd40f10d4b8e339cc04c28d16458c9458a8f5b2a3b3c126
[INFO] running `Command { std: "docker" "start" "-a" "44c56a3025b23a1f3dd40f10d4b8e339cc04c28d16458c9458a8f5b2a3b3c126", kill_on_drop: false }`
[INFO] [stderr]    Compiling konnekt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::net`
[INFO] [stdout]  --> src/scout/beacon.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UdpSocket`
[INFO] [stdout]  --> src/scout/initiator.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{ UdpSocket};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/scout/initiator.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::{net, fs};
[INFO] [stdout]   |                  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/shared/file.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::fs::{self, File};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shared::snapshot::Snapshot`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use shared::snapshot::Snapshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `log_info` is never used
[INFO] [stdout]   --> src/file_share/metadata.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FileMetaData {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn log_info(&self) -> () {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Serializable` is never used
[INFO] [stdout]  --> src/traits/file.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Serializable { 
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Changeable` is never used
[INFO] [stdout]   --> src/traits/file.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Changeable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LISTENING_ADDRESS` is never used
[INFO] [stdout]  --> src/scout/initiator.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const LISTENING_ADDRESS : &str = "0.0.0.0";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileDescriptor` is never constructed
[INFO] [stdout]   --> src/shared/file.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct FileDescriptor{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_from_fs` and `same_file` are never used
[INFO] [stdout]   --> src/shared/file.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl FileDescriptor {
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] 24 |
[INFO] [stdout] 25 |     pub async fn new_from_fs(path: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn same_file(file_a: &Self,file_b: &Self) -> bool{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_checksum` is never used
[INFO] [stdout]    --> src/shared/file.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn calculate_checksum(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Changes` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Changes{
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ChangesToFile` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type ChangesToFile<'a> = HashMap<&'a FileDescriptor, Changes>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/shared/snapshot.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Snapshot{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `read_from_fs`, and `write_to_file` are never used
[INFO] [stdout]   --> src/shared/snapshot.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Snapshot { 
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 31 |     // Creates a Snapshot from the current state of the directory
[INFO] [stdout] 32 |     pub async fn create(snapshot_id: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub async fn read_from_fs(snapshot_id: &str) -> Result<Self, Error>{
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub async fn write_to_file(&self) -> Result<(), Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compare` is never used
[INFO] [stdout]   --> src/shared/snapshot.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl Snapshot {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 87 |     // Compares the snapshot with an other one and returns a hashmap of FileDescriptor (:key) => Change (:value)
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_files_from_snapshot` is never used
[INFO] [stdout]    --> src/shared/snapshot.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Snapshot{ 
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 109 |     pub async fn fetch_files_from_snapshot(&self) -> Vec<Result<File, std::io::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shared/snapshot.rs:88:65
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile {
[INFO] [stdout]    |                         --                          --          ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |                           |
[INFO] [stdout]    |                         |                           the lifetime is named here
[INFO] [stdout]    |                         the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn compare<'a>(&'a self, previous_snapshot:&'a Self) -> ChangesToFile<'a> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "44c56a3025b23a1f3dd40f10d4b8e339cc04c28d16458c9458a8f5b2a3b3c126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44c56a3025b23a1f3dd40f10d4b8e339cc04c28d16458c9458a8f5b2a3b3c126", kill_on_drop: false }`
[INFO] [stdout] 44c56a3025b23a1f3dd40f10d4b8e339cc04c28d16458c9458a8f5b2a3b3c126
