[INFO] cloning repository https://github.com/manthanabc/OpenNotes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manthanabc/OpenNotes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 125f8b915c60769cc2ce699321526966070b9506 [INFO] checking manthanabc/OpenNotes against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes" "/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/manthanabc/OpenNotes [INFO] finished tweaking git repo https://github.com/manthanabc/OpenNotes [INFO] tweaked toml for git repo https://github.com/manthanabc/OpenNotes written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manthanabc/OpenNotes on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manthanabc/OpenNotes 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: failed to save last-use data [INFO] [stderr] This may prevent cargo from accurately tracking what is being used in its global cache. This information is used for automatically removing unused data in the cache. [INFO] [stderr] [INFO] [stderr] database or disk is full [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Error code 13: Insertion failed because database is full [INFO] checking manthanabc/OpenNotes against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: sha1 file '/workspace/builds/worker-1-tc2/source/.git/index.lock' write error. Out of diskspace [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking manthanabc/OpenNotes against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/ipfs.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] error: unable to write file src/server.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking manthanabc/OpenNotes against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes" "/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/manthanabc/OpenNotes [INFO] finished tweaking git repo https://github.com/manthanabc/OpenNotes [INFO] tweaked toml for git repo https://github.com/manthanabc/OpenNotes written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manthanabc/OpenNotes on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manthanabc/OpenNotes 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09120d1fa0675641b287617dddecd946def3b1b11d99c5b4380bb668df614bf4 [INFO] running `Command { std: "docker" "start" "-a" "09120d1fa0675641b287617dddecd946def3b1b11d99c5b4380bb668df614bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09120d1fa0675641b287617dddecd946def3b1b11d99c5b4380bb668df614bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09120d1fa0675641b287617dddecd946def3b1b11d99c5b4380bb668df614bf4", kill_on_drop: false }` [INFO] [stdout] 09120d1fa0675641b287617dddecd946def3b1b11d99c5b4380bb668df614bf4 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51749ecb903d7b1aab7294690df947937a77f78ea4a99bfd670ceb00036d5e4b [INFO] running `Command { std: "docker" "start" "-a" "51749ecb903d7b1aab7294690df947937a77f78ea4a99bfd670ceb00036d5e4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking OpenNotes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute is typically applied to `main` function [INFO] [stdout] --> src/server.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[rocket::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `main` [INFO] [stdout] --> src/server.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn rocket() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `files` [INFO] [stdout] --> src/server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn files(file: PathBuf) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `explorer` [INFO] [stdout] --> src/server.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn explorer() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data` [INFO] [stdout] --> src/server.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | async fn data() -> status::Accepted { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pins` [INFO] [stdout] --> src/server.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn pins() -> status::Accepted { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute is typically applied to `main` function [INFO] [stdout] --> src/server.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[rocket::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `main` [INFO] [stdout] --> src/server.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn rocket() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ipfs.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut body = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [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/ipfs.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut response = client.get("http://localhost:5001/api/v0/pin/ls").send().await.unwrap(); [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/ipfs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut body = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `files` [INFO] [stdout] --> src/server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn files(file: PathBuf) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `explorer` [INFO] [stdout] --> src/server.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn explorer() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data` [INFO] [stdout] --> src/server.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | async fn data() -> status::Accepted { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pins` [INFO] [stdout] --> src/server.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn pins() -> status::Accepted { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ipfs.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut body = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [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/ipfs.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut response = client.get("http://localhost:5001/api/v0/pin/ls").send().await.unwrap(); [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/ipfs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut body = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/ipfs.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn upload_file(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `files` is never used [INFO] [stdout] --> src/server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn files(file: PathBuf) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `explorer` is never used [INFO] [stdout] --> src/server.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn explorer() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file` is never used [INFO] [stdout] --> src/ipfs.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn upload_file(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / rocket::build().mount("/", FileServer::from("public/")) [INFO] [stdout] 32 | | .mount("/", routes![data]) [INFO] [stdout] 33 | | .mount("/", routes![pins]) [INFO] [stdout] 34 | | .launch() [INFO] [stdout] 35 | | .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] 31 | let _ = rocket::build().mount("/", FileServer::from("public/")) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ipfs.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | commands::run("ipfs daemon"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = commands::run("ipfs daemon"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/ipfs.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn upload_file(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `files` is never used [INFO] [stdout] --> src/server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn files(file: PathBuf) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `explorer` is never used [INFO] [stdout] --> src/server.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn explorer() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file` is never used [INFO] [stdout] --> src/ipfs.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn upload_file(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / rocket::build().mount("/", FileServer::from("public/")) [INFO] [stdout] 32 | | .mount("/", routes![data]) [INFO] [stdout] 33 | | .mount("/", routes![pins]) [INFO] [stdout] 34 | | .launch() [INFO] [stdout] 35 | | .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] 31 | let _ = rocket::build().mount("/", FileServer::from("public/")) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ipfs.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | commands::run("ipfs daemon"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = commands::run("ipfs daemon"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [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" "51749ecb903d7b1aab7294690df947937a77f78ea4a99bfd670ceb00036d5e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51749ecb903d7b1aab7294690df947937a77f78ea4a99bfd670ceb00036d5e4b", kill_on_drop: false }` [INFO] [stdout] 51749ecb903d7b1aab7294690df947937a77f78ea4a99bfd670ceb00036d5e4b