[INFO] updating cached repository https://github.com/KarLe15/Graph-handler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 048f2ebcc6bea90d72044ca654b325a505e2cfe0 [INFO] testing KarLe15/Graph-handler against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarLe15%2FGraph-handler" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KarLe15/Graph-handler on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KarLe15/Graph-handler [INFO] finished tweaking git repo https://github.com/KarLe15/Graph-handler [INFO] tweaked toml for git repo https://github.com/KarLe15/Graph-handler written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/KarLe15/Graph-handler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7536cf7ebdb6723df3a20d3b8c44bc2d9b6c5d1290dfaecba90abf13fca1ae38 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7536cf7ebdb6723df3a20d3b8c44bc2d9b6c5d1290dfaecba90abf13fca1ae38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7536cf7ebdb6723df3a20d3b8c44bc2d9b6c5d1290dfaecba90abf13fca1ae38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7536cf7ebdb6723df3a20d3b8c44bc2d9b6c5d1290dfaecba90abf13fca1ae38", kill_on_drop: false }` [INFO] [stdout] 7536cf7ebdb6723df3a20d3b8c44bc2d9b6c5d1290dfaecba90abf13fca1ae38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d705bb6670a62ddbeb71ede5b8ec54423f02d0974b24dd6e7f75130c0d2291 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a5d705bb6670a62ddbeb71ede5b8ec54423f02d0974b24dd6e7f75130c0d2291", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pin-project-internal v0.4.21 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling sanitize-filename v0.2.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling png v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.21 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-multipart v0.2.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling graph-back-end v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/main.rs:7:90 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, post, get, delete, App, Error, HttpServer, Responder, HttpResponse, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::structures::UploadGraphParams` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use request::structures::UploadGraphParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:117:70 [INFO] [stdout] | [INFO] [stdout] 117 | &get_error_response("Unable to remove file", 501, Some(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_target` [INFO] [stdout] --> src/structure/graph.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let node_target = nodes_map.get(target) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_neighbor` [INFO] [stdout] --> src/structure/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn has_neighbor(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neighbor_of` [INFO] [stdout] --> src/structure/node.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_neighbor_of(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | / std::fs::rename( [INFO] [stdout] 94 | | format!("{}/temporary{}", DATA_PREFIX, DATA_SUFFIX), [INFO] [stdout] 95 | | format!("{}/{}{}", DATA_PREFIX, new_name, DATA_SUFFIX) [INFO] [stdout] 96 | | ); [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: structure field `graphName` should have a snake case name [INFO] [stdout] --> src/request/structures.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub graphName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `graphFile` should have a snake case name [INFO] [stdout] --> src/request/structures.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub graphFile: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 02s [INFO] running `Command { std: "docker" "inspect" "a5d705bb6670a62ddbeb71ede5b8ec54423f02d0974b24dd6e7f75130c0d2291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d705bb6670a62ddbeb71ede5b8ec54423f02d0974b24dd6e7f75130c0d2291", kill_on_drop: false }` [INFO] [stdout] a5d705bb6670a62ddbeb71ede5b8ec54423f02d0974b24dd6e7f75130c0d2291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b632cd93e971f0c131c680583832bd17a9c35ca4ba85e0dc67d52adc85c1dd8b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b632cd93e971f0c131c680583832bd17a9c35ca4ba85e0dc67d52adc85c1dd8b", kill_on_drop: false }` [INFO] [stderr] Compiling graph-back-end v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/main.rs:7:90 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, post, get, delete, App, Error, HttpServer, Responder, HttpResponse, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::structures::UploadGraphParams` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use request::structures::UploadGraphParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:117:70 [INFO] [stdout] | [INFO] [stdout] 117 | &get_error_response("Unable to remove file", 501, Some(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_target` [INFO] [stdout] --> src/structure/graph.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let node_target = nodes_map.get(target) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_neighbor` [INFO] [stdout] --> src/structure/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn has_neighbor(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neighbor_of` [INFO] [stdout] --> src/structure/node.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_neighbor_of(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | / std::fs::rename( [INFO] [stdout] 94 | | format!("{}/temporary{}", DATA_PREFIX, DATA_SUFFIX), [INFO] [stdout] 95 | | format!("{}/{}{}", DATA_PREFIX, new_name, DATA_SUFFIX) [INFO] [stdout] 96 | | ); [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: structure field `graphName` should have a snake case name [INFO] [stdout] --> src/request/structures.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub graphName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `graphFile` should have a snake case name [INFO] [stdout] --> src/request/structures.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub graphFile: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "b632cd93e971f0c131c680583832bd17a9c35ca4ba85e0dc67d52adc85c1dd8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b632cd93e971f0c131c680583832bd17a9c35ca4ba85e0dc67d52adc85c1dd8b", kill_on_drop: false }` [INFO] [stdout] b632cd93e971f0c131c680583832bd17a9c35ca4ba85e0dc67d52adc85c1dd8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a880013a9a8e552f5cac92a94072355e472fbf41cf1b22d7577aafd4f4cee11e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a880013a9a8e552f5cac92a94072355e472fbf41cf1b22d7577aafd4f4cee11e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HttpRequest` [INFO] [stderr] --> src/main.rs:7:90 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{web, post, get, delete, App, Error, HttpServer, Responder, HttpResponse, HttpRequest}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `request::structures::UploadGraphParams` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use request::structures::UploadGraphParams; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:117:70 [INFO] [stderr] | [INFO] [stderr] 117 | &get_error_response("Unable to remove file", 501, Some(e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node_target` [INFO] [stderr] --> src/structure/graph.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let node_target = nodes_map.get(target) [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_target` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_neighbor` [INFO] [stderr] --> src/structure/node.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn has_neighbor(&self, other: &Node) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_neighbor_of` [INFO] [stderr] --> src/structure/node.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn is_neighbor_of(&self, other: &Node) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:93:21 [INFO] [stderr] | [INFO] [stderr] 93 | / std::fs::rename( [INFO] [stderr] 94 | | format!("{}/temporary{}", DATA_PREFIX, DATA_SUFFIX), [INFO] [stderr] 95 | | format!("{}/{}{}", DATA_PREFIX, new_name, DATA_SUFFIX) [INFO] [stderr] 96 | | ); [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: structure field `graphName` should have a snake case name [INFO] [stderr] --> src/request/structures.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub graphName: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `graphFile` should have a snake case name [INFO] [stderr] --> src/request/structures.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub graphFile: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `graph_file` [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/graph_back_end-4d2686e4f6e95283 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a880013a9a8e552f5cac92a94072355e472fbf41cf1b22d7577aafd4f4cee11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a880013a9a8e552f5cac92a94072355e472fbf41cf1b22d7577aafd4f4cee11e", kill_on_drop: false }` [INFO] [stdout] a880013a9a8e552f5cac92a94072355e472fbf41cf1b22d7577aafd4f4cee11e