[INFO] cloning repository https://github.com/markrileybot/rust_dag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markrileybot/rust_dag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkrileybot%2Frust_dag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkrileybot%2Frust_dag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2d4e403ff1ebf6c13deecbbc53ef06208795df2 [INFO] checking markrileybot/rust_dag against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkrileybot%2Frust_dag" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/markrileybot/rust_dag [INFO] finished tweaking git repo https://github.com/markrileybot/rust_dag [INFO] tweaked toml for git repo https://github.com/markrileybot/rust_dag written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/markrileybot/rust_dag on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/markrileybot/rust_dag 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac16b0997a7aa5dc6bb18c997222edd3d39bd88f57c95ced2d6f8addcd95ca4f [INFO] running `Command { std: "docker" "start" "-a" "ac16b0997a7aa5dc6bb18c997222edd3d39bd88f57c95ced2d6f8addcd95ca4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac16b0997a7aa5dc6bb18c997222edd3d39bd88f57c95ced2d6f8addcd95ca4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac16b0997a7aa5dc6bb18c997222edd3d39bd88f57c95ced2d6f8addcd95ca4f", kill_on_drop: false }` [INFO] [stdout] ac16b0997a7aa5dc6bb18c997222edd3d39bd88f57c95ced2d6f8addcd95ca4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e847c3cdba3eb87416703376eba2021de3f72c6cea235db69dafcd281b523960 [INFO] running `Command { std: "docker" "start" "-a" "e847c3cdba3eb87416703376eba2021de3f72c6cea235db69dafcd281b523960", kill_on_drop: false }` [INFO] [stderr] Checking rust_dag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dag.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_return))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dag.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_return))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/dag.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type Link = Rc>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisitState` is never constructed [INFO] [stdout] --> src/dag.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct VisitState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dag.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl VisitState { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 21 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitable` is never used [INFO] [stdout] --> src/dag.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | trait Visitable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/dag.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/dag.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Node where T: Clone + Hash + Eq { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn new_link(value: T) -> Link { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn is_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn is_tail(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn is_singly_linked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn is_island(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn link_out(&mut self, node: Link) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn link_in(&mut self, node: Link) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn unlink_out(&mut self, node: &Link) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn unlink_in(&mut self, node: &Link) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn get_removable_direct_links(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn get_cycle_path(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn get_cycle_path_internal(&self, path: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn link(node_from: &Link, node_to: &Link) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn unlink(node_from: &Link, node_to: &Link) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn unlink_all(node_from: &Link) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashDAG` is never constructed [INFO] [stdout] --> src/dag.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | struct HashDAG { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedIter` is never constructed [INFO] [stdout] --> src/dag.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | struct SortedIter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dag.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 332 | impl <'a, T> SortedIter<'a, T> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 333 | fn new(map: &'a HashMap>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/dag.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 386 | impl HashDAG where T: Clone + Hash + Eq + Display { [INFO] [stdout] | -------------------------------------------------------- associated items in this implementation [INFO] [stdout] 387 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | fn link(& mut self, o1: T, o2: T) -> & mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | fn unlink(&self, o1: &T, o2: &T) -> & Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | fn remove(& mut self, o: &T) -> & mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | fn flatten(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn sorted_iter(&self) -> SortedIter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | fn get_cycles(&self, first: bool) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | fn contains_cycle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn is_singly_linked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dag.rs:444:20 [INFO] [stdout] | [INFO] [stdout] 444 | fn sorted_iter(&self) -> SortedIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 444 | fn sorted_iter(&self) -> SortedIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_mut` is never used [INFO] [stdout] --> src/dag.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | trait Visitable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn visit_mut(&self, visitor: &mut V) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_island` is never used [INFO] [stdout] --> src/dag.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Node where T: Clone + Hash + Eq { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn is_island(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dag.rs:444:20 [INFO] [stdout] | [INFO] [stdout] 444 | fn sorted_iter(&self) -> SortedIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 444 | fn sorted_iter(&self) -> SortedIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "e847c3cdba3eb87416703376eba2021de3f72c6cea235db69dafcd281b523960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e847c3cdba3eb87416703376eba2021de3f72c6cea235db69dafcd281b523960", kill_on_drop: false }` [INFO] [stdout] e847c3cdba3eb87416703376eba2021de3f72c6cea235db69dafcd281b523960