[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] testing manthanabc/OpenNotes against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanthanabc%2FOpenNotes" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manthanabc/OpenNotes on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-80/source/Cargo.toml [INFO] crate git repo https://github.com/manthanabc/OpenNotes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 954c8a3acede262569bdceb547b5db87a945332836f7ccca17e5ebcbd4933506 [INFO] running `Command { std: "docker" "start" "-a" "954c8a3acede262569bdceb547b5db87a945332836f7ccca17e5ebcbd4933506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "954c8a3acede262569bdceb547b5db87a945332836f7ccca17e5ebcbd4933506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954c8a3acede262569bdceb547b5db87a945332836f7ccca17e5ebcbd4933506", kill_on_drop: false }` [INFO] [stdout] 954c8a3acede262569bdceb547b5db87a945332836f7ccca17e5ebcbd4933506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daceca50189a548cdee1e4767b9f44a3a9731a3b04908c0cefde0149792cca2a [INFO] running `Command { std: "docker" "start" "-a" "daceca50189a548cdee1e4767b9f44a3a9731a3b04908c0cefde0149792cca2a", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling OpenNotes v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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] [INFO] [stdout] warning: function is never used: `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(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `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: function is never used: `upload_file` [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: crate `OpenNotes` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `open_notes` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 40s [INFO] running `Command { std: "docker" "inspect" "daceca50189a548cdee1e4767b9f44a3a9731a3b04908c0cefde0149792cca2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daceca50189a548cdee1e4767b9f44a3a9731a3b04908c0cefde0149792cca2a", kill_on_drop: false }` [INFO] [stdout] daceca50189a548cdee1e4767b9f44a3a9731a3b04908c0cefde0149792cca2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cdedbdb97ed16961aa6565d42e4ba5d0c021b85eb400e5328fe6d57f09d8f8f [INFO] running `Command { std: "docker" "start" "-a" "6cdedbdb97ed16961aa6565d42e4ba5d0c021b85eb400e5328fe6d57f09d8f8f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling OpenNotes v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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] [INFO] [stdout] warning: function is never used: `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(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `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: function is never used: `upload_file` [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: crate `OpenNotes` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `open_notes` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.73s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cdedbdb97ed16961aa6565d42e4ba5d0c021b85eb400e5328fe6d57f09d8f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdedbdb97ed16961aa6565d42e4ba5d0c021b85eb400e5328fe6d57f09d8f8f", kill_on_drop: false }` [INFO] [stdout] 6cdedbdb97ed16961aa6565d42e4ba5d0c021b85eb400e5328fe6d57f09d8f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9816c371e1f8760cb91527c087d8a269e7b4cc7ba193637f409a714789dedf98 [INFO] running `Command { std: "docker" "start" "-a" "9816c371e1f8760cb91527c087d8a269e7b4cc7ba193637f409a714789dedf98", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ipfs.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let mut response = client.get("http://localhost:5001/api/v0/pin/ls").send().await.unwrap(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ipfs.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let mut body = String::new(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/ipfs.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn upload_file(file_path: &str) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/ipfs.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | let mut body = String::new(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `files` [INFO] [stderr] --> src/server.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | async fn files(file: PathBuf) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `explorer` [INFO] [stderr] --> src/server.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | async fn explorer() -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `upload_file` [INFO] [stderr] --> src/ipfs.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn upload_file(file_path: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `OpenNotes` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `open_notes` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/server.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / rocket::build().mount("/", FileServer::from("public/")) [INFO] [stderr] 32 | | .mount("/", routes![data]) [INFO] [stderr] 33 | | .mount("/", routes![pins]) [INFO] [stderr] 34 | | .launch() [INFO] [stderr] 35 | | .await; [INFO] [stderr] | |____________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ipfs.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | commands::run("ipfs daemon"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `OpenNotes` (bin "OpenNotes" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.71s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/OpenNotes-92afca870f0a28a6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9816c371e1f8760cb91527c087d8a269e7b4cc7ba193637f409a714789dedf98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9816c371e1f8760cb91527c087d8a269e7b4cc7ba193637f409a714789dedf98", kill_on_drop: false }` [INFO] [stdout] 9816c371e1f8760cb91527c087d8a269e7b4cc7ba193637f409a714789dedf98