New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor core::iter module #56932

Open
wants to merge 17 commits into
base: master
from

Conversation

Projects
None yet
4 participants
@clarcharr
Copy link
Contributor

clarcharr commented Dec 17, 2018

A while back, I refactored core::ops in #42523 because the module had become a giant mess and was difficult to modify. Now, I'm doing the same with the core::iter module.

Like the core::ops refactor, things have been split up into multiple commits to make rebasing easier, and so that you can follow changes. Although the diffs are hard to decipher, the only actual code changes I've made in the first few commits are to modify exports and imports. I save all of the actual code refactoring, e.g. modifying what methods are called, for the end.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Dec 17, 2018

r? @bluss

(rust_highfive has picked a reviewer for you, use r? to override)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch 7 times, most recently from 63dcfa3 to 46ec648 Dec 17, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 17, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:158a2415:start=1545086431224463971,finish=1545086433431261879,duration=2206797908
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:03:48]    Compiling build_helper v0.1.0 (/checkout/src/build_helper)
[00:03:52] error[E0432]: unresolved import `iter::flatten_compat`
[00:03:52]   --> src/libcore/iter/traits/iterator.rs:16:30
[00:03:52]    |
[00:03:52] 16 | use iter::{Flatten, FlatMap, flatten_compat};
[00:03:52]    |                              ^^^^^^^^^^^^^^ no `flatten_compat` in `iter`
[00:03:52] 
[00:03:52] error[E0432]: unresolved imports `iter::ChainState`, `iter::ZipImpl`
[00:03:52]    |
[00:03:52]    |
[00:03:52] 19 | use iter::{ChainState, FromIterator, ZipImpl};
[00:03:52]    |            ^^^^^^^^^^                ^^^^^^^ no `ZipImpl` in `iter`
[00:03:52]    |            no `ChainState` in `iter`
[00:03:52] 
[00:03:52] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:52]     --> src/libcore/iter/adapters.rs:1733:21
[00:03:52]     --> src/libcore/iter/adapters.rs:1733:21
[00:03:52]      |
[00:03:52] 1733 |                     LoopState::from_try(fold(acc, x))
[00:03:52]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:52] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:52]     --> src/libcore/iter/adapters.rs:1736:21
[00:03:52]      |
[00:03:52]      |
[00:03:52] 1736 |                     LoopState::Break(Try::from_ok(acc))
[00:03:52]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:1875:29
[00:03:53]      |
[00:03:53]      |
[00:03:53] 1875 |                 if n == 0 { LoopState::Break(r) }
[00:03:53]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:1876:24
[00:03:53]      |
[00:03:53]      |
[00:03:53] 1876 |                 else { LoopState::from_try(r) }
[00:03:53]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:1957:30
[00:03:53]      |
[00:03:53]      |
[00:03:53] 1957 |                 if *n == 0 { LoopState::Break(r) }
[00:03:53]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:1958:24
[00:03:53]      |
[00:03:53]      |
[00:03:53] 1958 |                 else { LoopState::from_try(r) }
[00:03:53]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:2025:25
[00:03:53]      |
[00:03:53]      |
[00:03:53] 2025 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:53]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:53]     --> src/libcore/iter/adapters.rs:2026:28
[00:03:53]      |
[00:03:53]      |
[00:03:53] 2026 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:53]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:112:9
[00:03:53]     |
[00:03:53]     |
[00:03:53] 112 | impl<I> FusedIterator for Rev<I>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:113:14
[00:03:53]     |
[00:03:53] 113 |     where I: FusedIterator + DoubleEndedIterator {}
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:116:16
[00:03:53]     |
[00:03:53] 116 | unsafe impl<I> TrustedLen for Rev<I>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:117:14
[00:03:53]     |
[00:03:53] 117 |     where I: TrustedLen + DoubleEndedIterator {}
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:195:20
[00:03:53]     |
[00:03:53] 195 | impl<'a, I, T: 'a> FusedIterator for Cloned<I>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:196:14
[00:03:53]     |
[00:03:53] 196 |     where I: FusedIterator<Item=&'a T>, T: Clone
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:226:27
[00:03:53]     |
[00:03:53] 226 | unsafe impl<'a, I, T: 'a> TrustedLen for Cloned<I>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:227:14
[00:03:53]     |
[00:03:53] 227 |     where I: TrustedLen<Item=&'a T>,
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53]    Compiling compiler_builtins v0.1.2
[00:03:53]    Compiling cmake v0.1.33
[00:03:53]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:270:9
[00:03:53]     |
[00:03:53] 270 | impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:604:12
[00:03:53]     |
[00:03:53] 604 | impl<A, B> FusedIterator for Chain<A, B>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:605:14
[00:03:53]     |
[00:03:53] 605 |     where A: FusedIterator,
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:606:14
[00:03:53]     |
[00:03:53] 606 |           B: FusedIterator<Item=A::Item>,
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:610:19
[00:03:53]     |
[00:03:53] 610 | unsafe impl<A, B> TrustedLen for Chain<A, B>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:611:14
[00:03:53]     |
[00:03:53] 611 |     where A: TrustedLen, B: TrustedLen<Item=A::Item>,
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:611:29
[00:03:53]     |
[00:03:53] 611 |     where A: TrustedLen, B: TrustedLen<Item=A::Item>,
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::TrustedLen;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:864:12
[00:03:53]     |
[00:03:53] 864 | impl<A, B> FusedIterator for Zip<A, B>
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:53] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:53]    --> src/libcore/iter/adapters.rs:865:14
[00:03:53]     |
[00:03:53] 865 |     where A: FusedIterator, B: FusedIterator, {}
[00:03:53] help: possible candidate is found in another module, you can import it into scope
[00:03:53]     |
[00:03:53] 11  | use iter::traits::marker::FusedIterator;
[00:03:53]     |
[00:03:53]     |
[00:03:53] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]    --> src/libcore/iter/adapters.rs:865:32
[00:03:54]     |
[00:03:54] 865 |     where A: FusedIterator, B: FusedIterator, {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]     |
[00:03:54] 11  | use iter::traits::marker::FusedIterator;
[00:03:54]     |
[00:03:54]     |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]    --> src/libcore/iter/adapters.rs:868:19
[00:03:54]     |
[00:03:54] 868 | unsafe impl<A, B> TrustedLen for Zip<A, B>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]     |
[00:03:54] 11  | use iter::traits::marker::TrustedLen;
[00:03:54]     |
[00:03:54]     |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]    --> src/libcore/iter/adapters.rs:869:14
[00:03:54]     |
[00:03:54] 869 |     where A: TrustedLen, B: TrustedLen,
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]     |
[00:03:54] 11  | use iter::traits::marker::TrustedLen;
[00:03:54]     |
[00:03:54]     |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]    --> src/libcore/iter/adapters.rs:869:29
[00:03:54]     |
[00:03:54] 869 |     where A: TrustedLen, B: TrustedLen,
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]     |
[00:03:54] 11  | use iter::traits::marker::TrustedLen;
[00:03:54]     |
[00:03:54]     |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1006:30
[00:03:54]      |
[00:03:54] 1006 | impl<B, I: FusedIterator, F> FusedIterator for Map<I, F>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1006:12
[00:03:54]      |
[00:03:54] 1006 | impl<B, I: FusedIterator, F> FusedIterator for Map<I, F>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1010:22
[00:03:54]      |
[00:03:54] 1010 | unsafe impl<B, I, F> TrustedLen for Map<I, F>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::TrustedLen;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1011:14
[00:03:54]      |
[00:03:54] 1011 |     where I: TrustedLen,
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::TrustedLen;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1155:27
[00:03:54]      |
[00:03:54] 1155 | impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1155:9
[00:03:54]      |
[00:03:54] 1155 | impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1265:30
[00:03:54]      |
[00:03:54] 1265 | impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1265:12
[00:03:54]      |
[00:03:54] 1265 | impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1420:9
[00:03:54]      |
[00:03:54] 1420 | impl<I> FusedIterator for Enumerate<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1420:49
[00:03:54]      |
[00:03:54] 1420 | impl<I> FusedIterator for Enumerate<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1423:16
[00:03:54]      |
[00:03:54] 1423 | unsafe impl<I> TrustedLen for Enumerate<I>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::TrustedLen;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1424:14
[00:03:54]      |
[00:03:54] 1424 |     where I: TrustedLen,
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::TrustedLen;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1533:24
[00:03:54]      |
[00:03:54] 1533 | impl<I: FusedIterator> FusedIterator for Peekable<I> {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1533:9
[00:03:54]      |
[00:03:54] 1533 | impl<I: FusedIterator> FusedIterator for Peekable<I> {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1661:12
[00:03:54]      |
[00:03:54] 1661 | impl<I, P> FusedIterator for SkipWhile<I, P>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1662:14
[00:03:54]      |
[00:03:54] 1662 |     where I: FusedIterator, P: FnMut(&I::Item) -> bool {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1744:12
[00:03:54]      |
[00:03:54] 1744 | impl<I, P> FusedIterator for TakeWhile<I, P>
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1745:14
[00:03:54]      |
[00:03:54] 1745 |     where I: FusedIterator, P: FnMut(&I::Item) -> bool {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1883:9
[00:03:54]      |
[00:03:54] 1883 | impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1883:44
[00:03:54]      |
[00:03:54] 1883 | impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1968:9
[00:03:54]      |
[00:03:54] 1968 | impl<I> FusedIterator for Take<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1968:44
[00:03:54]      |
[00:03:54] 1968 | impl<I> FusedIterator for Take<I> where I: FusedIterator {}
[00:03:54] help: possible candidate is found in another module, you can import it into scope
[00:03:54]      |
[00:03:54] 11   | use iter::traits::marker::FusedIterator;
[00:03:54]      |
[00:03:54]      |
[00:03:54] 
[00:03:54] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:54]     --> src/libcore/iter/adapters.rs:1971:28
[00:03:54]      |
[00:03:54] 1971 | unsafe impl<I: TrustedLen> TrustedLen for Take<I> {}
---
[00:04:00] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:04:00] expected success, got: exit code: 101
[00:04:00] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:04:00] Build completed unsuccessfully in 0:00:14
[00:04:00] Makefile:28: recipe for target 'all' failed
[00:04:00] make: *** [all] Error 1
1226368 ./obj
1226328 ./obj/build
1119404 ./src
566780 ./obj/build/x86_64-unknown-linux-gnu
---
187088 ./obj/build/cache/2018-12-09
160388 ./obj/build/bootstrap/debug/incremental
153276 ./src/tools/clang
144288 ./obj/build/bootstrap/debug/incremental/bootstrap-2x7szixskz2uj
144284 ./obj/build/bootstrap/debug/incremental/bootstrap-2x7szixskz2uj/s-f7oqz62uwp-f7htl7-2sxk29axi4qzn
111164 ./obj/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends
107420 ./src/tools/lldb
95104 ./src/tools/clang/test
89964 ./src/llvm-emscripten/test/CodeGen

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch 2 times, most recently from 6ecb30d to 5ea4df3 Dec 17, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 17, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:0955e99c:start=1545088825812351678,finish=1545088826832701701,duration=1020350023
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:02:57]    Compiling unwind v0.0.0 (/checkout/src/libunwind)
[00:02:59] error[E0432]: unresolved import `iter::flatten_compat`
[00:02:59]   --> src/libcore/iter/traits/iterator.rs:16:30
[00:02:59]    |
[00:02:59] 16 | use iter::{Flatten, FlatMap, flatten_compat};
[00:02:59]    |                              ^^^^^^^^^^^^^^ no `flatten_compat` in `iter`
[00:02:59] 
[00:02:59] error[E0432]: unresolved imports `iter::ChainState`, `iter::ZipImpl`
[00:02:59]    |
[00:02:59]    |
[00:02:59] 19 | use iter::{ChainState, FromIterator, ZipImpl};
[00:02:59]    |            ^^^^^^^^^^                ^^^^^^^ no `ZipImpl` in `iter`
[00:02:59]    |            no `ChainState` in `iter`
[00:02:59] 
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1733:21
[00:02:59]     --> src/libcore/iter/adapters.rs:1733:21
[00:02:59]      |
[00:02:59] 1733 |                     LoopState::from_try(fold(acc, x))
[00:02:59]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1736:21
[00:02:59]      |
[00:02:59]      |
[00:02:59] 1736 |                     LoopState::Break(Try::from_ok(acc))
[00:02:59]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1875:29
[00:02:59]      |
[00:02:59]      |
[00:02:59] 1875 |                 if n == 0 { LoopState::Break(r) }
[00:02:59]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1876:24
[00:02:59]      |
[00:02:59]      |
[00:02:59] 1876 |                 else { LoopState::from_try(r) }
[00:02:59]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1957:30
[00:02:59]      |
[00:02:59]      |
[00:02:59] 1957 |                 if *n == 0 { LoopState::Break(r) }
[00:02:59]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:02:59] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:02:59]     --> src/libcore/iter/adapters.rs:1958:24
[00:02:59]      |
[00:02:59]      |
[00:02:59] 1958 |                 else { LoopState::from_try(r) }
[00:02:59]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:00] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:00]     --> src/libcore/iter/adapters.rs:2025:25
[00:03:00]      |
[00:03:00]      |
[00:03:00] 2025 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:00]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:00] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:00]     --> src/libcore/iter/adapters.rs:2026:28
[00:03:00]      |
[00:03:00]      |
[00:03:00] 2026 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:00]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:00]    Compiling compiler_builtins v0.1.2
[00:03:00]    Compiling cmake v0.1.33
[00:03:00]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:112:9
[00:03:00]     |
[00:03:00] 112 | impl<I> FusedIterator for Rev<I>
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:113:14
[00:03:00]     |
[00:03:00] 113 |     where I: FusedIterator + DoubleEndedIterator {}
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:116:16
[00:03:00]     |
[00:03:00] 116 | unsafe impl<I> TrustedLen for Rev<I>
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::TrustedLen;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:117:14
[00:03:00]     |
[00:03:00] 117 |     where I: TrustedLen + DoubleEndedIterator {}
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::TrustedLen;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:195:20
[00:03:00]     |
[00:03:00] 195 | impl<'a, I, T: 'a> FusedIterator for Cloned<I>
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:196:14
[00:03:00]     |
[00:03:00] 196 |     where I: FusedIterator<Item=&'a T>, T: Clone
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:226:27
[00:03:00]     |
[00:03:00] 226 | unsafe impl<'a, I, T: 'a> TrustedLen for Cloned<I>
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::TrustedLen;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:227:14
[00:03:00]     |
[00:03:00] 227 |     where I: TrustedLen<Item=&'a T>,
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::TrustedLen;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:270:9
[00:03:00]     |
[00:03:00] 270 | impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:00] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:00]    --> src/libcore/iter/adapters.rs:604:12
[00:03:00]     |
[00:03:00] 604 | impl<A, B> FusedIterator for Chain<A, B>
[00:03:00] help: possible candidate is found in another module, you can import it into scope
[00:03:00]     |
[00:03:00] 11  | use iter::traits::marker::FusedIterator;
[00:03:00]     |
[00:03:00]     |
[00:03:00] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:605:14
[00:03:01]     |
[00:03:01] 605 |     where A: FusedIterator,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::FusedIterator;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:606:14
[00:03:01]     |
[00:03:01] 606 |           B: FusedIterator<Item=A::Item>,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::FusedIterator;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:610:19
[00:03:01]     |
[00:03:01] 610 | unsafe impl<A, B> TrustedLen for Chain<A, B>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:611:14
[00:03:01]     |
[00:03:01] 611 |     where A: TrustedLen, B: TrustedLen<Item=A::Item>,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:611:29
[00:03:01]     |
[00:03:01] 611 |     where A: TrustedLen, B: TrustedLen<Item=A::Item>,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:864:12
[00:03:01]     |
[00:03:01] 864 | impl<A, B> FusedIterator for Zip<A, B>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::FusedIterator;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:865:14
[00:03:01]     |
[00:03:01] 865 |     where A: FusedIterator, B: FusedIterator, {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::FusedIterator;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:865:32
[00:03:01]     |
[00:03:01] 865 |     where A: FusedIterator, B: FusedIterator, {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::FusedIterator;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:868:19
[00:03:01]     |
[00:03:01] 868 | unsafe impl<A, B> TrustedLen for Zip<A, B>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:869:14
[00:03:01]     |
[00:03:01] 869 |     where A: TrustedLen, B: TrustedLen,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]    --> src/libcore/iter/adapters.rs:869:29
[00:03:01]     |
[00:03:01] 869 |     where A: TrustedLen, B: TrustedLen,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]     |
[00:03:01] 11  | use iter::traits::marker::TrustedLen;
[00:03:01]     |
[00:03:01]     |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1006:30
[00:03:01]      |
[00:03:01] 1006 | impl<B, I: FusedIterator, F> FusedIterator for Map<I, F>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1006:12
[00:03:01]      |
[00:03:01] 1006 | impl<B, I: FusedIterator, F> FusedIterator for Map<I, F>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1010:22
[00:03:01]      |
[00:03:01] 1010 | unsafe impl<B, I, F> TrustedLen for Map<I, F>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::TrustedLen;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1011:14
[00:03:01]      |
[00:03:01] 1011 |     where I: TrustedLen,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::TrustedLen;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1155:27
[00:03:01]      |
[00:03:01] 1155 | impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1155:9
[00:03:01]      |
[00:03:01] 1155 | impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1265:30
[00:03:01]      |
[00:03:01] 1265 | impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1265:12
[00:03:01]      |
[00:03:01] 1265 | impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1420:9
[00:03:01]      |
[00:03:01] 1420 | impl<I> FusedIterator for Enumerate<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1420:49
[00:03:01]      |
[00:03:01] 1420 | impl<I> FusedIterator for Enumerate<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1423:16
[00:03:01]      |
[00:03:01] 1423 | unsafe impl<I> TrustedLen for Enumerate<I>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::TrustedLen;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1424:14
[00:03:01]      |
[00:03:01] 1424 |     where I: TrustedLen,
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::TrustedLen;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1533:24
[00:03:01]      |
[00:03:01] 1533 | impl<I: FusedIterator> FusedIterator for Peekable<I> {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1533:9
[00:03:01]      |
[00:03:01] 1533 | impl<I: FusedIterator> FusedIterator for Peekable<I> {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1661:12
[00:03:01]      |
[00:03:01] 1661 | impl<I, P> FusedIterator for SkipWhile<I, P>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1662:14
[00:03:01]      |
[00:03:01] 1662 |     where I: FusedIterator, P: FnMut(&I::Item) -> bool {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1744:12
[00:03:01]      |
[00:03:01] 1744 | impl<I, P> FusedIterator for TakeWhile<I, P>
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1745:14
[00:03:01]      |
[00:03:01] 1745 |     where I: FusedIterator, P: FnMut(&I::Item) -> bool {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1883:9
[00:03:01]      |
[00:03:01] 1883 | impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1883:44
[00:03:01]      |
[00:03:01] 1883 | impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1968:9
[00:03:01]      |
[00:03:01] 1968 | impl<I> FusedIterator for Take<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `FusedIterator` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1968:44
[00:03:01]      |
[00:03:01] 1968 | impl<I> FusedIterator for Take<I> where I: FusedIterator {}
[00:03:01] help: possible candidate is found in another module, you can import it into scope
[00:03:01]      |
[00:03:01] 11   | use iter::traits::marker::FusedIterator;
[00:03:01]      |
[00:03:01]      |
[00:03:01] 
[00:03:01] error[E0405]: cannot find trait `TrustedLen` in this scope
[00:03:01]     --> src/libcore/iter/adapters.rs:1971:28
[00:03:01]      |
[00:03:01] 1971 | unsafe impl<I: TrustedLen> TrustedLen for Take<I> {}
---
[00:03:07] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:03:07] expected success, got: exit code: 101
[00:03:07] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:03:07] Build completed unsuccessfully in 0:00:15
[00:03:07] make: *** [all] Error 1
[00:03:07] Makefile:28: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1ed19c14
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Mon Dec 17 23:23:43 UTC 2018
---
travis_time:end:09ea80c8:start=1545089023727492192,finish=1545089023731221529,duration=3729337
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0e404aec
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0b15c1de
travis_time:start:0b15c1de
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:3506ceb6
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from 5ea4df3 to 3ef4a33 Dec 17, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 17, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:065e6897:start=1545089273722259309,finish=1545089274757273864,duration=1035014555
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:03:28]    Compiling unwind v0.0.0 (/checkout/src/libunwind)
[00:03:31] error[E0432]: unresolved import `iter::flatten_compat`
[00:03:31]   --> src/libcore/iter/traits/iterator.rs:16:30
[00:03:31]    |
[00:03:31] 16 | use iter::{Flatten, FlatMap, flatten_compat};
[00:03:31]    |                              ^^^^^^^^^^^^^^ no `flatten_compat` in `iter`
[00:03:31] 
[00:03:31] error[E0432]: unresolved imports `iter::ChainState`, `iter::ZipImpl`
[00:03:31]    |
[00:03:31]    |
[00:03:31] 19 | use iter::{ChainState, FromIterator, ZipImpl};
[00:03:31]    |            ^^^^^^^^^^                ^^^^^^^ no `ZipImpl` in `iter`
[00:03:31]    |            no `ChainState` in `iter`
[00:03:31] 
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1734:21
[00:03:32]     --> src/libcore/iter/adapters.rs:1734:21
[00:03:32]      |
[00:03:32] 1734 |                     LoopState::from_try(fold(acc, x))
[00:03:32]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1737:21
[00:03:32]      |
[00:03:32]      |
[00:03:32] 1737 |                     LoopState::Break(Try::from_ok(acc))
[00:03:32]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1876:29
[00:03:32]      |
[00:03:32]      |
[00:03:32] 1876 |                 if n == 0 { LoopState::Break(r) }
[00:03:32]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1877:24
[00:03:32]      |
[00:03:32]      |
[00:03:32] 1877 |                 else { LoopState::from_try(r) }
[00:03:32]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1958:30
[00:03:32]      |
[00:03:32]      |
[00:03:32] 1958 |                 if *n == 0 { LoopState::Break(r) }
[00:03:32]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:1959:24
[00:03:32]      |
[00:03:32]      |
[00:03:32] 1959 |                 else { LoopState::from_try(r) }
[00:03:32]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:2026:25
[00:03:32]      |
[00:03:32]      |
[00:03:32] 2026 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:32]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:32]     --> src/libcore/iter/adapters.rs:2027:28
[00:03:32]      |
[00:03:32]      |
[00:03:32] 2027 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:32]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:32] error[E0603]: trait `Iterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:322:23
[00:03:32]     |
[00:03:32]     |
[00:03:32] 322 | pub use self::traits::Iterator;
[00:03:32] 
[00:03:32] error[E0603]: trait `FromIterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:341:24
[00:03:32]     |
[00:03:32]     |
[00:03:32] 341 | pub use self::traits::{FromIterator, IntoIterator, DoubleEndedIterator, Extend};
[00:03:32] 
[00:03:32] error[E0603]: trait `IntoIterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:341:38
[00:03:32]     |
[00:03:32]     |
[00:03:32] 341 | pub use self::traits::{FromIterator, IntoIterator, DoubleEndedIterator, Extend};
[00:03:32] 
[00:03:32] error[E0603]: trait `DoubleEndedIterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:341:52
[00:03:32]     |
[00:03:32]     |
[00:03:32] 341 | pub use self::traits::{FromIterator, IntoIterator, DoubleEndedIterator, Extend};
[00:03:32] 
[00:03:32] error[E0603]: trait `Extend` is private
[00:03:32]    --> src/libcore/iter/mod.rs:341:73
[00:03:32]     |
[00:03:32]     |
[00:03:32] 341 | pub use self::traits::{FromIterator, IntoIterator, DoubleEndedIterator, Extend};
[00:03:32] 
[00:03:32] error[E0603]: trait `ExactSizeIterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:343:24
[00:03:32]     |
[00:03:32]     |
[00:03:32] 343 | pub use self::traits::{ExactSizeIterator, Sum, Product};
[00:03:32] 
[00:03:32] 
[00:03:32] error[E0603]: trait `Sum` is private
[00:03:32]     |
[00:03:32]     |
[00:03:32] 343 | pub use self::traits::{ExactSizeIterator, Sum, Product};
[00:03:32] 
[00:03:32] 
[00:03:32] error[E0603]: trait `Product` is private
[00:03:32]     |
[00:03:32]     |
[00:03:32] 343 | pub use self::traits::{ExactSizeIterator, Sum, Product};
[00:03:32] 
[00:03:32] error[E0603]: trait `FusedIterator` is private
[00:03:32]    --> src/libcore/iter/mod.rs:345:23
[00:03:32]     |
[00:03:32]     |
[00:03:32] 345 | pub use self::traits::FusedIterator;
[00:03:32] 
[00:03:32] 
[00:03:32] error[E0603]: trait `TrustedLen` is private
[00:03:32]     |
[00:03:32]     |
[00:03:32] 347 | pub use self::traits::TrustedLen;
[00:03:32] 
[00:03:32] error[E0603]: trait `Iterator` is private
[00:03:32]   --> src/libcore/iter/adapters.rs:17:21
[00:03:32]    |
[00:03:32]    |
[00:03:32] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:32] 
[00:03:32] error[E0603]: trait `DoubleEndedIterator` is private
[00:03:32]   --> src/libcore/iter/adapters.rs:17:31
[00:03:32]    |
[00:03:32]    |
[00:03:32] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:32] 
[00:03:32] error[E0603]: trait `ExactSizeIterator` is private
[00:03:32]   --> src/libcore/iter/adapters.rs:17:52
[00:03:32]    |
[00:03:32]    |
[00:03:32] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:32] 
[00:03:32] error[E0603]: trait `FusedIterator` is private
[00:03:32]   --> src/libcore/iter/adapters.rs:17:71
[00:03:32]    |
[00:03:32]    |
[00:03:32] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:32] 
[00:03:32] 
[00:03:32] error[E0603]: trait `TrustedLen` is private
[00:03:32]   --> src/libcore/iter/adapters.rs:17:86
[00:03:32]    |
[00:03:32] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:32] 
[00:03:33]    Compiling compiler_builtins v0.1.2
[00:03:33]    Compiling cmake v0.1.33
[00:03:33]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:33]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:33] warning: unused import: `ZipImpl`
[00:03:33]    |
[00:03:33]    |
[00:03:33] 19 | use iter::{ChainState, FromIterator, ZipImpl};
[00:03:33]    |
[00:03:33]    = note: #[warn(unused_imports)] on by default
[00:03:33] 
[00:03:35] error: aborting due to 25 previous errors
---
[00:03:36] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:03:36] expected success, got: exit code: 101
[00:03:36] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:03:36] Build completed unsuccessfully in 0:00:11
[00:03:36] Makefile:28: recipe for target 'all' failed
[00:03:36] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:230dfa74
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Mon Dec 17 23:31:40 UTC 2018
---
travis_time:end:017f28a3:start=1545089500835017952,finish=1545089500839933199,duration=4915247
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:1a7c9718
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:387321cc
travis_time:start:387321cc
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0057418f
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch 2 times, most recently from 64dc651 to 674d5b2 Dec 17, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 18, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:173572aa:start=1545091155148095993,finish=1545091156293016708,duration=1144920715
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/63/dc/c8bfd1bd77113c033161ce31730510d1c479cf9bcc8e99edf3c906f30cce/awscli-1.16.77-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 35.0MB/s eta 0:00:01
    1% |▌                               | 20kB 1.9MB/s eta 0:00:01
    2% |▊                               | 30kB 2.8MB/s eta 0:00:01
    2% |█                               | 40kB 1.9MB/s eta 0:00:01
---
[00:02:58]    Compiling build_helper v0.1.0 (/checkout/src/build_helper)
[00:03:01] error[E0432]: unresolved import `super::super::flatten_compat`
[00:03:01]   --> src/libcore/iter/traits/iterator.rs:16:38
[00:03:01]    |
[00:03:01] 16 | use super::super::{Flatten, FlatMap, flatten_compat};
[00:03:01]    |                                      ^^^^^^^^^^^^^^ no `flatten_compat` in `iter`
[00:03:01] 
[00:03:01] error[E0432]: unresolved imports `super::super::ChainState`, `super::super::ZipImpl`
[00:03:01]    |
[00:03:01]    |
[00:03:01] 19 | use super::super::{ChainState, FromIterator, ZipImpl};
[00:03:01]    |                    ^^^^^^^^^^                ^^^^^^^ no `ZipImpl` in `iter`
[00:03:01]    |                    no `ChainState` in `iter`
[00:03:01] 
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1734:21
[00:03:02]     --> src/libcore/iter/adapters.rs:1734:21
[00:03:02]      |
[00:03:02] 1734 |                     LoopState::from_try(fold(acc, x))
[00:03:02]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1737:21
[00:03:02]      |
[00:03:02]      |
[00:03:02] 1737 |                     LoopState::Break(Try::from_ok(acc))
[00:03:02]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1876:29
[00:03:02]      |
[00:03:02]      |
[00:03:02] 1876 |                 if n == 0 { LoopState::Break(r) }
[00:03:02]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1877:24
[00:03:02]      |
[00:03:02]      |
[00:03:02] 1877 |                 else { LoopState::from_try(r) }
[00:03:02]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1958:30
[00:03:02]      |
[00:03:02]      |
[00:03:02] 1958 |                 if *n == 0 { LoopState::Break(r) }
[00:03:02]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:1959:24
[00:03:02]      |
[00:03:02]      |
[00:03:02] 1959 |                 else { LoopState::from_try(r) }
[00:03:02]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:2026:25
[00:03:02]      |
[00:03:02]      |
[00:03:02] 2026 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:02]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:02]     --> src/libcore/iter/adapters.rs:2027:28
[00:03:02]      |
[00:03:02]      |
[00:03:02] 2027 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:02]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:02] 
[00:03:03] warning: unused import: `ZipImpl`
[00:03:03]    |
[00:03:03]    |
[00:03:03] 19 | use super::super::{ChainState, FromIterator, ZipImpl};
[00:03:03]    |
[00:03:03]    = note: #[warn(unused_imports)] on by default
[00:03:03] 
[00:03:03]    Compiling compiler_builtins v0.1.2
[00:03:03]    Compiling compiler_builtins v0.1.2
[00:03:03]    Compiling cmake v0.1.33
[00:03:03]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:06]    Compiling rustc_msan v0.0.0 (/checkout/src/librustc_msan)
[00:03:06]    Compiling rustc_tsan v0.0.0 (/checkout/src/librustc_tsan)
[00:03:07]    Compiling rustc_lsan v0.0.0 (/checkout/src/librustc_lsan)
[00:03:07]    Compiling rustc_asan v0.0.0 (/checkout/src/librustc_asan)
[00:03:11] error[E0599]: no function or associated item named `new` found for type `iter::adapters::Zip<_, _>` in the current scope
[00:03:11]     |
[00:03:11] 516 |         Zip::new(self, other.into_iter())
[00:03:11] 516 |         Zip::new(self, other.into_iter())
[00:03:11]     |         ^^^^^^^^ function or associated item not found in `iter::adapters::Zip<_, _>`
[00:03:11]    ::: src/libcore/iter/adapters.rs:625:1
[00:03:11]     |
[00:03:11]     |
[00:03:11] 625 | pub struct Zip<A, B> {
[00:03:11]     | -------------------- function or associated item `new` not found for this
[00:03:11]     = help: items from traits can only be used if the trait is implemented and in scope
[00:03:11]     = help: items from traits can only be used if the trait is implemented and in scope
[00:03:11]     = note: the following trait defines an item `new`, perhaps you need to implement it:
[00:03:11]             candidate #1: `iter::adapters::ZipImpl`
[00:03:14] error: aborting due to 11 previous errors
[00:03:14] 
[00:03:14] Some errors occurred: E0432, E0433, E0599.
[00:03:14] For more information about an error, try `rustc --explain E0432`.
[00:03:14] For more information about an error, try `rustc --explain E0432`.
[00:03:14] error: Could not compile `core`.
[00:03:14] 
[00:03:14] To learn more, run the command again with --verbose.
[00:03:14] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:03:14] expected success, got: exit code: 101
[00:03:14] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:03:14] Build completed unsuccessfully in 0:00:19
[00:03:14] make: *** [all] Error 1
[00:03:14] Makefile:28: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:109aa124
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Tue Dec 18 00:02:39 UTC 2018
---
travis_time:end:007ec368:start=1545091359948067883,finish=1545091359953964895,duration=5897012
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0079fbab
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:375da5aa
travis_time:start:375da5aa
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from 674d5b2 to 33948e4 Dec 18, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 18, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:03764f1f:start=1545091697349334428,finish=1545091698408246882,duration=1058912454
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/63/dc/c8bfd1bd77113c033161ce31730510d1c479cf9bcc8e99edf3c906f30cce/awscli-1.16.77-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 33.0MB/s eta 0:00:01
    1% |▌                               | 20kB 2.1MB/s eta 0:00:01
    2% |▊                               | 30kB 3.1MB/s eta 0:00:01
    2% |█                               | 40kB 2.0MB/s eta 0:00:01
---
[00:03:00]    Compiling unwind v0.0.0 (/checkout/src/libunwind)
[00:03:03] error[E0432]: unresolved import `super::super::flatten_compat`
[00:03:03]   --> src/libcore/iter/traits/iterator.rs:16:38
[00:03:03]    |
[00:03:03] 16 | use super::super::{Flatten, FlatMap, flatten_compat};
[00:03:03]    |                                      ^^^^^^^^^^^^^^ no `flatten_compat` in `iter`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1734:21
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1734 |                     LoopState::from_try(fold(acc, x))
[00:03:03]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1737:21
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1737 |                     LoopState::Break(Try::from_ok(acc))
[00:03:03]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1876:29
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1876 |                 if n == 0 { LoopState::Break(r) }
[00:03:03]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1877:24
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1877 |                 else { LoopState::from_try(r) }
[00:03:03]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1958:30
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1958 |                 if *n == 0 { LoopState::Break(r) }
[00:03:03]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:1959:24
[00:03:03]      |
[00:03:03]      |
[00:03:03] 1959 |                 else { LoopState::from_try(r) }
[00:03:03]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:2026:25
[00:03:03]      |
[00:03:03]      |
[00:03:03] 2026 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:03]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:03] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:03]     --> src/libcore/iter/adapters/mod.rs:2027:28
[00:03:03]      |
[00:03:03]      |
[00:03:03] 2027 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:03]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:05]    Compiling compiler_builtins v0.1.2
[00:03:05]    Compiling cmake v0.1.33
[00:03:05]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:08]    Compiling rustc_tsan v0.0.0 (/checkout/src/librustc_tsan)
---
[00:03:17] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:03:17] expected success, got: exit code: 101
[00:03:17] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:03:17] Build completed unsuccessfully in 0:00:20
[00:03:17] make: *** [all] Error 1
[00:03:17] Makefile:28: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0cdaf2da
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Tue Dec 18 00:11:44 UTC 2018
---
travis_time:end:02226aac:start=1545091904967708418,finish=1545091904972772687,duration=5064269
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:07db3074
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:136be67d
travis_time:start:136be67d
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:2a766824
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from 33948e4 to 6afd55b Dec 18, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 18, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:0751d4fa:start=1545092174472777421,finish=1545092175697933545,duration=1225156124
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/63/dc/c8bfd1bd77113c033161ce31730510d1c479cf9bcc8e99edf3c906f30cce/awscli-1.16.77-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 30.4MB/s eta 0:00:01
    1% |▌                               | 20kB 2.0MB/s eta 0:00:01
    2% |▊                               | 30kB 3.0MB/s eta 0:00:01
    2% |█                               | 40kB 2.1MB/s eta 0:00:01
---
[00:03:04]    Compiling unwind v0.0.0 (/checkout/src/libunwind)
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1734:21
[00:03:08]      |
[00:03:08] 1734 |                     LoopState::from_try(fold(acc, x))
[00:03:08]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1737:21
[00:03:08]      |
[00:03:08]      |
[00:03:08] 1737 |                     LoopState::Break(Try::from_ok(acc))
[00:03:08]      |                     ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1876:29
[00:03:08]      |
[00:03:08]      |
[00:03:08] 1876 |                 if n == 0 { LoopState::Break(r) }
[00:03:08]      |                             ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1877:24
[00:03:08]      |
[00:03:08]      |
[00:03:08] 1877 |                 else { LoopState::from_try(r) }
[00:03:08]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1958:30
[00:03:08]      |
[00:03:08]      |
[00:03:08] 1958 |                 if *n == 0 { LoopState::Break(r) }
[00:03:08]      |                              ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:1959:24
[00:03:08]      |
[00:03:08]      |
[00:03:08] 1959 |                 else { LoopState::from_try(r) }
[00:03:08]      |                        ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:2026:25
[00:03:08]      |
[00:03:08]      |
[00:03:08] 2026 |                 None => LoopState::Break(Try::from_ok(acc)),
[00:03:08]      |                         ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:08] error[E0433]: failed to resolve: use of undeclared type or module `LoopState`
[00:03:08]     --> src/libcore/iter/adapters/mod.rs:2027:28
[00:03:08]      |
[00:03:08]      |
[00:03:08] 2027 |                 Some(x) => LoopState::from_try(fold(acc, x)),
[00:03:08]      |                            ^^^^^^^^^ use of undeclared type or module `LoopState`
[00:03:09]    Compiling compiler_builtins v0.1.2
[00:03:09]    Compiling cmake v0.1.33
[00:03:09]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:13]    Compiling rustc_tsan v0.0.0 (/checkout/src/librustc_tsan)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch 5 times, most recently from f3f6f6d to a7f5ef3 Dec 18, 2018

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Dec 18, 2018

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:0cc15788:start=1545093553521921823,finish=1545093554638029412,duration=1116107589
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/63/dc/c8bfd1bd77113c033161ce31730510d1c479cf9bcc8e99edf3c906f30cce/awscli-1.16.77-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 37.6MB/s eta 0:00:01
    1% |▌                               | 20kB 1.9MB/s eta 0:00:01
    2% |▊                               | 30kB 2.8MB/s eta 0:00:01
    2% |█                               | 40kB 2.0MB/s eta 0:00:01
---
[00:03:17]    Compiling core v0.0.0 (/checkout/src/libcore)
[00:03:17]    Compiling libc v0.2.45
[00:03:17]    Compiling unwind v0.0.0 (/checkout/src/libunwind)
[00:03:18]    Compiling build_helper v0.1.0 (/checkout/src/build_helper)
[00:03:21] error[E0432]: unresolved import `super::super::ZipImpl`
[00:03:21]    |
[00:03:21]    |
[00:03:21] 19 | use super::super::{FromIterator, ZipImpl};
[00:03:21]    |                                  ^^^^^^^ no `ZipImpl` in `iter`
[00:03:21] error[E0432]: unresolved import `super::traits`
[00:03:21]   --> src/libcore/iter/adapters/chain.rs:17:12
[00:03:21]    |
[00:03:21]    |
[00:03:21] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:21]    |            ^^^^^^ could not find `traits` in `super`
[00:03:21] 
[00:03:21] error[E0365]: `ZipImpl` is private, and cannot be re-exported
[00:03:21]   --> src/libcore/iter/adapters/mod.rs:24:26
[00:03:21]    |
[00:03:21] 24 | pub use self::zip::{Zip, ZipImpl};
[00:03:21]    |                          ^^^^^^^ re-export of private `ZipImpl`
[00:03:21]    |
[00:03:21]    = note: consider declaring type or module `ZipImpl` with `pub`
[00:03:21] error[E0432]: unresolved import `super::traits`
[00:03:21]   --> src/libcore/iter/adapters/zip.rs:13:12
[00:03:21]    |
[00:03:21]    |
[00:03:21] 13 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:21]    |            ^^^^^^ could not find `traits` in `super`
[00:03:23]    Compiling compiler_builtins v0.1.2
[00:03:23]    Compiling cmake v0.1.33
[00:03:23]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:23]    Compiling std v0.0.0 (/checkout/src/libstd)
[00:03:23] warning: unused import: `ZipImpl`
[00:03:23]    |
[00:03:23]    |
[00:03:23] 19 | use super::super::{FromIterator, ZipImpl};
[00:03:23]    |
[00:03:23]    = note: #[warn(unused_imports)] on by default
[00:03:23] 
[00:03:23] warning: unused import: `cmp`
---
[00:03:23] 
[00:03:23] warning: unused import: `ExactSizeIterator`
[00:03:23]   --> src/libcore/iter/adapters/chain.rs:17:52
[00:03:23]    |
[00:03:23] 17 | use super::traits::{Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, TrustedLen};
[00:03:23] 
[00:03:23] warning: unused import: `super::LoopState`
[00:03:23]   --> src/libcore/iter/adapters/chain.rs:18:5
[00:03:23]    |
---
10820 ./src/tools/lldb/unittests
10508 ./src/llvm/test/MC/AMDGPU
10332 ./src/tools/clang/include
10188 ./obj/build/x86_64-unknown-linux-gnu/stage0-std/release/build
10140 ./src/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem
10012 ./src/llvm-emscripten/test/MC/AMDGPU
9904 ./.git/modules/src/doc
travis_time:end:037e1333:start=1545093769871035329,finish=1545093770236838396,duration=365803067
travis_fold:end:after_failure.1
---
travis_time:end:107522f4:start=1545093770252379577,finish=1545093770258477212,duration=6097635
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:1e17e2a8
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:07670166
travis_time:start:07670166
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0827de1a
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from a7f5ef3 to c7105d3 Dec 18, 2018

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 26, 2018

☔️ The latest upstream changes (presumably #57108) made this pull request unmergeable. Please resolve the merge conflicts.

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from d92a66b to 98d86a3 Dec 26, 2018

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 26, 2018

☔️ The latest upstream changes (presumably #56534) made this pull request unmergeable. Please resolve the merge conflicts.

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from 98d86a3 to b160fd3 Dec 27, 2018

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 27, 2018

☔️ The latest upstream changes (presumably #57133) made this pull request unmergeable. Please resolve the merge conflicts.

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from b160fd3 to 98c22d8 Dec 28, 2018

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from 98c22d8 to f698c16 Jan 5, 2019

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from f698c16 to c5dbcb8 Jan 10, 2019

@clarcharr

This comment has been minimized.

Copy link
Contributor

clarcharr commented Jan 10, 2019

@bluss do you think you'll have time to review this soon? I'm going to be rebasing on #55045 once that's done but after that this will be ready to merge.

Would rather get this merged sooner to avoid conflicts with other PRs.

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 13, 2019

☔️ The latest upstream changes (presumably #57577) made this pull request unmergeable. Please resolve the merge conflicts.

@clarcharr clarcharr force-pushed the clarcharr:iter_refactor branch from c5dbcb8 to fdaa15c Jan 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment