[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#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsamWighton%2Fgraph_network" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samWighton/graph_network on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", 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] c66a9168f375bea32152c49906442b4d30c4eafb9c7b25929ebdab4addfd00a5 [INFO] running `Command { std: "docker" "start" "-a" "c66a9168f375bea32152c49906442b4d30c4eafb9c7b25929ebdab4addfd00a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c66a9168f375bea32152c49906442b4d30c4eafb9c7b25929ebdab4addfd00a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66a9168f375bea32152c49906442b4d30c4eafb9c7b25929ebdab4addfd00a5", kill_on_drop: false }` [INFO] [stdout] c66a9168f375bea32152c49906442b4d30c4eafb9c7b25929ebdab4addfd00a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] d6237e034d3fc46fc130f8a3e35992dfe07a792df6ab2e84250c6a23912b1e14 [INFO] running `Command { std: "docker" "start" "-a" "d6237e034d3fc46fc130f8a3e35992dfe07a792df6ab2e84250c6a23912b1e14", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking rustc-serialize v0.3.23 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking permissions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Debug, Copy, Clone, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:166:50 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Debug, Copy, Clone, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Debug, Copy, Clone, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:166:50 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Debug, Copy, Clone, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] 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] 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: unreachable expression [INFO] [stdout] --> src/main.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [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 `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: unreachable expression [INFO] [stdout] --> src/main.rs:247:2 [INFO] [stdout] | [INFO] [stdout] 233 | / match words[0] { [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: 15 warnings emitted [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: unused `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.12s [INFO] running `Command { std: "docker" "inspect" "d6237e034d3fc46fc130f8a3e35992dfe07a792df6ab2e84250c6a23912b1e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6237e034d3fc46fc130f8a3e35992dfe07a792df6ab2e84250c6a23912b1e14", kill_on_drop: false }` [INFO] [stdout] d6237e034d3fc46fc130f8a3e35992dfe07a792df6ab2e84250c6a23912b1e14