[INFO] fetching crate fin-part-ord 0.1.0... [INFO] testing fin-part-ord-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fin-part-ord 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate fin-part-ord 0.1.0 [INFO] finished tweaking crates.io crate fin-part-ord 0.1.0 [INFO] tweaked toml for crates.io crate fin-part-ord 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fin-part-ord 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding daggy v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded daggy v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c97f1fd03e661fd03c5cadf5ecb913b9695ef096a8490e89ea6fac415e808f0 [INFO] running `Command { std: "docker" "start" "-a" "6c97f1fd03e661fd03c5cadf5ecb913b9695ef096a8490e89ea6fac415e808f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c97f1fd03e661fd03c5cadf5ecb913b9695ef096a8490e89ea6fac415e808f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c97f1fd03e661fd03c5cadf5ecb913b9695ef096a8490e89ea6fac415e808f0", kill_on_drop: false }` [INFO] [stdout] 6c97f1fd03e661fd03c5cadf5ecb913b9695ef096a8490e89ea6fac415e808f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e619b52f626f081365d6051f73be19e4584e7e39edd515c9843a748c399c729 [INFO] running `Command { std: "docker" "start" "-a" "6e619b52f626f081365d6051f73be19e4584e7e39edd515c9843a748c399c729", kill_on_drop: false }` [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling daggy v0.8.1 [INFO] [stderr] Compiling fin-part-ord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dag::*` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use dag::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/dag.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/pairs.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Dag: petgraph::visit::Visitable` is not satisfied [INFO] [stdout] --> src/dag.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dfs = Dfs::new(&self.dag, *lo_idx); [INFO] [stdout] | -------- ^^^^^^^^ the trait `petgraph::visit::Visitable` is not implemented for `Dag` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `petgraph` in the dependency graph [INFO] [stdout] | [INFO] [stdout] ::: src/dag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use daggy::{Dag, NodeIndex, WouldCycle}; [INFO] [stdout] | ----- one version of crate `petgraph` used here, as a dependency of crate `daggy` [INFO] [stdout] 5 | use petgraph::visit::Dfs; [INFO] [stdout] | -------- one version of crate `petgraph` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/daggy-0.8.1/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Dag { [INFO] [stdout] | ----------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.7.1/src/visit/dfsvisit.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait ControlFlow { [INFO] [stdout] | --------------------- this is the found trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/mod.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | / trait_template! { [INFO] [stdout] 429 | | /// A graph that can create a map that tracks the visited status of its nodes. [INFO] [stdout] 430 | | #[allow(clippy::needless_arbitrary_self_type)] [INFO] [stdout] 431 | | pub trait Visitable : GraphBase { [INFO] [stdout] ... | [INFO] [stdout] 441 | | } [INFO] [stdout] | |_^ this is the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&Dag` to implement `petgraph::visit::Visitable` [INFO] [stdout] note: required by a bound in `petgraph::visit::Dfs::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/traversal.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(graph: G, start: N) -> Self [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 64 | where [INFO] [stdout] 65 | G: GraphRef + Visitable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Dfs::::new` [INFO] [stdout] = note: this error originates in the macro `trait_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Dag: petgraph::visit::IntoNeighbors` is not satisfied [INFO] [stdout] --> src/dag.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | while let Some(n) = dfs.next(&self.dag) { [INFO] [stdout] | ---- ^^^^^^^^ the trait `petgraph::visit::IntoNeighbors` is not implemented for `Dag` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `petgraph` in the dependency graph [INFO] [stdout] | [INFO] [stdout] ::: src/dag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use daggy::{Dag, NodeIndex, WouldCycle}; [INFO] [stdout] | ----- one version of crate `petgraph` used here, as a dependency of crate `daggy` [INFO] [stdout] 5 | use petgraph::visit::Dfs; [INFO] [stdout] | -------- one version of crate `petgraph` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/daggy-0.8.1/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Dag { [INFO] [stdout] | ----------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.7.1/src/visit/dfsvisit.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait ControlFlow { [INFO] [stdout] | --------------------- this is the found trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / trait_template! { [INFO] [stdout] 109 | | /// Access to the neighbors of each node [INFO] [stdout] 110 | | /// [INFO] [stdout] 111 | | /// The neighbors are, depending on the graph’s edge type: [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ this is the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&Dag` to implement `petgraph::visit::IntoNeighbors` [INFO] [stdout] note: required by a bound in `petgraph::visit::Dfs::::next` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/traversal.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn next(&mut self, graph: G) -> Option [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 106 | where [INFO] [stdout] 107 | G: IntoNeighbors, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Dfs::::next` [INFO] [stdout] = note: this error originates in the macro `trait_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fin-part-ord` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e619b52f626f081365d6051f73be19e4584e7e39edd515c9843a748c399c729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e619b52f626f081365d6051f73be19e4584e7e39edd515c9843a748c399c729", kill_on_drop: false }` [INFO] [stdout] 6e619b52f626f081365d6051f73be19e4584e7e39edd515c9843a748c399c729