[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaarmann%2Fcluster-editing" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spaarmann/cluster-editing on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05fc645640876e1f642f7a12b9841921273ff82d35081dfb22e67930dd01a36d [INFO] running `Command { std: "docker" "start" "-a" "05fc645640876e1f642f7a12b9841921273ff82d35081dfb22e67930dd01a36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05fc645640876e1f642f7a12b9841921273ff82d35081dfb22e67930dd01a36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fc645640876e1f642f7a12b9841921273ff82d35081dfb22e67930dd01a36d", kill_on_drop: false }` [INFO] [stdout] 05fc645640876e1f642f7a12b9841921273ff82d35081dfb22e67930dd01a36d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 891962ffa1c696ca6f4da8b42a9b7afee18fd5de3229fdd245c1b121d8663d5f [INFO] running `Command { std: "docker" "start" "-a" "891962ffa1c696ca6f4da8b42a9b7afee18fd5de3229fdd245c1b121d8663d5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking petgraph v0.5.1 [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 clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/runner.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Optional arguments to pass along to the solver. Any `$i` will be replaced by the current [INFO] [stdout] 29 | | /// instance. [INFO] [stdout] 30 | | #[structopt(long = "solver-args", default_value = "")] [INFO] [stdout] 31 | | solver_args: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cluster-editing` (bin "runner" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Writes the input graph file out in another format. [INFO] [stdout] 37 | | /// Syntax: `--write-input :. [INFO] [stdout] 38 | | /// Supported formats are: `tgf`, `peace`, `gr`. [INFO] [stdout] 39 | | #[structopt(long = "write-input")] [INFO] [stdout] 40 | | write_input: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Writes the output graph file out in another format. [INFO] [stdout] 48 | | /// Syntax: `--write-output :. [INFO] [stdout] 49 | | /// Supported formats are: `tgf`, `peace`, `gr`. [INFO] [stdout] 50 | | #[structopt(long = "write-output")] [INFO] [stdout] 51 | | write_output: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / /// Which command is used to print the graph images. Can generally be any Graphviz tool, [INFO] [stdout] 64 | | /// default is `sfdp`. `fdp` can be used for somewhat better images that take a longer time to [INFO] [stdout] 65 | | /// create. [INFO] [stdout] 66 | | #[structopt(long = "print-command", default_value = "sfdp")] [INFO] [stdout] 67 | | print_command: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/reduction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Which reductions to apply. Default: all. [INFO] [stdout] 24 | | /// Possible values: crit_cliques, rules123, rule4, rule5 [INFO] [stdout] 25 | | /// To specify more than one rule, give the argument mutliple times. [INFO] [stdout] 26 | | #[structopt(long = "reduction", number_of_values = 1)] [INFO] [stdout] 27 | | reductions: Option>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cluster-editing` (bin "cluster-editing") due to 3 previous errors; 1 warning emitted [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] [stderr] error: could not compile `cluster-editing` (bin "reduction") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/reduction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Which reductions to apply. Default: all. [INFO] [stdout] 24 | | /// Possible values: crit_cliques, rules123, rule4, rule5 [INFO] [stdout] 25 | | /// To specify more than one rule, give the argument mutliple times. [INFO] [stdout] 26 | | #[structopt(long = "reduction", number_of_values = 1)] [INFO] [stdout] 27 | | reductions: Option>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/runner.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Optional arguments to pass along to the solver. Any `$i` will be replaced by the current [INFO] [stdout] 29 | | /// instance. [INFO] [stdout] 30 | | #[structopt(long = "solver-args", default_value = "")] [INFO] [stdout] 31 | | solver_args: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cluster-editing` (bin "runner") due to 1 previous error [INFO] [stderr] error: could not compile `cluster-editing` (bin "reduction" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "891962ffa1c696ca6f4da8b42a9b7afee18fd5de3229fdd245c1b121d8663d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891962ffa1c696ca6f4da8b42a9b7afee18fd5de3229fdd245c1b121d8663d5f", kill_on_drop: false }` [INFO] [stdout] 891962ffa1c696ca6f4da8b42a9b7afee18fd5de3229fdd245c1b121d8663d5f