[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsamWighton%2Fgraph_network" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samWighton/graph_network on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-12/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab2cc5179e20bad91660958d656601c11202a81c6f79b92565d08dbf1c422f3e [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" "ab2cc5179e20bad91660958d656601c11202a81c6f79b92565d08dbf1c422f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2cc5179e20bad91660958d656601c11202a81c6f79b92565d08dbf1c422f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2cc5179e20bad91660958d656601c11202a81c6f79b92565d08dbf1c422f3e", kill_on_drop: false }` [INFO] [stdout] ab2cc5179e20bad91660958d656601c11202a81c6f79b92565d08dbf1c422f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cb5befd30235ded72ed4a38f0a7e48fa8c99e0b952d8436a41e562a1ddc445d [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" "6cb5befd30235ded72ed4a38f0a7e48fa8c99e0b952d8436a41e562a1ddc445d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: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: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: 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 2.16s [INFO] running `Command { std: "docker" "inspect" "6cb5befd30235ded72ed4a38f0a7e48fa8c99e0b952d8436a41e562a1ddc445d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb5befd30235ded72ed4a38f0a7e48fa8c99e0b952d8436a41e562a1ddc445d", kill_on_drop: false }` [INFO] [stdout] 6cb5befd30235ded72ed4a38f0a7e48fa8c99e0b952d8436a41e562a1ddc445d