[INFO] fetching crate hypergraphx 0.0.5... [INFO] checking hypergraphx-0.0.5 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate hypergraphx 0.0.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate hypergraphx 0.0.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hypergraphx 0.0.5 [INFO] tweaked toml for crates.io crate hypergraphx 0.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hypergraphx 0.0.5 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hypergraphx 0.0.5 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717 [INFO] running `Command { std: "docker" "start" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking hypergraphx v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/core/special/complete.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | .map(move |y| ((i, y))) [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] 232 - .map(move |y| ((i, y))) [INFO] [stdout] 232 + .map(move |y| (i, y) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/core/special/complete.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | .map(move |y| ((i, y))) [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] 232 - .map(move |y| ((i, y))) [INFO] [stdout] 232 + .map(move |y| (i, y) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/core/special/complete.rs:233:52 [INFO] [stdout] | [INFO] [stdout] 233 | .chain(x.zeroes().map(move |y| ((y, i)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 233 - .chain(x.zeroes().map(move |y| ((y, i)))) [INFO] [stdout] 233 + .chain(x.zeroes().map(move |y| (y, i) )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/core/special/complete.rs:233:52 [INFO] [stdout] | [INFO] [stdout] 233 | .chain(x.zeroes().map(move |y| ((y, i)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 233 - .chain(x.zeroes().map(move |y| ((y, i)))) [INFO] [stdout] 233 + .chain(x.zeroes().map(move |y| (y, i) )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_index` [INFO] [stdout] --> src/core/special/complete.rs:354:37 [INFO] [stdout] | [INFO] [stdout] 354 | fn edge_weight_copied(&'a self, edge_index: >::EdgeIndex) -> Option<()> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_index` [INFO] [stdout] --> src/core/special/complete.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | edge_index: >::EdgeIndex, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_edge` [INFO] [stdout] --> src/core/special/cycles/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | new_edge: >::EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_index` [INFO] [stdout] --> src/core/special/complete.rs:354:37 [INFO] [stdout] | [INFO] [stdout] 354 | fn edge_weight_copied(&'a self, edge_index: >::EdgeIndex) -> Option<()> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_index` [INFO] [stdout] --> src/core/special/complete.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | edge_index: >::EdgeIndex, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_edge` [INFO] [stdout] --> src/core/special/cycles/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | new_edge: >::EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_cycle` is never used [INFO] [stdout] --> src/algo/traversal/mod.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 364 | impl<'a, T: GraphType> DfsPostOrderWithEdges { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 440 | pub(crate) fn make_cycle( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | state.blocked.remove(node.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | state.blocked.insert(v.into()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | state.stack = vec![v.into()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/core/special/cycles/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | B: Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hypergraphx` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `make_cycle` is never used [INFO] [stdout] --> src/algo/traversal/mod.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 364 | impl<'a, T: GraphType> DfsPostOrderWithEdges { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 440 | pub(crate) fn make_cycle( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | state.blocked.remove(node.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | state.blocked.insert(v.into()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/core/special/cycles/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | state.stack = vec![v.into()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/core/special/cycles/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | B: Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hypergraphx` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717", kill_on_drop: false }` [INFO] [stdout] 2a5da0d202f25e3b6653320e75edae4b1142d52afadbc09bae4ea345ce1b2717