Skip to content

Instantly share code, notes, and snippets.

@spastorino
Created January 23, 2019 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spastorino/31239f650e52047e9f436c97fa377ebd to your computer and use it in GitHub Desktop.
Save spastorino/31239f650e52047e9f436c97fa377ebd to your computer and use it in GitHub Desktop.
Updating only changed submodules
Submodules updated in 0.03 seconds
Finished dev [unoptimized] target(s) in 0.29s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.31s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.26s
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling rustc v0.0.0 (/home/santiago/src/oss/rust2/src/librustc)
error[E0432]: unresolved import `self::Place`
--> src/librustc/mir/mod.rs:2208:19
|
2208 | use self::Place::*;
| ^^^^^ could not find `Place` in `self`
error[E0433]: failed to resolve: could not find `Place` in `mir`
--> src/librustc/ich/impls_mir.rs:207:18
|
207 | mir::Place::Local(ref local) => {
| ^^^^^ could not find `Place` in `mir`
error[E0433]: failed to resolve: could not find `Place` in `mir`
--> src/librustc/ich/impls_mir.rs:210:18
|
210 | mir::Place::Static(ref statik) => {
| ^^^^^ could not find `Place` in `mir`
error[E0433]: failed to resolve: could not find `Place` in `mir`
--> src/librustc/ich/impls_mir.rs:213:18
|
213 | mir::Place::Promoted(ref promoted) => {
| ^^^^^ could not find `Place` in `mir`
error[E0433]: failed to resolve: could not find `Place` in `mir`
--> src/librustc/ich/impls_mir.rs:216:18
|
216 | mir::Place::Projection(ref place_projection) => {
| ^^^^^ could not find `Place` in `mir`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/tcx.rs:164:13
|
164 | Place::Local(index) =>
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/tcx.rs:166:13
|
166 | Place::Promoted(ref data) => PlaceTy::Ty { ty: data.1 },
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/tcx.rs:167:13
|
167 | Place::Static(ref data) =>
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/tcx.rs:169:13
|
169 | Place::Projection(ref proj) =>
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:747:21
|
747 | Place::Local(ref $($mutability)* local) => {
| ^^^^^ use of undeclared type or module `Place`
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:750:21
|
750 | Place::Static(ref $($mutability)* static_) => {
| ^^^^^ use of undeclared type or module `Place`
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:753:21
|
753 | Place::Promoted(ref $($mutability)* promoted) => {
| ^^^^^ use of undeclared type or module `Place`
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:756:21
|
756 | Place::Projection(ref $($mutability)* proj) => {
| ^^^^^ use of undeclared type or module `Place`
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:747:21
|
747 | Place::Local(ref $($mutability)* local) => {
| ^^^^^ use of undeclared type or module `Place`
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:750:21
|
750 | Place::Static(ref $($mutability)* static_) => {
| ^^^^^ use of undeclared type or module `Place`
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:753:21
|
753 | Place::Promoted(ref $($mutability)* promoted) => {
| ^^^^^ use of undeclared type or module `Place`
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/visit.rs:756:21
|
756 | Place::Projection(ref $($mutability)* proj) => {
| ^^^^^ use of undeclared type or module `Place`
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:1951:19
|
1951 | while let Place::Projection(proj) = p {
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:1959:13
|
1959 | Place::Projection(_) => unreachable!(),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:1961:13
|
1961 | Place::Local(local) => NeoPlace {
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:1966:13
|
1966 | Place::Static(static_) => NeoPlace {
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:1971:13
|
1971 | Place::Promoted(promoted) => NeoPlace {
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2093:9
|
2093 | Place::Projection(Box::new(PlaceProjection { base: self, elem }))
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2102:13
|
2102 | Place::Local(local) |
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2103:13
|
2103 | Place::Projection(box Projection {
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2104:23
|
2104 | base: Place::Local(local),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2114:13
|
2114 | Place::Local(local) => Some(*local),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2115:13
|
2115 | Place::Projection(box Projection { base, elem: _ }) => base.base_local(),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2116:13
|
2116 | Place::Promoted(..) | Place::Static(..) => None,
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:2116:35
|
2116 | Place::Promoted(..) | Place::Static(..) => None,
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:3476:14
|
3476 | &Place::Projection(ref p) => Place::Projection(p.fold_with(folder)),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:3476:42
|
3476 | &Place::Projection(ref p) => Place::Projection(p.fold_with(folder)),
| ^^^^^ use of undeclared type or module `Place`
error[E0433]: failed to resolve: use of undeclared type or module `Place`
--> src/librustc/mir/mod.rs:3482:17
|
3482 | if let &Place::Projection(ref p) = self {
| ^^^^^ use of undeclared type or module `Place`
error[E0412]: cannot find type `Place` in module `mir`
--> src/librustc/ich/impls_mir.rs:201:62
|
201 | impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for mir::Place<'gcx> {
| ^^^^^ not found in `mir`
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/tcx.rs:159:12
|
159 | impl<'tcx> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:100:54
|
100 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:139:63
|
139 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:148:53
|
148 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:154:54
|
154 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:442:53
|
442 | place: &$($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:719:63
|
719 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:733:53
|
733 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:743:54
|
743 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
969 | make_mir_visitor!(Visitor,);
| ---------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:100:54
|
100 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:139:63
|
139 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:148:53
|
148 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:154:54
|
154 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:442:53
|
442 | place: &$($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:719:63
|
719 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:733:53
|
733 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/visit.rs:743:54
|
743 | place: & $($mutability)* Place<'tcx>,
| ^^^^^ not found in this scope
...
970 | make_mir_visitor!(MutVisitor,mut);
| ---------------------------------- in this macro invocation
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:624:41
|
624 | pub opt_match_place: Option<(Option<Place<'tcx>>, Span)>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1093:19
|
1093 | location: Place<'tcx>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1125:19
|
1125 | location: Place<'tcx>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1141:30
|
1141 | destination: Option<(Place<'tcx>, BasicBlock)>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1756:12
|
1756 | Assign(Place<'tcx>, Box<Rvalue<'tcx>>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1765:29
|
1765 | FakeRead(FakeReadCause, Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1769:16
|
1769 | place: Place<'tcx>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1782:23
|
1782 | outputs: Box<[Place<'tcx>]>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1791:22
|
1791 | Retag(RetagKind, Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1805:21
|
1805 | AscribeUserType(Place<'tcx>, ty::Variance, Box<UserTypeProjection<'tcx>>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:1947:39
|
1947 | pub fn as_new_place(self, place: &Place<'tcx>) -> NeoPlace<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2054:51
|
2054 | pub type PlaceProjection<'tcx> = Projection<'tcx, Place<'tcx>, Local, Ty<'tcx>>;
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2075:12
|
2075 | impl<'tcx> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2076:51
|
2076 | pub fn field(self, f: Field, ty: Ty<'tcx>) -> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2080:27
|
2080 | pub fn deref(self) -> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2084:80
|
2084 | pub fn downcast(self, adt_def: &'tcx AdtDef, variant_index: VariantIdx) -> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2088:41
|
2088 | pub fn index(self, index: Local) -> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2092:49
|
2092 | pub fn elem(self, elem: PlaceElem<'tcx>) -> Place<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2206:22
|
2206 | impl<'tcx> Debug for Place<'tcx> {
| ^^^^^ not found in this scope
error[E0532]: expected tuple struct/variant, found struct `Local`
--> src/librustc/mir/mod.rs:2211:13
|
2211 | Local(id) => write!(fmt, "{:?}", id),
| ^^^^^ did you mean `Local { /* fields */ }`?
help: possible better candidates are found in other modules, you can import them into scope
|
5 | use hir::DeclKind::Local;
|
5 | use hir::Node::Local;
|
5 | use hir::def::Def::Local;
|
5 | use middle::liveness::VarKind::Local;
|
and 3 other candidates
error[E0532]: expected tuple struct/variant, found struct `Static`
--> src/librustc/mir/mod.rs:2212:13
|
2212 | Static(box self::Static { def_id, ty }) => write!(
| ^^^^^^ did you mean `Static { /* fields */ }`?
help: possible better candidates are found in other modules, you can import them into scope
|
5 | use hir::BodyOwnerKind::Static;
|
5 | use hir::ForeignItemKind::Static;
|
5 | use hir::ItemKind::Static;
|
5 | use hir::def::Def::Static;
|
and 5 other candidates
error[E0532]: expected tuple struct/variant, found struct `Promoted`
--> src/librustc/mir/mod.rs:2218:13
|
2218 | Promoted(ref promoted) => write!(fmt, "({:?}: {:?})", promoted.0, promoted.1),
| ^^^^^^^^ did you mean `Promoted { /* fields */ }`?
help: possible better candidate is found in another module, you can import it into scope
|
5 | use mir::PlaceBase::Promoted;
|
error[E0532]: expected tuple struct/variant, found struct `Projection`
--> src/librustc/mir/mod.rs:2219:13
|
2219 | Projection(ref data) => match data.elem {
| ^^^^^^^^^^ did you mean `Projection { /* fields */ }`?
help: possible better candidates are found in other modules, you can import them into scope
|
5 | use infer::region_constraints::GenericKind::Projection;
|
5 | use ty::Predicate::Projection;
|
5 | use ty::outlives::Component::Projection;
|
5 | use ty::sty::ExistentialPredicate::Projection;
|
and 1 other candidates
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2304:10
|
2304 | Copy(Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2311:10
|
2311 | Move(Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2369:35
|
2369 | Ref(Region<'tcx>, BorrowKind, Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2372:9
|
2372 | Len(Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:2386:18
|
2386 | Discriminant(Place<'tcx>),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/librustc/mir/mod.rs:3473:35
|
3473 | impl<'tcx> TypeFoldable<'tcx> for Place<'tcx> {
| ^^^^^ not found in this scope
error: unused import: `self::Place::*`
--> src/librustc/mir/mod.rs:2208:13
|
2208 | use self::Place::*;
| ^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
error[E0392]: parameter `'tcx` is never used
--> src/librustc/mir/mod.rs:608:27
|
608 | pub struct VarBindingForm<'tcx> {
| ^^^^ unused type parameter
|
= help: consider removing `'tcx` or using a marker such as `std::marker::PhantomData`
error[E0392]: parameter `'tcx` is never used
--> src/librustc/mir/mod.rs:630:22
|
630 | pub enum BindingForm<'tcx> {
| ^^^^ unused type parameter
|
= help: consider removing `'tcx` or using a marker such as `std::marker::PhantomData`
error: aborting due to 83 previous errors
Some errors occurred: E0392, E0412, E0432, E0433, E0532.
For more information about an error, try `rustc --explain E0392`.
error: Could not compile `rustc`.
To learn more, run the command again with --verbose.
command did not execute successfully: "/home/santiago/src/oss/rust2/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--features" "" "--manifest-path" "/home/santiago/src/oss/rust2/src/rustc/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
failed to run: /home/santiago/src/oss/rust2/build/bootstrap/debug/bootstrap build -i --stage 1 --keep-stage 1 src/libstd
Build completed unsuccessfully in 0:00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment