[INFO] cloning repository https://github.com/antonyforte/Network-Graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antonyforte/Network-Graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonyforte%2FNetwork-Graph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonyforte%2FNetwork-Graph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd3a6fd5b27af718eed6eb5ad1b1734dd26a1f74 [INFO] building antonyforte/Network-Graph against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonyforte%2FNetwork-Graph" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antonyforte/Network-Graph on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antonyforte/Network-Graph [INFO] finished tweaking git repo https://github.com/antonyforte/Network-Graph [INFO] tweaked toml for git repo https://github.com/antonyforte/Network-Graph written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/antonyforte/Network-Graph already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dfdf46d52904141623b0a6defadc3fc7d57a2849d27d3a3411aaf0f75b967ae [INFO] running `Command { std: "docker" "start" "-a" "8dfdf46d52904141623b0a6defadc3fc7d57a2849d27d3a3411aaf0f75b967ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dfdf46d52904141623b0a6defadc3fc7d57a2849d27d3a3411aaf0f75b967ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dfdf46d52904141623b0a6defadc3fc7d57a2849d27d3a3411aaf0f75b967ae", kill_on_drop: false }` [INFO] [stdout] 8dfdf46d52904141623b0a6defadc3fc7d57a2849d27d3a3411aaf0f75b967ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ced48110ebd79c99717c2ce2ee1b20c5bb12c4b59b55aaa18b40c4d490008b [INFO] running `Command { std: "docker" "start" "-a" "b9ced48110ebd79c99717c2ce2ee1b20c5bb12c4b59b55aaa18b40c4d490008b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling Network-Graph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Neg` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Neg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/main.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::graph::{NodeIndex, Graph, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::EdgeRef` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::EdgeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::IntoEdgesDirected` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::visit::IntoEdgesDirected; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let b1 = graph2.add_edge(a,b,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let b2 = graph2.add_edge(a,c,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b3` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let b3 = graph2.add_edge(a,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b4` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let b4 = graph2.add_edge(a,e,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b5` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let b5 = graph2.add_edge(e,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b6` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let b6 = graph2.add_edge(e,a,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b7` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let b7 = graph2.add_edge(b,f,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b8` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let b8 = graph2.add_edge(c,h,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b9` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let b9 = graph2.add_edge(h,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b10` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let b10 = graph2.add_edge(f,g,1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_b10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b11` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let b11 = graph2.add_edge(g,b,1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_b11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let e1 = graph.add_edge(neamt,iasi,87); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let e2 = graph.add_edge(iasi,vaslui,92); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e3` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let e3 = graph.add_edge(vaslui,urziceni,142); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e4` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let e4 = graph.add_edge(urziceni,hirsova,98); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e5` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let e5 = graph.add_edge(hirsova,eforie,86); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e6` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let e6 = graph.add_edge(urziceni,bucharest,85); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e7` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let e7 = graph.add_edge(bucharest,urziceni,87); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e8` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let e8 = graph.add_edge(bucharest,giurgiu,90); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e9` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let e9 = graph.add_edge(bucharest,fagaras,211); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e10` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let e10 = graph.add_edge(fagaras,sibiu,99); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e11` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let e11 = graph.add_edge(sibiu,oradea,151); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e12` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let e12 = graph.add_edge(oradea,zerind,71); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e13` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let e13 = graph.add_edge(zerind,arad,75); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e13` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e14` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let e14 = graph.add_edge(arad,sibiu,140); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e14` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e15` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let e15 = graph.add_edge(arad,timisoara,118); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e16` [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let e16 = graph.add_edge(timisoara,lugoj,111); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e17` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let e17 = graph.add_edge(lugoj,mehadia,70); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e17` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e18` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let e18 = graph.add_edge(mehadia,drobeta,75); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e19` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let e19 = graph.add_edge(drobeta,craiova,120); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e19` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e20` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let e20 = graph.add_edge(craiova,pitesti,138); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e21` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let e21 = graph.add_edge(pitesti,bucharest,101); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e21` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e22` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let e22 = graph.add_edge(sibiu,remnicu_vilcea,80); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e22` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e23` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let e23 = graph.add_edge(remnicu_vilcea,pitesti,97); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len2` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let len2 = graph2.node_count(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_len2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut weight = graph.node_weight(NodeIndex::new(count)); [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/main.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut weight = graph.node_weight(NodeIndex::new(count)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "b9ced48110ebd79c99717c2ce2ee1b20c5bb12c4b59b55aaa18b40c4d490008b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ced48110ebd79c99717c2ce2ee1b20c5bb12c4b59b55aaa18b40c4d490008b", kill_on_drop: false }` [INFO] [stdout] b9ced48110ebd79c99717c2ce2ee1b20c5bb12c4b59b55aaa18b40c4d490008b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6066aae23e337cf051b3ff1d7474514acdbc2311e65e05d433d901e7c5548444 [INFO] running `Command { std: "docker" "start" "-a" "6066aae23e337cf051b3ff1d7474514acdbc2311e65e05d433d901e7c5548444", kill_on_drop: false }` [INFO] [stderr] Compiling Network-Graph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Neg` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Neg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/main.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::graph::{NodeIndex, Graph, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::EdgeRef` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::EdgeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::IntoEdgesDirected` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::visit::IntoEdgesDirected; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let b1 = graph2.add_edge(a,b,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let b2 = graph2.add_edge(a,c,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b3` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let b3 = graph2.add_edge(a,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b4` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let b4 = graph2.add_edge(a,e,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b5` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let b5 = graph2.add_edge(e,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b6` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let b6 = graph2.add_edge(e,a,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b7` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let b7 = graph2.add_edge(b,f,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b8` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let b8 = graph2.add_edge(c,h,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b9` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let b9 = graph2.add_edge(h,d,1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b10` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let b10 = graph2.add_edge(f,g,1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_b10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b11` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let b11 = graph2.add_edge(g,b,1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_b11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let e1 = graph.add_edge(neamt,iasi,87); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let e2 = graph.add_edge(iasi,vaslui,92); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e3` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let e3 = graph.add_edge(vaslui,urziceni,142); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e4` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let e4 = graph.add_edge(urziceni,hirsova,98); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e5` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let e5 = graph.add_edge(hirsova,eforie,86); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e6` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let e6 = graph.add_edge(urziceni,bucharest,85); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e7` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let e7 = graph.add_edge(bucharest,urziceni,87); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e8` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let e8 = graph.add_edge(bucharest,giurgiu,90); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e9` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let e9 = graph.add_edge(bucharest,fagaras,211); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e10` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let e10 = graph.add_edge(fagaras,sibiu,99); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e11` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let e11 = graph.add_edge(sibiu,oradea,151); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e12` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let e12 = graph.add_edge(oradea,zerind,71); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e13` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let e13 = graph.add_edge(zerind,arad,75); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e13` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e14` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let e14 = graph.add_edge(arad,sibiu,140); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e14` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e15` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let e15 = graph.add_edge(arad,timisoara,118); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e16` [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let e16 = graph.add_edge(timisoara,lugoj,111); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e17` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let e17 = graph.add_edge(lugoj,mehadia,70); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e17` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e18` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let e18 = graph.add_edge(mehadia,drobeta,75); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e19` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let e19 = graph.add_edge(drobeta,craiova,120); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e19` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e20` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let e20 = graph.add_edge(craiova,pitesti,138); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e21` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let e21 = graph.add_edge(pitesti,bucharest,101); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e21` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e22` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let e22 = graph.add_edge(sibiu,remnicu_vilcea,80); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e22` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e23` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let e23 = graph.add_edge(remnicu_vilcea,pitesti,97); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_e23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len2` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let len2 = graph2.node_count(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_len2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut weight = graph.node_weight(NodeIndex::new(count)); [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/main.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut weight = graph.node_weight(NodeIndex::new(count)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "6066aae23e337cf051b3ff1d7474514acdbc2311e65e05d433d901e7c5548444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6066aae23e337cf051b3ff1d7474514acdbc2311e65e05d433d901e7c5548444", kill_on_drop: false }` [INFO] [stdout] 6066aae23e337cf051b3ff1d7474514acdbc2311e65e05d433d901e7c5548444