[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] checking AdrianN001/konnekt against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianN001%2Fkonnekt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdrianN001/konnekt on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93566657559bf43b9dd7d76601f1ba6c1d81a5aadbf7f69f911bf09b5e257d4d
[INFO] running `Command { std: "docker" "start" "-a" "93566657559bf43b9dd7d76601f1ba6c1d81a5aadbf7f69f911bf09b5e257d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93566657559bf43b9dd7d76601f1ba6c1d81a5aadbf7f69f911bf09b5e257d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93566657559bf43b9dd7d76601f1ba6c1d81a5aadbf7f69f911bf09b5e257d4d", kill_on_drop: false }`
[INFO] [stdout] 93566657559bf43b9dd7d76601f1ba6c1d81a5aadbf7f69f911bf09b5e257d4d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 723dd0d375ae5fadbb5cf5e546106f05de137624b6604000fb10edd156690de5
[INFO] running `Command { std: "docker" "start" "-a" "723dd0d375ae5fadbb5cf5e546106f05de137624b6604000fb10edd156690de5", 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]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling quick-xml v0.28.2
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking flate2 v1.0.27
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling wayland-backend v0.1.2
[INFO] [stderr]    Compiling libdbus-sys v0.2.5
[INFO] [stderr]    Compiling wayland-scanner v0.30.1
[INFO] [stderr]    Compiling xcb v1.2.2
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking memmap2 v0.7.1
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking ctrlc v3.4.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking wayland-client v0.30.2
[INFO] [stderr]     Checking tiff v0.9.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking wayland-protocols v0.30.1
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking exr v1.7.0
[INFO] [stderr]     Checking dbus v0.9.7
[INFO] [stderr]     Checking image v0.24.7
[INFO] [stderr]     Checking wayland-protocols-wlr v0.1.0
[INFO] [stderr]     Checking display-info v0.4.3
[INFO] [stderr]     Checking sha256 v1.4.0
[INFO] [stderr]    Compiling neli-proc-macros v0.1.3
[INFO] [stderr]     Checking libwayshot v0.2.0
[INFO] [stderr]     Checking screenshots v0.8.2
[INFO] [stderr]     Checking neli v0.6.4
[INFO] [stderr]     Checking local-ip-address v0.5.6
[INFO] [stderr]     Checking 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: 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] [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 42.97s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "723dd0d375ae5fadbb5cf5e546106f05de137624b6604000fb10edd156690de5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "723dd0d375ae5fadbb5cf5e546106f05de137624b6604000fb10edd156690de5", kill_on_drop: false }`
[INFO] [stdout] 723dd0d375ae5fadbb5cf5e546106f05de137624b6604000fb10edd156690de5
