[INFO] cloning repository https://github.com/spaarmann/cluster-editing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spaarmann/cluster-editing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaarmann%2Fcluster-editing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaarmann%2Fcluster-editing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5415450450d6d502b43101e23c26c390e02f5dd7 [INFO] checking spaarmann/cluster-editing against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaarmann%2Fcluster-editing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/spaarmann/cluster-editing [INFO] finished tweaking git repo https://github.com/spaarmann/cluster-editing [INFO] tweaked toml for git repo https://github.com/spaarmann/cluster-editing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spaarmann/cluster-editing on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spaarmann/cluster-editing 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a585c7dd5af5c7b9822d988c52a6ac34e4aec3a7852e9f4423f9b1e902258f52 [INFO] running `Command { std: "docker" "start" "-a" "a585c7dd5af5c7b9822d988c52a6ac34e4aec3a7852e9f4423f9b1e902258f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a585c7dd5af5c7b9822d988c52a6ac34e4aec3a7852e9f4423f9b1e902258f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a585c7dd5af5c7b9822d988c52a6ac34e4aec3a7852e9f4423f9b1e902258f52", kill_on_drop: false }` [INFO] [stdout] a585c7dd5af5c7b9822d988c52a6ac34e4aec3a7852e9f4423f9b1e902258f52 [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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e54225cb86201acf67df13666ed16b1a322d6c8510541a73ed0123420364d1 [INFO] running `Command { std: "docker" "start" "-a" "13e54225cb86201acf67df13666ed16b1a322d6c8510541a73ed0123420364d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking cluster-editing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/reduction.rs:841:34 [INFO] [stdout] | [INFO] [stdout] 841 | let get_val = |i: usize| (i as isize - max_x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 841 - let get_val = |i: usize| (i as isize - max_x); [INFO] [stdout] 841 + let get_val = |i: usize| i as isize - max_x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/reduction.rs:841:34 [INFO] [stdout] | [INFO] [stdout] 841 | let get_val = |i: usize| (i as isize - max_x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 841 - let get_val = |i: usize| (i as isize - max_x); [INFO] [stdout] 841 + let get_val = |i: usize| i as isize - max_x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `binary_heap_retain` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(binary_heap_retain)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `binary_heap_retain` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(binary_heap_retain)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r123_neighbors_u`, `r123_neighbors_v`, and `r123_neighbors_u_new` are never read [INFO] [stdout] --> src/reduction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ReductionStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | r123_neighbors_u: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | r123_neighbors_v: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | r123_neighbors_u_new: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReductionStorage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/algo.rs:921:35 [INFO] [stdout] | [INFO] [stdout] 921 | let mut result = unsafe { ORIGINAL_INPUT_GRAPH.as_ref().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/algo.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | let graph = unsafe { ORIGINAL_INPUT_GRAPH.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r123_neighbors_u`, `r123_neighbors_v`, and `r123_neighbors_u_new` are never read [INFO] [stdout] --> src/reduction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ReductionStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | r123_neighbors_u: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | r123_neighbors_v: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | r123_neighbors_u_new: Vec<(usize, Weight)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReductionStorage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/algo.rs:921:35 [INFO] [stdout] | [INFO] [stdout] 921 | let mut result = unsafe { ORIGINAL_INPUT_GRAPH.as_ref().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/algo.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | let graph = unsafe { ORIGINAL_INPUT_GRAPH.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.59s [INFO] running `Command { std: "docker" "inspect" "13e54225cb86201acf67df13666ed16b1a322d6c8510541a73ed0123420364d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e54225cb86201acf67df13666ed16b1a322d6c8510541a73ed0123420364d1", kill_on_drop: false }` [INFO] [stdout] 13e54225cb86201acf67df13666ed16b1a322d6c8510541a73ed0123420364d1