[INFO] cloning 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" "clone" "--bare" "https://github.com/KarLe15/Graph-handler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarLe15%2FGraph-handler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarLe15%2FGraph-handler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 048f2ebcc6bea90d72044ca654b325a505e2cfe0 [INFO] testing KarLe15/Graph-handler against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarLe15%2FGraph-handler" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KarLe15/Graph-handler on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5/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.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded image v0.13.0 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded twoway v0.2.1 [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded serde_yaml v0.8.13 [INFO] [stderr] Downloaded log4rs v0.12.0 [INFO] [stderr] Downloaded pin-project-internal v0.4.21 [INFO] [stderr] Downloaded jpeg-decoder v0.1.19 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded actix-multipart v0.2.0 [INFO] [stderr] Downloaded async-trait v0.1.35 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] [stderr] Downloaded png v0.7.0 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded num-bigint v0.1.44 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded rustc-serialize v0.3.24 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded proc-macro-nested v0.1.5 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded actix-cors v0.2.0 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded sanitize-filename v0.2.1 [INFO] [stderr] Downloaded pin-project v0.4.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72cdb3d1c81b5a4b6ef0a676ddd9afcec453e9dc97875efab7f742052a6d2537 [INFO] running `Command { std: "docker" "start" "-a" "72cdb3d1c81b5a4b6ef0a676ddd9afcec453e9dc97875efab7f742052a6d2537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72cdb3d1c81b5a4b6ef0a676ddd9afcec453e9dc97875efab7f742052a6d2537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72cdb3d1c81b5a4b6ef0a676ddd9afcec453e9dc97875efab7f742052a6d2537", kill_on_drop: false }` [INFO] [stdout] 72cdb3d1c81b5a4b6ef0a676ddd9afcec453e9dc97875efab7f742052a6d2537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40ade29c60a9bb6b47cefb07a0c4cef79af2845285780747a10d7ea67aad2a5f [INFO] running `Command { std: "docker" "start" "-a" "40ade29c60a9bb6b47cefb07a0c4cef79af2845285780747a10d7ea67aad2a5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.21 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling png v0.7.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling sanitize-filename v0.2.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling image v0.13.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 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 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 mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling log4rs v0.12.0 [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 actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [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 associated function `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 `has_neighbor` is never used [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_neighbor_of` is never used [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 `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 2m 19s [INFO] running `Command { std: "docker" "inspect" "40ade29c60a9bb6b47cefb07a0c4cef79af2845285780747a10d7ea67aad2a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ade29c60a9bb6b47cefb07a0c4cef79af2845285780747a10d7ea67aad2a5f", kill_on_drop: false }` [INFO] [stdout] 40ade29c60a9bb6b47cefb07a0c4cef79af2845285780747a10d7ea67aad2a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d2115f1f0d558e005e1bae8edbd6c0d8cc086e04232f62188cb68e038f6ea1f [INFO] running `Command { std: "docker" "start" "-a" "0d2115f1f0d558e005e1bae8edbd6c0d8cc086e04232f62188cb68e038f6ea1f", 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 associated function `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 `has_neighbor` is never used [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_neighbor_of` is never used [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 `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 1.49s [INFO] running `Command { std: "docker" "inspect" "0d2115f1f0d558e005e1bae8edbd6c0d8cc086e04232f62188cb68e038f6ea1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2115f1f0d558e005e1bae8edbd6c0d8cc086e04232f62188cb68e038f6ea1f", kill_on_drop: false }` [INFO] [stdout] 0d2115f1f0d558e005e1bae8edbd6c0d8cc086e04232f62188cb68e038f6ea1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cb290adb5a97a7e98146fe7f462528910936870802c67f3300da64041a0a7a7 [INFO] running `Command { std: "docker" "start" "-a" "7cb290adb5a97a7e98146fe7f462528910936870802c67f3300da64041a0a7a7", 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 associated function `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 `has_neighbor` is never used [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_neighbor_of` is never used [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 `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: `graph-back-end` (bin "graph-back-end" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/graph_back_end-cc1beffad80fa8dd) [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" "7cb290adb5a97a7e98146fe7f462528910936870802c67f3300da64041a0a7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb290adb5a97a7e98146fe7f462528910936870802c67f3300da64041a0a7a7", kill_on_drop: false }` [INFO] [stdout] 7cb290adb5a97a7e98146fe7f462528910936870802c67f3300da64041a0a7a7