[INFO] cloning repository https://github.com/prateeknischal/rips [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prateeknischal/rips" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateeknischal%2Frips", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateeknischal%2Frips'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7c2c197903f617fda2c3623ea0e69c2b645277d [INFO] checking prateeknischal/rips against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateeknischal%2Frips" "/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/prateeknischal/rips 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/prateeknischal/rips [INFO] finished tweaking git repo https://github.com/prateeknischal/rips [INFO] tweaked toml for git repo https://github.com/prateeknischal/rips written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/prateeknischal/rips 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-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b211a31d90461ad6fa0b6cc7a784b755fd35749ed0895fcb8521bba40b07bbed [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" "b211a31d90461ad6fa0b6cc7a784b755fd35749ed0895fcb8521bba40b07bbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b211a31d90461ad6fa0b6cc7a784b755fd35749ed0895fcb8521bba40b07bbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b211a31d90461ad6fa0b6cc7a784b755fd35749ed0895fcb8521bba40b07bbed", kill_on_drop: false }` [INFO] [stdout] b211a31d90461ad6fa0b6cc7a784b755fd35749ed0895fcb8521bba40b07bbed [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fd1229f3429d7a146d4333486d4208096fa7d93875d0acfeb8d92ae3981f4f4 [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" "3fd1229f3429d7a146d4333486d4208096fa7d93875d0acfeb8d92ae3981f4f4", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking pnet_base v0.26.0 [INFO] [stderr] Compiling pnet v0.26.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking pnet_sys v0.26.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking ipnetwork v0.16.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking pnet_macros_support v0.26.0 [INFO] [stderr] Checking pnet_datalink v0.26.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.26.0 [INFO] [stderr] Compiling pnet_packet v0.26.0 [INFO] [stderr] Checking pnet_transport v0.26.0 [INFO] [stderr] Checking rips v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `raw` is never read [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut raw = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `raw` is never read [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut raw = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/host/hostip.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut res = Vec::::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top` [INFO] [stdout] --> src/ip/ipengine.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut top = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/host/hostip.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut res = Vec::::new(); [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/ip/ipengine.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut top = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ip/ipengine.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut v: Vec = st.into_iter().map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_parent` [INFO] [stdout] --> src/ip/ipengine.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn find_parent(children: Vec<&str>, raw: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closest_parent` [INFO] [stdout] --> src/ip/ipengine.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn closest_parent(a: IpNetwork, b: IpNetwork, oc: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/ip/ipengine.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | assert!(belongs("10.36.214.32/27", vec!["10.36.214.38"])); [INFO] [stdout] | ^^^^^^^ ----------------- -------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ip/ipengine.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn belongs(parent: &str, child: Vec<&str>, invert: bool) -> bool { [INFO] [stdout] | ^^^^^^^ ------------ ---------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/ip/ipengine.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(!belongs("10.36.214.32/27", vec!["1.1.1.1"])); [INFO] [stdout] | ^^^^^^^ ----------------- --------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ip/ipengine.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn belongs(parent: &str, child: Vec<&str>, invert: bool) -> bool { [INFO] [stdout] | ^^^^^^^ ------------ ---------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/ip/ipengine.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | assert!(!belongs("a.1.4.z", vec![])); [INFO] [stdout] | ^^^^^^^ --------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ip/ipengine.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn belongs(parent: &str, child: Vec<&str>, invert: bool) -> bool { [INFO] [stdout] | ^^^^^^^ ------------ ---------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rips` [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3fd1229f3429d7a146d4333486d4208096fa7d93875d0acfeb8d92ae3981f4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd1229f3429d7a146d4333486d4208096fa7d93875d0acfeb8d92ae3981f4f4", kill_on_drop: false }` [INFO] [stdout] 3fd1229f3429d7a146d4333486d4208096fa7d93875d0acfeb8d92ae3981f4f4