[INFO] cloning repository https://github.com/samWighton/graph_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samWighton/graph_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsamWighton%2Fgraph_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsamWighton%2Fgraph_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db735322de8b075644ee113dfc6c84c6a2c7ea3c [INFO] checking samWighton/graph_network against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsamWighton%2Fgraph_network" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samWighton/graph_network on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samWighton/graph_network [INFO] finished tweaking git repo https://github.com/samWighton/graph_network [INFO] tweaked toml for git repo https://github.com/samWighton/graph_network written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/samWighton/graph_network already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6203473eede5b460e75dd1a1bbc5f0ba757fbbaa1032d28881397af5cc80e7b [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" "b6203473eede5b460e75dd1a1bbc5f0ba757fbbaa1032d28881397af5cc80e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6203473eede5b460e75dd1a1bbc5f0ba757fbbaa1032d28881397af5cc80e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6203473eede5b460e75dd1a1bbc5f0ba757fbbaa1032d28881397af5cc80e7b", kill_on_drop: false }` [INFO] [stdout] b6203473eede5b460e75dd1a1bbc5f0ba757fbbaa1032d28881397af5cc80e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c61f32a3514a14c797acf4996197f55a84e41c1941f2a78b50701f8ab99ed92a [INFO] running `Command { std: "docker" "start" "-a" "c61f32a3514a14c797acf4996197f55a84e41c1941f2a78b50701f8ab99ed92a", kill_on_drop: false }` [INFO] [stderr] Checking permissions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::ToOwned` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:213:94 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:213:99 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | ) -> Vec<(Edge)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | let mut ret_val : Vec<(Edge)> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::ToOwned` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:213:94 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:213:99 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | ) -> Vec<(Edge)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | let mut ret_val : Vec<(Edge)> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 113 | loop { [INFO] [stdout] | _____- [INFO] [stdout] 114 | | let (number_of_bytes, src_addr) = socket [INFO] [stdout] 115 | | .recv_from(&mut buf) [INFO] [stdout] 116 | | .expect("Didn't receive data"); [INFO] [stdout] ... | [INFO] [stdout] 161 | | // println!("benchmark = {} seconds {} nanoseconds", benchmark_start.elapsed().as_secs(), benchmark_start.elapsed().subsec_nanos()); [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 163 | return [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:247:2 [INFO] [stdout] | [INFO] [stdout] 233 | match words[0] { [INFO] [stdout] | _____- [INFO] [stdout] 234 | | "get_all_edges" => return Some( [INFO] [stdout] 235 | | get_all_links( [INFO] [stdout] 236 | | edges, [INFO] [stdout] ... | [INFO] [stdout] 244 | | _ => return None, [INFO] [stdout] 245 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 246 | [INFO] [stdout] 247 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 113 | loop { [INFO] [stdout] | _____- [INFO] [stdout] 114 | | let (number_of_bytes, src_addr) = socket [INFO] [stdout] 115 | | .recv_from(&mut buf) [INFO] [stdout] 116 | | .expect("Didn't receive data"); [INFO] [stdout] ... | [INFO] [stdout] 161 | | // println!("benchmark = {} seconds {} nanoseconds", benchmark_start.elapsed().as_secs(), benchmark_start.elapsed().subsec_nanos()); [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 163 | return [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_names` [INFO] [stdout] --> src/main.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | for e in 0 .. num_of_edges { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:347:6 [INFO] [stdout] | [INFO] [stdout] 347 | for t in 0 .. num_of_tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:247:2 [INFO] [stdout] | [INFO] [stdout] 233 | match words[0] { [INFO] [stdout] | _____- [INFO] [stdout] 234 | | "get_all_edges" => return Some( [INFO] [stdout] 235 | | get_all_links( [INFO] [stdout] 236 | | edges, [INFO] [stdout] ... | [INFO] [stdout] 244 | | _ => return None, [INFO] [stdout] 245 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 246 | [INFO] [stdout] 247 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_names` [INFO] [stdout] --> src/main.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_received(table_names: &mut Vec<&str>, edges: &Vec, buf: [u8;100]) -> Option <(Vec<(Edge)>)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | for e in 0 .. num_of_edges { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:347:6 [INFO] [stdout] | [INFO] [stdout] 347 | for t in 0 .. num_of_tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | let mut split = temp_string.split(" "); [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:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | let mut split = temp_string.split(" "); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | socket.send_to(&temp_reply_message.as_bytes(), &src_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | socket.send_to(&temp_reply_message.as_bytes(), &src_addr); [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "c61f32a3514a14c797acf4996197f55a84e41c1941f2a78b50701f8ab99ed92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61f32a3514a14c797acf4996197f55a84e41c1941f2a78b50701f8ab99ed92a", kill_on_drop: false }` [INFO] [stdout] c61f32a3514a14c797acf4996197f55a84e41c1941f2a78b50701f8ab99ed92a