[INFO] cloning repository https://github.com/neerajchowdary889/Remote-Storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neerajchowdary889/Remote-Storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FRemote-Storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FRemote-Storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f5a69077782b6a598803dd277fc72e1220fec3b [INFO] testing neerajchowdary889/Remote-Storage against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FRemote-Storage" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neerajchowdary889/Remote-Storage on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neerajchowdary889/Remote-Storage [INFO] finished tweaking git repo https://github.com/neerajchowdary889/Remote-Storage [INFO] tweaked toml for git repo https://github.com/neerajchowdary889/Remote-Storage written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/neerajchowdary889/Remote-Storage 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded allocator-api2 v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f09570b6df18d1bf1634475a86e355f0380af06c3a03a8fbbe99704d4733eb5 [INFO] running `Command { std: "docker" "start" "-a" "0f09570b6df18d1bf1634475a86e355f0380af06c3a03a8fbbe99704d4733eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f09570b6df18d1bf1634475a86e355f0380af06c3a03a8fbbe99704d4733eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f09570b6df18d1bf1634475a86e355f0380af06c3a03a8fbbe99704d4733eb5", kill_on_drop: false }` [INFO] [stdout] 0f09570b6df18d1bf1634475a86e355f0380af06c3a03a8fbbe99704d4733eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b1a5b4f6428ae5d6775bfca24a008bb8cb9fb150528e9a8d241c368ae0774e [INFO] running `Command { std: "docker" "start" "-a" "63b1a5b4f6428ae5d6775bfca24a008bb8cb9fb150528e9a8d241c368ae0774e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling allocator-api2 v0.2.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling CN_Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/Redirect.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/main.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/database.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_dir` [INFO] [stdout] --> src/Redirect.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let current_dir = env::current_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_dir` [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/Redirect.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = format!("UserFolders/{}", &hash_File); [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 `hash_File` should have a snake case name [INFO] [stdout] --> src/Redirect.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let hash_File = my_string.split_off(len - 40); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `hash_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FTP_File_name` should have a snake case name [INFO] [stdout] --> src/Redirect.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let FTP_File_name = my_string; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ftp_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | fn process_json_data(data: serde_json::Value) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `CA` [INFO] [stdout] --> src/CreateAccount.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/CreateAccount.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/bincodeFile.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | database::Start(json_data_copy).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = database::Start(json_data_copy).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_UserFolder` should have a snake case name [INFO] [stdout] --> src/database.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn create_UserFolder(total_hash: &str) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_user_folder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Start` should have a snake case name [INFO] [stdout] --> src/database.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn Start(data: serde_json::Value) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserFiles` is never constructed [INFO] [stdout] --> src/parseDB.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct UserFiles{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileEntry` is never constructed [INFO] [stdout] --> src/parseDB.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct FileEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `CN_Project` (bin "CA") due to 1 previous error [INFO] [stdout] warning: function `readUserTable` should have a snake case name [INFO] [stdout] --> src/parseDB.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn readUserTable() -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_user_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ServerFTP.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | download_from_ipfs(cid, &output_path); [INFO] [stdout] | ------------------ ^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ServerFTP.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn download_from_ipfs(cid: &str, output_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 100 | download_from_ipfs(&cid, &output_path); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bincodeFile.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> src/bincodeFile.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let message_data = deserialize(&buffer[..size])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 62 | let message_data: () = deserialize(&buffer[..size])?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bincodeclient.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> src/bincodeclient.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let response_data = deserialize(&buffer[..size])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 41 | let response_data: () = deserialize(&buffer[..size])?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `CN_Project` (bin "ServerFTP") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "63b1a5b4f6428ae5d6775bfca24a008bb8cb9fb150528e9a8d241c368ae0774e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b1a5b4f6428ae5d6775bfca24a008bb8cb9fb150528e9a8d241c368ae0774e", kill_on_drop: false }` [INFO] [stdout] 63b1a5b4f6428ae5d6775bfca24a008bb8cb9fb150528e9a8d241c368ae0774e