[INFO] cloning repository https://github.com/thomcc/mentat-places-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomcc/mentat-places-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomcc%2Fmentat-places-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomcc%2Fmentat-places-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd6226829a7871b84dee305728c4eb739233ef44 [INFO] testing thomcc/mentat-places-test against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomcc%2Fmentat-places-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomcc/mentat-places-test on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomcc/mentat-places-test [INFO] finished tweaking git repo https://github.com/thomcc/mentat-places-test [INFO] tweaked toml for git repo https://github.com/thomcc/mentat-places-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomcc/mentat-places-test 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/mozilla/mentat.git` [INFO] [stderr] Updating git repository `https://github.com/rnewman/enum-set` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing thomcc/mentat-places-test against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomcc%2Fmentat-places-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomcc/mentat-places-test on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomcc/mentat-places-test [INFO] finished tweaking git repo https://github.com/thomcc/mentat-places-test [INFO] tweaked toml for git repo https://github.com/thomcc/mentat-places-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomcc/mentat-places-test 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.13.0 [INFO] [stderr] Downloaded dirs v1.0.3 [INFO] [stderr] Downloaded find-places-db v0.1.0 [INFO] [stderr] Downloaded peg v0.5.4 [INFO] [stderr] Downloaded tabwriter v1.0.4 [INFO] [stderr] Downloaded serde_cbor v0.8.2 [INFO] [stderr] Downloaded serde_json v1.0.14 [INFO] [stderr] Downloaded serde v1.0.38 [INFO] [stderr] Downloaded cc v1.0.10 [INFO] [stderr] Downloaded proc-macro2 v0.3.6 [INFO] [stderr] Downloaded hyper v0.11.25 [INFO] [stderr] Downloaded petgraph v0.4.12 [INFO] [stderr] Downloaded serde_derive v1.0.38 [INFO] [stderr] Downloaded tokio-timer v0.2.1 [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded pretty v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a14ade9a6662344dbf4f1e30f602ca8e90281a363bf50f8d7c267a5e9485d123 [INFO] running `Command { std: "docker" "start" "-a" "a14ade9a6662344dbf4f1e30f602ca8e90281a363bf50f8d7c267a5e9485d123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a14ade9a6662344dbf4f1e30f602ca8e90281a363bf50f8d7c267a5e9485d123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a14ade9a6662344dbf4f1e30f602ca8e90281a363bf50f8d7c267a5e9485d123", kill_on_drop: false }` [INFO] [stdout] a14ade9a6662344dbf4f1e30f602ca8e90281a363bf50f8d7c267a5e9485d123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 678a485729bc8b0268d9e001601cc6cdb04f0f294230798dc1aec08ba9123b0c [INFO] running `Command { std: "docker" "start" "-a" "678a485729bc8b0268d9e001601cc6cdb04f0f294230798dc1aec08ba9123b0c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling typed-arena v1.3.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling peg v0.5.4 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling pretty v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling enum-set v0.0.6 (https://github.com/rnewman/enum-set#35f2699f) [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling tabwriter v1.0.4 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling edn v0.1.0 (https://github.com/mozilla/mentat.git?tag=v0.11.0#65e9822a) [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling scoped-tls v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-timer v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling petgraph v0.4.12 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling mentat v0.11.0 (https://github.com/mozilla/mentat.git?tag=v0.11.0#65e9822a) [INFO] [stderr] Compiling tokio v0.1.5 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/graph_impl/stable_graph/mod.rs:1171:19 [INFO] [stdout] | [INFO] [stdout] 1171 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1171 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1172 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1173 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1171 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1172 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1173 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/graph_impl/stable_graph/mod.rs:1363:19 [INFO] [stdout] | [INFO] [stdout] 1363 | self.iter.find_map(|(i, edge)| [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1363 ~ Iterator::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1364 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1365 + EdgeReference { [INFO] [stdout] 1366 + index: edge_index(i), [INFO] [stdout] 1367 + node: edge.node, [INFO] [stdout] 1368 + weight: weight, [INFO] [stdout] 1369 + } [INFO] [stdout] 1370 + })) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1363 ~ IterUtilsExt::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1364 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1365 + EdgeReference { [INFO] [stdout] 1366 + index: edge_index(i), [INFO] [stdout] 1367 + node: edge.node, [INFO] [stdout] 1368 + weight: weight, [INFO] [stdout] 1369 + } [INFO] [stdout] 1370 + })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/graph_impl/stable_graph/mod.rs:1527:19 [INFO] [stdout] | [INFO] [stdout] 1527 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1527 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1528 + if node.weight.is_some() { [INFO] [stdout] 1529 + Some(node_index(i)) [INFO] [stdout] 1530 + } else { None } [INFO] [stdout] 1531 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1527 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1528 + if node.weight.is_some() { [INFO] [stdout] 1529 + Some(node_index(i)) [INFO] [stdout] 1530 + } else { None } [INFO] [stdout] 1531 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/graph_impl/stable_graph/mod.rs:1573:19 [INFO] [stdout] | [INFO] [stdout] 1573 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.12/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1573 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1574 + if node.weight.is_some() { [INFO] [stdout] 1575 + Some(edge_index(i)) [INFO] [stdout] 1576 + } else { None } [INFO] [stdout] 1577 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1573 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1574 + if node.weight.is_some() { [INFO] [stdout] 1575 + Some(edge_index(i)) [INFO] [stdout] 1576 + } else { None } [INFO] [stdout] 1577 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "678a485729bc8b0268d9e001601cc6cdb04f0f294230798dc1aec08ba9123b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678a485729bc8b0268d9e001601cc6cdb04f0f294230798dc1aec08ba9123b0c", kill_on_drop: false }` [INFO] [stdout] 678a485729bc8b0268d9e001601cc6cdb04f0f294230798dc1aec08ba9123b0c