[INFO] cloning repository https://github.com/Theboys619/apm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Theboys619/apm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheboys619%2Fapm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheboys619%2Fapm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8c7d20e19f24d1472fecf71cdbb79143f83befc [INFO] testing Theboys619/apm against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheboys619%2Fapm" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Theboys619/apm on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Theboys619/apm [INFO] finished tweaking git repo https://github.com/Theboys619/apm [INFO] tweaked toml for git repo https://github.com/Theboys619/apm written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/Theboys619/apm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 531463d02e9913eca5f58c468379ce21cb1e833da94014508721ba68aa6f6485 [INFO] running `Command { std: "docker" "start" "-a" "531463d02e9913eca5f58c468379ce21cb1e833da94014508721ba68aa6f6485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531463d02e9913eca5f58c468379ce21cb1e833da94014508721ba68aa6f6485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531463d02e9913eca5f58c468379ce21cb1e833da94014508721ba68aa6f6485", kill_on_drop: false }` [INFO] [stdout] 531463d02e9913eca5f58c468379ce21cb1e833da94014508721ba68aa6f6485 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ead35a3ebd01d365df7cc84d3f600efbeae7f72562f25a797d66e178241e435 [INFO] running `Command { std: "docker" "start" "-a" "5ead35a3ebd01d365df7cc84d3f600efbeae7f72562f25a797d66e178241e435", 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] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling mppm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::Send` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use commander::{ Command, Commands }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{Result, Value, Map}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{File, DirEntry, DirBuilder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn publish(args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `API` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const API: &str = "https://registry010.theboys619.repl.co/api"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn writeFiles(data: Vec) -> Pin>> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `write_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | dirb.recursive(true).create(path.clone()); // recursively create the path for folder that might not exist [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: variable `filesList` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let filesList: Vec = obj["files"].as_array().unwrap().to_vec(); // Get filelist from directory [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `files_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | file.write_all(filedata.as_bytes()); // write the file to the package folder [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "5ead35a3ebd01d365df7cc84d3f600efbeae7f72562f25a797d66e178241e435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ead35a3ebd01d365df7cc84d3f600efbeae7f72562f25a797d66e178241e435", kill_on_drop: false }` [INFO] [stdout] 5ead35a3ebd01d365df7cc84d3f600efbeae7f72562f25a797d66e178241e435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fcc85197fd32e72afa0237bd4b7676ec3953b98aa2f204cd81fb10e1723f1e0 [INFO] running `Command { std: "docker" "start" "-a" "6fcc85197fd32e72afa0237bd4b7676ec3953b98aa2f204cd81fb10e1723f1e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mppm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::Send` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use commander::{ Command, Commands }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{Result, Value, Map}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{File, DirEntry, DirBuilder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn publish(args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `API` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const API: &str = "https://registry010.theboys619.repl.co/api"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn writeFiles(data: Vec) -> Pin>> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `write_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | dirb.recursive(true).create(path.clone()); // recursively create the path for folder that might not exist [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: variable `filesList` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let filesList: Vec = obj["files"].as_array().unwrap().to_vec(); // Get filelist from directory [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `files_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | file.write_all(filedata.as_bytes()); // write the file to the package folder [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 test [unoptimized + debuginfo] target(s) in 1.73s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mppm-80d73d0963db580d) [INFO] running `Command { std: "docker" "inspect" "6fcc85197fd32e72afa0237bd4b7676ec3953b98aa2f204cd81fb10e1723f1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcc85197fd32e72afa0237bd4b7676ec3953b98aa2f204cd81fb10e1723f1e0", kill_on_drop: false }` [INFO] [stdout] 6fcc85197fd32e72afa0237bd4b7676ec3953b98aa2f204cd81fb10e1723f1e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a219b945eb4016e28dff86383ef0b34006d21cb06bd12463f3ffffc41751b2d6 [INFO] running `Command { std: "docker" "start" "-a" "a219b945eb4016e28dff86383ef0b34006d21cb06bd12463f3ffffc41751b2d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::marker::Send` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::marker::Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Command` [INFO] [stderr] --> src/main.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use commander::{ Command, Commands }; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/main.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::{Result, Value, Map}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DirEntry` [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use std::fs::{File, DirEntry, DirBuilder}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | fn publish(args: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `API` [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const API: &str = "https://registry010.theboys619.repl.co/api"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `writeFiles` should have a snake case name [INFO] [stderr] --> src/main.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | fn writeFiles(data: Vec) -> Pin>> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `write_files` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | dirb.recursive(true).create(path.clone()); // recursively create the path for folder that might not exist [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: variable `filesList` should have a snake case name [INFO] [stderr] --> src/main.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let filesList: Vec = obj["files"].as_array().unwrap().to_vec(); // Get filelist from directory [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `files_list` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | file.write_all(filedata.as_bytes()); // write the file to the package folder [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `mppm` (bin "mppm" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mppm-80d73d0963db580d) [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.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a219b945eb4016e28dff86383ef0b34006d21cb06bd12463f3ffffc41751b2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a219b945eb4016e28dff86383ef0b34006d21cb06bd12463f3ffffc41751b2d6", kill_on_drop: false }` [INFO] [stdout] a219b945eb4016e28dff86383ef0b34006d21cb06bd12463f3ffffc41751b2d6