Skip to content

Instantly share code, notes, and snippets.

@eholk
Last active September 9, 2022 20:50
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 eholk/614d0c37e0e2f60cca376aab65294ea9 to your computer and use it in GitHub Desktop.
Save eholk/614d0c37e0e2f60cca376aab65294ea9 to your computer and use it in GitHub Desktop.
[BUILD] y.rs
[BUILD] rustc_codegen_cranelift
Compiling rustc_codegen_cranelift v0.1.0 (/home/ericholk/repo/rust/compiler/rustc_codegen_cranelift)
error[E0463]: can't find crate for `jobserver`
--> src/lib.rs:7:1
|
7 | extern crate jobserver;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `rustc_middle`
--> src/lib.rs:9:1
|
9 | extern crate rustc_middle;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_ast`
--> src/lib.rs:10:1
|
10 | extern crate rustc_ast;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_codegen_ssa`
--> src/lib.rs:11:1
|
11 | extern crate rustc_codegen_ssa;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_data_structures`
--> src/lib.rs:12:1
|
12 | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_errors`
--> src/lib.rs:13:1
|
13 | extern crate rustc_errors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_fs_util`
--> src/lib.rs:14:1
|
14 | extern crate rustc_fs_util;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_hir`
--> src/lib.rs:15:1
|
15 | extern crate rustc_hir;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_incremental`
--> src/lib.rs:16:1
|
16 | extern crate rustc_incremental;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_index`
--> src/lib.rs:17:1
|
17 | extern crate rustc_index;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_interface`
--> src/lib.rs:18:1
|
18 | extern crate rustc_interface;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_metadata`
--> src/lib.rs:19:1
|
19 | extern crate rustc_metadata;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_session`
--> src/lib.rs:20:1
|
20 | extern crate rustc_session;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_span`
--> src/lib.rs:21:1
|
21 | extern crate rustc_span;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_target`
--> src/lib.rs:22:1
|
22 | extern crate rustc_target;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_driver`
--> src/lib.rs:26:1
|
26 | extern crate rustc_driver;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0460]: found possibly newer version of crate `core` which `cranelift_module` depends on
--> src/debuginfo/object.rs:3:5
|
3 | use cranelift_module::FuncId;
| ^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_module`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_module-7a8810e8df08569d.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_object` depends on
--> src/debuginfo/object.rs:4:5
|
4 | use cranelift_object::ObjectProduct;
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:6:5
|
6 | use object::write::{Relocation, StandardSegment};
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:7:5
|
7 | use object::{RelocationEncoding, SectionKind};
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/object.rs:9:5
|
9 | use gimli::SectionId;
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/optimize/peephole.rs:3:5
|
3 | use cranelift_codegen::ir::{condcodes::IntCC, InstructionData, Opcode, Value, ValueDef};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_frontend` depends on
--> src/optimize/peephole.rs:4:5
|
4 | use cranelift_frontend::FunctionBuilder;
| ^^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_frontend`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_frontend-db7e8a3754d6dd19.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/archive.rs:11:5
|
11 | use object::read::archive::ArchiveFile;
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/archive.rs:12:5
|
12 | use object::{Object, ObjectSymbol, ReadCache};
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_object` depends on
--> src/debuginfo/emit.rs:3:5
|
3 | use cranelift_object::ObjectProduct;
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:6:5
|
6 | use gimli::write::{Address, AttributeValue, EndianVec, Result, Sections, Writer};
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:7:5
|
7 | use gimli::{RunTimeEndian, SectionId};
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:42:5
|
42 | use cranelift_codegen::isa::TargetIsa;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:43:5
|
43 | use cranelift_codegen::settings::{self, Configurable};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/abi/comments.rs:9:5
|
9 | use cranelift_codegen::entity::EntityRef;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/abi/pass_mode.rs:6:5
|
6 | use cranelift_codegen::ir::{ArgumentExtension, ArgumentPurpose};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `smallvec` depends on
--> src/abi/pass_mode.rs:10:5
|
10 | use smallvec::{smallvec, SmallVec};
| ^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `smallvec`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libsmallvec-5028a42d13079573.rlib
error[E0460]: found possibly newer version of crate `core` which `smallvec` depends on
--> src/abi/returning.rs:6:5
|
6 | use smallvec::{smallvec, SmallVec};
| ^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `smallvec`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libsmallvec-5028a42d13079573.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_module` depends on
--> src/abi/mod.rs:7:5
|
7 | use cranelift_module::ModuleError;
| ^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_module`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_module-7a8810e8df08569d.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/abi/mod.rs:13:5
|
13 | use cranelift_codegen::ir::{AbiParam, SigRef};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/codegen_i128.rs:3:5
|
3 | use cranelift_codegen::ir::ArgumentPurpose;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/common.rs:1:5
|
1 | use cranelift_codegen::isa::TargetFrontendConfig;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/common.rs:2:5
|
2 | use gimli::write::FileId;
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/constant.rs:11:5
|
11 | use cranelift_codegen::ir::GlobalValueData;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_module` depends on
--> src/constant.rs:12:5
|
12 | use cranelift_module::*;
| ^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_module`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_module-7a8810e8df08569d.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/line_info.rs:14:5
|
14 | use cranelift_codegen::binemit::CodeOffset;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/line_info.rs:15:5
|
15 | use cranelift_codegen::MachSrcLoc;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/line_info.rs:17:5
|
17 | use gimli::write::{
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/unwind.rs:5:5
|
5 | use cranelift_codegen::ir::Endianness;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/unwind.rs:6:5
|
6 | use cranelift_codegen::isa::{unwind::UnwindInfo, TargetIsa};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_object` depends on
--> src/debuginfo/unwind.rs:8:5
|
8 | use cranelift_object::ObjectProduct;
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/unwind.rs:9:5
|
9 | use gimli::write::{Address, CieId, EhFrame, FrameTable, Section};
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/unwind.rs:10:5
|
10 | use gimli::RunTimeEndian;
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/mod.rs:10:5
|
10 | use cranelift_codegen::ir::Endianness;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/mod.rs:11:5
|
11 | use cranelift_codegen::isa::TargetIsa;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:13:5
|
13 | use gimli::write::{
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:17:5
|
17 | use gimli::{Encoding, Format, LineEncoding, RunTimeEndian};
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `indexmap` depends on
--> src/debuginfo/mod.rs:18:5
|
18 | use indexmap::IndexSet;
| ^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `indexmap`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libindexmap-14ff5df45819aa31.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_object` depends on
--> src/driver/aot.rs:20:5
|
20 | use cranelift_object::{ObjectBuilder, ObjectModule};
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `cranelift_jit` depends on
--> src/driver/jit.rs:14:5
|
14 | use cranelift_jit::{JITBuilder, JITModule};
| ^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `once_cell` depends on
--> src/driver/jit.rs:17:5
|
17 | use once_cell::sync::OnceCell;
| ^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/driver/jit.rs:321:13
|
321 | use object::{Object, ObjectSymbol};
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/intrinsics/mod.rs:27:5
|
27 | use cranelift_codegen::ir::AtomicRmwOp;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0432]: unresolved imports `cranelift_codegen::isa::TargetIsa`, `cranelift_codegen::settings`, `cranelift_codegen::settings::Configurable`, `cranelift_codegen::entity::EntityRef`, `cranelift_codegen::ir::ArgumentExtension`, `cranelift_codegen::ir::ArgumentPurpose`, `smallvec::smallvec`, `smallvec::SmallVec`, `smallvec::smallvec`, `smallvec::SmallVec`, `cranelift_module::ModuleError`, `cranelift_codegen::ir::AbiParam`, `cranelift_codegen::ir::SigRef`, `cranelift_codegen::ir::ArgumentPurpose`, `cranelift_codegen::isa::TargetFrontendConfig`, `gimli::write::FileId`, `cranelift_codegen::ir::GlobalValueData`, `cranelift_module::*`, `super::DebugContext`, `crate::debuginfo::FunctionDebugContext`, `cranelift_codegen::binemit::CodeOffset`, `cranelift_codegen::MachSrcLoc`, `gimli::write::Address`, `gimli::write::AttributeValue`, `gimli::write::FileId`, `gimli::write::FileInfo`, `gimli::write::LineProgram`, `gimli::write::LineString`, `gimli::write::LineStringTable`, `crate::debuginfo::DebugReloc`, `crate::debuginfo::DebugRelocName`, `cranelift_codegen::ir::Endianness`, `cranelift_codegen::isa::unwind::UnwindInfo`, `cranelift_codegen::isa::TargetIsa`, `cranelift_object::ObjectProduct`, `gimli::write::Address`, `gimli::write::CieId`, `gimli::write::EhFrame`, `gimli::write::FrameTable`, `gimli::write::Section`, `gimli::RunTimeEndian`, `cranelift_codegen::ir::Endianness`, `cranelift_codegen::isa::TargetIsa`, `gimli::write::Address`, `gimli::write::AttributeValue`, `gimli::write::DwarfUnit`, `gimli::write::FileId`, `gimli::write::LineProgram`, `gimli::write::LineString`, `gimli::write::Range`, `gimli::write::RangeList`, `gimli::write::UnitEntryId`, `gimli::Encoding`, `gimli::Format`, `gimli::LineEncoding`, `gimli::RunTimeEndian`, `indexmap::IndexSet`, `cranelift_object::ObjectBuilder`, `cranelift_object::ObjectModule`, `crate::BackendConfig`, `cranelift_jit::JITBuilder`, `cranelift_jit::JITModule`, `once_cell::sync::OnceCell`, `crate::BackendConfig`, `crate::CodegenCx`, `crate::CodegenMode`, `object::Object`, `object::ObjectSymbol`, `cranelift_codegen::ir::AtomicRmwOp`, `BinOp`
--> src/lib.rs:42:5
|
42 | use cranelift_codegen::isa::TargetIsa;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 | use cranelift_codegen::settings::{self, Configurable};
| ^^^^ ^^^^^^^^^^^^
|
::: src/abi/mod.rs:7:5
|
7 | use cranelift_module::ModuleError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
13 | use cranelift_codegen::ir::{AbiParam, SigRef};
| ^^^^^^^^ ^^^^^^
|
::: src/abi/comments.rs:9:5
|
9 | use cranelift_codegen::entity::EntityRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/abi/pass_mode.rs:6:29
|
6 | use cranelift_codegen::ir::{ArgumentExtension, ArgumentPurpose};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
...
10 | use smallvec::{smallvec, SmallVec};
| ^^^^^^^^ ^^^^^^^^
|
::: src/abi/returning.rs:6:16
|
6 | use smallvec::{smallvec, SmallVec};
| ^^^^^^^^ ^^^^^^^^
|
::: src/codegen_i128.rs:3:5
|
3 | use cranelift_codegen::ir::ArgumentPurpose;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/common.rs:1:5
|
1 | use cranelift_codegen::isa::TargetFrontendConfig;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | use gimli::write::FileId;
| ^^^^^^^^^^^^^^^^^^^^
|
::: src/constant.rs:11:5
|
11 | use cranelift_codegen::ir::GlobalValueData;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | use cranelift_module::*;
| ^^^^^^^^^^^^^^^^^^^
|
::: src/debuginfo/mod.rs:10:5
|
10 | use cranelift_codegen::ir::Endianness;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | use cranelift_codegen::isa::TargetIsa;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
14 | Address, AttributeValue, DwarfUnit, FileId, LineProgram, LineString, Range, RangeList,
| ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^
15 | UnitEntryId,
| ^^^^^^^^^^^
16 | };
17 | use gimli::{Encoding, Format, LineEncoding, RunTimeEndian};
| ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^
18 | use indexmap::IndexSet;
| ^^^^^^^^^^^^^^^^^^
|
::: src/debuginfo/emit.rs:10:5
|
10 | use super::DebugContext;
| ^^^^^^^^^^^^^^^^^^^
|
::: src/debuginfo/line_info.rs:6:5
|
6 | use crate::debuginfo::FunctionDebugContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
14 | use cranelift_codegen::binemit::CodeOffset;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 | use cranelift_codegen::MachSrcLoc;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
18 | Address, AttributeValue, FileId, FileInfo, LineProgram, LineString, LineStringTable,
| ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^
|
::: src/debuginfo/object.rs:11:24
|
11 | use crate::debuginfo::{DebugReloc, DebugRelocName};
| ^^^^^^^^^^ ^^^^^^^^^^^^^^
|
::: src/debuginfo/unwind.rs:5:5
|
5 | use cranelift_codegen::ir::Endianness;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 | use cranelift_codegen::isa::{unwind::UnwindInfo, TargetIsa};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^
7 |
8 | use cranelift_object::ObjectProduct;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 | use gimli::write::{Address, CieId, EhFrame, FrameTable, Section};
| ^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^
10 | use gimli::RunTimeEndian;
| ^^^^^^^^^^^^^^^^^^^^
|
::: src/driver/aot.rs:20:24
|
20 | use cranelift_object::{ObjectBuilder, ObjectModule};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^
...
24 | use crate::{prelude::*, BackendConfig};
| ^^^^^^^^^^^^^
|
::: src/driver/jit.rs:14:21
|
14 | use cranelift_jit::{JITBuilder, JITModule};
| ^^^^^^^^^^ ^^^^^^^^^
...
17 | use once_cell::sync::OnceCell;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
18 |
19 | use crate::{prelude::*, BackendConfig};
| ^^^^^^^^^^^^^
20 | use crate::{CodegenCx, CodegenMode};
| ^^^^^^^^^ ^^^^^^^^^^^
...
321 | use object::{Object, ObjectSymbol};
| ^^^^^^ ^^^^^^^^^^^^
|
::: src/intrinsics/mod.rs:27:5
|
27 | use cranelift_codegen::ir::AtomicRmwOp;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/num.rs:6:9
|
6 | use BinOp::*;
| ^^^^^
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pointer.rs:8:5
|
8 | use cranelift_codegen::ir::immediates::Offset32;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pretty_clif.rs:58:5
|
58 | use cranelift_codegen::{
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/value_and_place.rs:5:5
|
5 | use cranelift_codegen::ir::immediates::Offset32;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/value_and_place.rs:246:13
|
246 | use cranelift_codegen::ir::immediates::{Ieee32, Ieee64};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/value_and_place.rs:498:17
|
498 | use cranelift_codegen::cursor::{Cursor, CursorPosition};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:95:20
|
95 | pub(crate) use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:96:20
|
96 | pub(crate) use cranelift_codegen::ir::function::Function;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:97:20
|
97 | pub(crate) use cranelift_codegen::ir::types;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:98:20
|
98 | pub(crate) use cranelift_codegen::ir::{
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:102:20
|
102 | pub(crate) use cranelift_codegen::isa::{self, CallConv};
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:103:20
|
103 | pub(crate) use cranelift_codegen::Context;
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_frontend` depends on
--> src/lib.rs:104:20
|
104 | pub(crate) use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext, Variable};
| ^^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_frontend`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_frontend-db7e8a3754d6dd19.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_module` depends on
--> src/lib.rs:105:20
|
105 | pub(crate) use cranelift_module::{self, DataContext, FuncId, Linkage, Module};
| ^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_module`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_module-7a8810e8df08569d.rlib
error[E0460]: found possibly newer version of crate `core` which `target_lexicon` depends on
--> src/lib.rs:248:9
|
248 | use target_lexicon::BinaryFormat;
| ^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `target_lexicon`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libtarget_lexicon-832e28fd43730556.rlib
error[E0432]: unresolved imports `IntCC`, `cranelift_codegen::ir::immediates::Offset32`, `cranelift_codegen::entity::SecondaryMap`, `cranelift_codegen::ir::entities::AnyEntity`, `cranelift_codegen::write::FuncWriter`, `cranelift_codegen::write::PlainWriter`, `cranelift_codegen::ir::immediates::Offset32`, `cranelift_codegen::ir::immediates::Ieee32`, `cranelift_codegen::ir::immediates::Ieee64`, `cranelift_codegen::cursor::Cursor`, `cranelift_codegen::cursor::CursorPosition`, `cranelift_codegen::ir::condcodes::FloatCC`, `cranelift_codegen::ir::condcodes::IntCC`, `cranelift_codegen::ir::function::Function`, `cranelift_codegen::ir::types`, `cranelift_codegen::ir::AbiParam`, `cranelift_codegen::ir::Block`, `cranelift_codegen::ir::ExternalName`, `cranelift_codegen::ir::FuncRef`, `cranelift_codegen::ir::Inst`, `cranelift_codegen::ir::InstBuilder`, `cranelift_codegen::ir::MemFlags`, `cranelift_codegen::ir::Signature`, `cranelift_codegen::ir::SourceLoc`, `cranelift_codegen::ir::StackSlot`, `cranelift_codegen::ir::StackSlotData`, `cranelift_codegen::ir::StackSlotKind`, `cranelift_codegen::ir::TrapCode`, `cranelift_codegen::ir::Type`, `cranelift_codegen::ir::Value`, `cranelift_codegen::isa`, `cranelift_codegen::isa::CallConv`, `cranelift_codegen::Context`, `cranelift_frontend::FunctionBuilder`, `cranelift_frontend::FunctionBuilderContext`, `cranelift_frontend::Variable`, `cranelift_module::DataContext`, `cranelift_module::FuncId`, `cranelift_module::Linkage`, `cranelift_module::Module`, `target_lexicon::BinaryFormat`
--> src/lib.rs:95:55
|
95 | pub(crate) use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
| ^^^^^^^ ^^^^^
96 | pub(crate) use cranelift_codegen::ir::function::Function;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 | pub(crate) use cranelift_codegen::ir::types;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98 | pub(crate) use cranelift_codegen::ir::{
99 | AbiParam, Block, ExternalName, FuncRef, Inst, InstBuilder, MemFlags, Signature, SourceLoc,
| ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^
100 | StackSlot, StackSlotData, StackSlotKind, TrapCode, Type, Value,
| ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^
101 | };
102 | pub(crate) use cranelift_codegen::isa::{self, CallConv};
| ^^^^ ^^^^^^^^
103 | pub(crate) use cranelift_codegen::Context;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
104 | pub(crate) use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext, Variable};
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
105 | pub(crate) use cranelift_module::{self, DataContext, FuncId, Linkage, Module};
| ^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^
...
248 | use target_lexicon::BinaryFormat;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/num.rs:7:9
|
7 | use IntCC::*;
| ^^^^^ use of undeclared type `IntCC`
|
::: src/pointer.rs:8:5
|
8 | use cranelift_codegen::ir::immediates::Offset32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/pretty_clif.rs:59:5
|
59 | entity::SecondaryMap,
| ^^^^^^^^^^^^^^^^^^^^
60 | ir::entities::AnyEntity,
| ^^^^^^^^^^^^^^^^^^^^^^^
61 | write::{FuncWriter, PlainWriter},
| ^^^^^^^^^^ ^^^^^^^^^^^
|
::: src/value_and_place.rs:5:5
|
5 | use cranelift_codegen::ir::immediates::Offset32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
246 | use cranelift_codegen::ir::immediates::{Ieee32, Ieee64};
| ^^^^^^ ^^^^^^
...
498 | use cranelift_codegen::cursor::{Cursor, CursorPosition};
| ^^^^^^ ^^^^^^^^^^^^^^
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:80:33
|
80 | PassMode::Ignore => smallvec![],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:82:40
|
82 | Abi::Scalar(scalar) => smallvec![apply_arg_attrs_to_abi_param(
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:88:21
|
88 | smallvec![AbiParam::new(vector_ty)]
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:96:21
|
96 | smallvec![
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:112:21
|
112 | smallvec![apply_arg_attrs_to_abi_param(
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:117:21
|
117 | smallvec![apply_arg_attrs_to_abi_param(AbiParam::new(pointer_ty(tcx)), attrs)]
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:122:17
|
122 | smallvec![
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:226:29
|
226 | PassMode::Ignore => smallvec![],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:227:32
|
227 | PassMode::Direct(_) => smallvec![arg.load_scalar(fx)],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:230:13
|
230 | smallvec![a, b]
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:236:36
|
236 | (ptr, None) => smallvec![ptr.get_addr(fx)],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:237:42
|
237 | (ptr, Some(meta)) => smallvec![ptr.get_addr(fx), meta],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/pass_mode.rs:245:17
|
245 | smallvec![place.to_ptr().get_addr(fx)]
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/returning.rs:25:17
|
25 | smallvec![],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `smallvec`
--> src/abi/returning.rs:33:17
|
33 | smallvec![ret_param],
| ^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/abi/mod.rs:222:26
|
222 | _ => bug!("spread argument isn't a tuple?! but {:?}", arg_ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/abi/mod.rs:423:18
|
423 | _ => bug!("argument to function with \"rust-call\" ABI is not a tuple"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find macro `bug` in this scope
--> src/archive.rs:42:9
|
42 | bug!("creating dll imports is not supported");
| ^^^
error: cannot determine resolution for the macro `with_no_trimmed_paths`
--> src/base.rs:51:9
|
51 | with_no_trimmed_paths!({
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `with_no_trimmed_paths`
--> src/base.rs:294:13
|
294 | with_no_trimmed_paths!({
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/base.rs:477:17
|
477 | bug!("shouldn't exist at codegen {:?}", bb_data.terminator());
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/base.rs:613:30
|
613 | _ => bug!("Trying to ReifyFnPointer on non FnDef {:?}", from_ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/base.rs:697:30
|
697 | _ => bug!("{} cannot be cast to a fn ptr", operand.layout().ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/base.rs:834:14
|
834 | _ => bug!("Rvalue::Len({:?})", place),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/common.rs:23:17
|
23 | bits => bug!("ptr_sized_integer: unknown pointer bit size {}", bits),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/common.rs:87:25
|
87 | ty::Param(_) => bug!("ty param {:?}", ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find macro `span_bug` in this scope
--> src/common.rs:443:13
|
443 | span_bug!(span, "failed to get layout for `{}`: {}", ty, err)
| ^^^^^^^^
error: cannot find macro `span_bug` in this scope
--> src/common.rs:463:21
|
463 | span_bug!(
| ^^^^^^^^
error: cannot find macro `span_bug` in this scope
--> src/common.rs:472:21
|
472 | span_bug!(
| ^^^^^^^^
error: cannot find macro `span_bug` in this scope
--> src/constant.rs:60:29
|
60 | ... span_bug!(
| ^^^^^^^^
error: cannot find macro `span_bug` in this scope
--> src/constant.rs:143:21
|
143 | span_bug!(constant.span, "erroneous constant not captured by required_consts");
| ^^^^^^^^
error: cannot determine resolution for the macro `bug`
--> src/global_asm.rs:31:9
|
31 | bug!("Expected GlobalAsm found {:?}", item);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/llvm.rs:53:22
|
53 | _ => bug!("wrong number of args for intrinsic {intrinsic}"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/llvm.rs:86:22
|
86 | _ => bug!("wrong number of args for intrinsic {intrinsic}"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/llvm.rs:103:22
|
103 | _ => bug!("wrong number of args for intrinsic {intrinsic}"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/simd.rs:126:21
|
126 | bug!("wrong number of args for intrinsic {intrinsic}");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find macro `span_bug` in this scope
--> src/intrinsics/simd.rs:147:29
|
147 | ... span_bug!(span, "could not evaluate shuffle index array length")
| ^^^^^^^^
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/simd.rs:229:21
|
229 | bug!("wrong number of args for intrinsic {intrinsic}");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/simd.rs:264:21
|
264 | bug!("wrong number of args for intrinsic {intrinsic}");
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/mod.rs:30:5
|
30 | bug!("wrong number of args for intrinsic {}", intrinsic);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/intrinsics/mod.rs:284:9
|
284 | bug!("wrong number of args for intrinsic {:?}", intrinsic);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `with_no_trimmed_paths`
--> src/intrinsics/mod.rs:727:17
|
727 | with_no_trimmed_paths!({
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `with_no_trimmed_paths`
--> src/intrinsics/mod.rs:738:17
|
738 | with_no_trimmed_paths!({
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `with_no_trimmed_paths`
--> src/intrinsics/mod.rs:752:17
|
752 | with_no_trimmed_paths!({
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/num.rs:303:14
|
303 | _ => bug!("binop {:?} on checked int/uint lhs: {:?} rhs: {:?}", bin_op, in_lhs, in_rhs),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/num.rs:333:22
|
333 | _ => bug!(),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/unsize.rs:54:14
|
54 | _ => bug!("unsized_info: invalid unsizing {:?} -> {:?}", source, target),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/unsize.rs:100:14
|
100 | _ => bug!("unsize_ptr: called on bad types"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/unsize.rs:146:14
|
146 | _ => bug!("coerce_unsized_into: invalid coercion {:?} -> {:?}", src_ty, dst_ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:134:47
|
134 | CValueInner::ByRef(_, Some(_)) => bug!("load_scalar for unsized value not allowed"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:135:45
|
135 | CValueInner::ByValPair(_, _) => bug!("Please use load_scalar_pair for ByValPair"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:158:17
|
158 | bug!("load_scalar_pair for unsized value not allowed")
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:160:38
|
160 | CValueInner::ByVal(_) => bug!("Please use load_scalar for ByVal"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:188:30
|
188 | _ => bug!("field should be 0 or 1"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:415:29
|
415 | (_, Some(_)) => bug!("Expected sized cplace, found {:?}", self),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:424:48
|
424 | | CPlaceInner::VarLane(_, _, _) => bug!("Expected CPlace::Addr, found {:?}", self),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:533:61
|
533 | | CValueInner::ByRef(_, Some(_)) => bug!("array should be ByRef"),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:573:46
|
573 | CPlaceInner::Addr(_, Some(_)) => bug!("Can't write value to unsized place {:?}", self),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:600:17
|
600 | bug!("Non ScalarPair abi {:?} for ByValPair CValue", dst_layout.abi);
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `bug`
--> src/value_and_place.rs:732:18
|
732 | _ => bug!("place_index({:?})", self.layout().ty),
| ^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0460]: found possibly newer version of crate `core` which `target_lexicon` depends on
--> src/abi/mod.rs:54:14
|
54 | triple: &target_lexicon::Triple,
| ^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `target_lexicon`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libtarget_lexicon-832e28fd43730556.rlib
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/abi/mod.rs:327:37
|
327 | is_owned: matches!(operand, Operand::Move(_)),
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/analyze.rs:33:21
|
33 | Rvalue::Ref(_, _, place) | Rvalue::AddressOf(_, place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/analyze.rs:33:48
|
33 | Rvalue::Ref(_, _, place) | Rvalue::AddressOf(_, place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:92:17
|
92 | Bsd(ar::Builder<File>),
| ^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:93:17
|
93 | Gnu(ar::GnuBuilder<File>),
| ^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/archive.rs:142:23
|
142 | match object::File::parse(&*data) {
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:178:17
|
178 | ar::GnuBuilder::new(
| ^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:186:21
|
186 | ar::GnuSymbolTableFormat::Size32,
| ^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:193:17
|
193 | ar::Builder::new(
| ^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `ar` depends on
--> src/archive.rs:210:26
|
210 | let header = ar::Header::new(entry_name, data.len() as u64);
| ^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/base.rs:237:21
|
237 | let flags = cranelift_codegen::settings::Flags::new(cranelift_codegen::settings::builder());
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/base.rs:237:61
|
237 | let flags = cranelift_codegen::settings::Flags::new(cranelift_codegen::settings::builder());
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/base.rs:238:15
|
238 | match cranelift_codegen::verify_function(&func, &flags) {
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/base.rs:242:36
|
242 | let pretty_error = cranelift_codegen::print_errors::pretty_verifier_error(
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:305:13
|
305 | TerminatorKind::Goto { target } => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:306:24
|
306 | if let TerminatorKind::Return = fx.mir[*target].terminator().kind {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:309:32
|
309 | if let StatementKind::StorageDead(_) = stmt.kind {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:326:13
|
326 | TerminatorKind::Return => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:329:13
|
329 | TerminatorKind::Assert { cond, expected, msg, target, cleanup: _ } => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `AssertKind`
--> src/base.rs:354:21
|
354 | AssertKind::BoundsCheck { ref len, ref index } => {
| ^^^^^^^^^^ use of undeclared type `AssertKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:373:13
|
373 | TerminatorKind::SwitchInt { discr, switch_ty, targets } => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0460]: found possibly newer version of crate `core` which `cranelift_frontend` depends on
--> src/base.rs:412:40
|
412 | let mut switch = ::cranelift_frontend::Switch::new();
| ^^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_frontend`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_frontend-db7e8a3754d6dd19.rlib
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:421:13
|
421 | TerminatorKind::Call {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:441:13
|
441 | TerminatorKind::InlineAsm {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:465:13
|
465 | TerminatorKind::Resume | TerminatorKind::Abort => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:465:38
|
465 | TerminatorKind::Resume | TerminatorKind::Abort => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:469:13
|
469 | TerminatorKind::Unreachable => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:472:13
|
472 | TerminatorKind::Yield { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:473:15
|
473 | | TerminatorKind::FalseEdge { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:474:15
|
474 | | TerminatorKind::FalseUnwind { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:475:15
|
475 | | TerminatorKind::DropAndReplace { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:476:15
|
476 | | TerminatorKind::GeneratorDrop => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/base.rs:479:13
|
479 | TerminatorKind::Drop { place, target, unwind: _ } => {
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:514:9
|
514 | StatementKind::SetDiscriminant { place, variant_index } => {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:518:9
|
518 | StatementKind::Assign(to_place_and_rval) => {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:522:17
|
522 | Rvalue::Use(ref operand) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:526:17
|
526 | Rvalue::CopyForDeref(place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:531:17
|
531 | Rvalue::Ref(_, _, place) | Rvalue::AddressOf(_, place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:531:44
|
531 | Rvalue::Ref(_, _, place) | Rvalue::AddressOf(_, place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:536:17
|
536 | Rvalue::ThreadLocalRef(def_id) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:540:17
|
540 | Rvalue::BinaryOp(bin_op, ref lhs_rhs) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:547:17
|
547 | Rvalue::CheckedBinaryOp(bin_op, ref lhs_rhs) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:562:17
|
562 | Rvalue::UnaryOp(un_op, ref operand) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `UnOp`
--> src/base.rs:567:25
|
567 | UnOp::Not => match layout.ty.kind() {
| ^^^^ use of undeclared type `UnOp`
error[E0433]: failed to resolve: use of undeclared type `UnOp`
--> src/base.rs:577:25
|
577 | UnOp::Neg => match layout.ty.kind() {
| ^^^^ use of undeclared type `UnOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/base.rs:582:67
|
582 | ... crate::num::codegen_int_binop(fx, BinOp::Sub, zero, operand)
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:591:17
|
591 | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:592:21
|
592 | CastKind::Pointer(PointerCast::ReifyFnPointer),
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:616:17
|
616 | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:617:21
|
617 | CastKind::Pointer(PointerCast::UnsafeFnPointer),
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:621:19
|
621 | | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:622:21
|
622 | CastKind::Pointer(PointerCast::MutToConstPointer),
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:626:19
|
626 | | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:627:21
|
627 | CastKind::Pointer(PointerCast::ArrayToPointer),
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:635:17
|
635 | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:636:21
|
636 | CastKind::Misc
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:637:23
|
637 | | CastKind::PointerExposeAddress
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:638:23
|
638 | | CastKind::PointerFromExposedAddress,
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:677:17
|
677 | Rvalue::Cast(
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:678:21
|
678 | CastKind::Pointer(PointerCast::ClosureFnPointer(_)),
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:700:17
|
700 | Rvalue::Cast(CastKind::Pointer(PointerCast::Unsize), ref operand, _to_ty) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/base.rs:700:30
|
700 | Rvalue::Cast(CastKind::Pointer(PointerCast::Unsize), ref operand, _to_ty) => {
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:704:17
|
704 | Rvalue::Discriminant(place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:709:17
|
709 | Rvalue::Repeat(ref operand, times) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:748:17
|
748 | Rvalue::Len(place) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:754:17
|
754 | Rvalue::ShallowInitBox(ref operand, content_ty) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:761:17
|
761 | Rvalue::NullaryOp(null_op, ty) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `NullOp`
--> src/base.rs:769:25
|
769 | NullOp::SizeOf => layout.size.bytes(),
| ^^^^^^ use of undeclared type `NullOp`
error[E0433]: failed to resolve: use of undeclared type `NullOp`
--> src/base.rs:770:25
|
770 | NullOp::AlignOf => layout.align.abi.bytes(),
| ^^^^^^ use of undeclared type `NullOp`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/base.rs:775:17
|
775 | Rvalue::Aggregate(ref kind, ref operands) => match kind.as_ref() {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `AggregateKind`
--> src/base.rs:776:21
|
776 | AggregateKind::Array(_ty) => {
| ^^^^^^^^^^^^^ use of undeclared type `AggregateKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:788:9
|
788 | StatementKind::StorageLive(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:789:11
|
789 | | StatementKind::StorageDead(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:790:11
|
790 | | StatementKind::Deinit(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:791:11
|
791 | | StatementKind::Nop
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:792:11
|
792 | | StatementKind::FakeRead(..)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:793:11
|
793 | | StatementKind::Retag { .. }
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:794:11
|
794 | | StatementKind::AscribeUserType(..) => {}
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:796:9
|
796 | StatementKind::Coverage { .. } => fx.tcx.sess.fatal("-Zcoverage is unimplemented"),
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/base.rs:797:9
|
797 | StatementKind::Intrinsic(ref intrinsic) => match &**intrinsic {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `NonDivergingIntrinsic`
--> src/base.rs:799:13
|
799 | NonDivergingIntrinsic::Assume(_) => {}
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NonDivergingIntrinsic`
error[E0433]: failed to resolve: use of undeclared type `NonDivergingIntrinsic`
--> src/base.rs:800:13
|
800 | NonDivergingIntrinsic::CopyNonOverlapping(mir::CopyNonOverlapping {
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NonDivergingIntrinsic`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:846:13
|
846 | PlaceElem::Deref => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:849:13
|
849 | PlaceElem::Field(field, _ty) => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:852:13
|
852 | PlaceElem::Index(local) => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:856:13
|
856 | PlaceElem::ConstantIndex { offset, min_length: _, from_end } => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:866:13
|
866 | PlaceElem::Subslice { from, to, from_end } => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `PlaceElem`
--> src/base.rs:897:13
|
897 | PlaceElem::Downcast(_adt_def, variant) => {
| ^^^^^^^^^ use of undeclared type `PlaceElem`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/base.rs:911:9
|
911 | Operand::Move(place) | Operand::Copy(place) => {
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/base.rs:911:32
|
911 | Operand::Move(place) | Operand::Copy(place) => {
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/base.rs:915:9
|
915 | Operand::Constant(const_) => crate::constant::codegen_constant(fx, const_),
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:25:9
|
25 | BinOp::BitAnd | BinOp::BitOr | BinOp::BitXor => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:25:25
|
25 | BinOp::BitAnd | BinOp::BitOr | BinOp::BitXor => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:25:40
|
25 | BinOp::BitAnd | BinOp::BitOr | BinOp::BitXor => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:29:9
|
29 | BinOp::Add | BinOp::Sub if !checked => None,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:29:22
|
29 | BinOp::Add | BinOp::Sub if !checked => None,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:30:9
|
30 | BinOp::Mul if !checked || is_signed => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:79:9
|
79 | BinOp::Add | BinOp::Sub | BinOp::Mul => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:79:22
|
79 | BinOp::Add | BinOp::Sub | BinOp::Mul => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:79:35
|
79 | BinOp::Add | BinOp::Sub | BinOp::Mul => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:107:18
|
107 | (BinOp::Add, false) => "__rust_u128_addo",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:108:18
|
108 | (BinOp::Add, true) => "__rust_i128_addo",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:109:18
|
109 | (BinOp::Sub, false) => "__rust_u128_subo",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:110:18
|
110 | (BinOp::Sub, true) => "__rust_i128_subo",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:111:18
|
111 | (BinOp::Mul, false) => "__rust_u128_mulo",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:117:9
|
117 | BinOp::Offset => unreachable!("offset should only be used on pointers, not 128bit ints"),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:118:9
|
118 | BinOp::Div | BinOp::Rem => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:118:22
|
118 | BinOp::Div | BinOp::Rem => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:121:18
|
121 | (BinOp::Div, false) => "__udivti3",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:122:18
|
122 | (BinOp::Div, true) => "__divti3",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:123:18
|
123 | (BinOp::Rem, false) => "__umodti3",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:124:18
|
124 | (BinOp::Rem, true) => "__modti3",
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:9
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:21
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:33
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:45
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:57
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:147:69
|
147 | BinOp::Lt | BinOp::Le | BinOp::Eq | BinOp::Ge | BinOp::Gt | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:151:9
|
151 | BinOp::Shl | BinOp::Shr => None,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/codegen_i128.rs:151:22
|
151 | BinOp::Shl | BinOp::Shr => None,
| ^^^^^ use of undeclared type `BinOp`
error[E0463]: can't find crate for `std_inject` which `cranelift_jit` depends on
--> src/compiler_builtins.rs:10:47
|
10 | pub(crate) fn $register(builder: &mut cranelift_jit::JITBuilder) {
| ^^^^^^^^^^^^^ can't find crate
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:45:13
|
45 | ConstantKind::Ty(ct) => ct,
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:46:13
|
46 | ConstantKind::Val(..) => continue,
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:126:9
|
126 | ConstantKind::Ty(ct) => ct,
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:127:9
|
127 | ConstantKind::Val(val, ty) => return codegen_const_value(fx, val, ty),
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `ModuleError`
--> src/constant.rs:338:13
|
338 | Err(ModuleError::IncompatibleDeclaration(_)) => tcx.sess.fatal(&format!(
| ^^^^^^^^^^^ use of undeclared type `ModuleError`
error[E0433]: failed to resolve: use of undeclared type `ModuleError`
--> src/constant.rs:363:17
|
363 | Err(ModuleError::DuplicateDefinition(_)) => {}
| ^^^^^^^^^^^ use of undeclared type `ModuleError`
error[E0433]: failed to resolve: use of undeclared type `Mutability`
--> src/constant.rs:459:64
|
459 | data_id_for_alloc_id(cx, module, alloc_id, Mutability::Not)
| ^^^^^^^^^^ use of undeclared type `Mutability`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/constant.rs:493:9
|
493 | Operand::Constant(const_) => match const_.literal {
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:494:13
|
494 | ConstantKind::Ty(const_) => fx
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `ConstantKind`
--> src/constant.rs:498:13
|
498 | ConstantKind::Val(val, _) => Some(val),
| ^^^^^^^^^^^^ use of undeclared type `ConstantKind`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/constant.rs:503:9
|
503 | Operand::Copy(place) | Operand::Move(place) => {
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `Operand`
--> src/constant.rs:503:32
|
503 | Operand::Copy(place) | Operand::Move(place) => {
| ^^^^^^^ use of undeclared type `Operand`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:511:25
|
511 | StatementKind::Assign(local_and_rvalue) if &local_and_rvalue.0 == place => {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/constant.rs:513:33
|
513 | ... Rvalue::Cast(CastKind::Misc, operand, ty) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `CastKind`
--> src/constant.rs:513:46
|
513 | ... Rvalue::Cast(CastKind::Misc, operand, ty) => {
| ^^^^^^^^ use of undeclared type `CastKind`
error[E0433]: failed to resolve: use of undeclared type `Rvalue`
--> src/constant.rs:528:33
|
528 | ... Rvalue::Use(operand) => {
| ^^^^^^ use of undeclared type `Rvalue`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:534:25
|
534 | StatementKind::SetDiscriminant { place: stmt_place, variant_index: _ }
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:539:25
|
539 | StatementKind::Intrinsic(ref intrinsic) => match **intrinsic {
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `NonDivergingIntrinsic`
--> src/constant.rs:540:29
|
540 | ... NonDivergingIntrinsic::CopyNonOverlapping(..) => return None,
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NonDivergingIntrinsic`
error[E0433]: failed to resolve: use of undeclared type `NonDivergingIntrinsic`
--> src/constant.rs:541:29
|
541 | ... NonDivergingIntrinsic::Assume(..) => {}
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NonDivergingIntrinsic`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:544:25
|
544 | StatementKind::Assign(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:545:27
|
545 | | StatementKind::FakeRead(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:546:27
|
546 | | StatementKind::SetDiscriminant { .. }
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:547:27
|
547 | | StatementKind::Deinit(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:548:27
|
548 | | StatementKind::StorageLive(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:549:27
|
549 | | StatementKind::StorageDead(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:550:27
|
550 | | StatementKind::Retag(_, _)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:551:27
|
551 | | StatementKind::AscribeUserType(_, _)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:552:27
|
552 | | StatementKind::Coverage(_)
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `StatementKind`
--> src/constant.rs:553:27
|
553 | | StatementKind::Nop => {}
| ^^^^^^^^^^^^^ use of undeclared type `StatementKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:557:21
|
557 | TerminatorKind::Goto { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:558:23
|
558 | | TerminatorKind::SwitchInt { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:559:23
|
559 | | TerminatorKind::Resume
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:560:23
|
560 | | TerminatorKind::Abort
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:561:23
|
561 | | TerminatorKind::Return
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:562:23
|
562 | | TerminatorKind::Unreachable
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:563:23
|
563 | | TerminatorKind::Drop { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:564:23
|
564 | | TerminatorKind::Assert { .. } => {}
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:565:21
|
565 | TerminatorKind::DropAndReplace { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:566:23
|
566 | | TerminatorKind::Yield { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:567:23
|
567 | | TerminatorKind::GeneratorDrop
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:568:23
|
568 | | TerminatorKind::FalseEdge { .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:569:23
|
569 | | TerminatorKind::FalseUnwind { .. } => unreachable!(),
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:570:21
|
570 | TerminatorKind::InlineAsm { .. } => return None,
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:571:21
|
571 | TerminatorKind::Call { destination, target: Some(_), .. }
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
--> src/constant.rs:576:21
|
576 | TerminatorKind::Call { .. } => {}
| ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:17:18
|
17 | root.set(gimli::DW_AT_ranges, AttributeValue::RangeListRef(unit_range_list_id));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/emit.rs:48:22
|
48 | pub(crate) kind: object::RelocationKind,
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_jit` depends on
--> src/debuginfo/emit.rs:71:59
|
71 | pub(super) fn relocate_for_jit(mut self, jit_module: &cranelift_jit::JITModule) -> Vec<u8> {
| ^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `cranelift_module` depends on
--> src/debuginfo/emit.rs:77:25
|
77 | cranelift_module::FuncId::from_u32(sym.try_into().unwrap()),
| ^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_module`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_module-7a8810e8df08569d.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/emit.rs:117:27
|
117 | kind: object::RelocationKind::Absolute,
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/emit.rs:131:19
|
131 | kind: object::RelocationKind::Absolute,
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/emit.rs:148:19
|
148 | kind: object::RelocationKind::Absolute,
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:153:61
|
153 | fn write_eh_pointer(&mut self, address: Address, eh_pe: gimli::DwEhPe, size: u8) -> Result<()> {
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:159:21
|
159 | gimli::DW_EH_PE_absptr => val,
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:160:21
|
160 | gimli::DW_EH_PE_pcrel => {
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:166:36
|
166 | return Err(gimli::write::Error::UnsupportedPointerEncoding(eh_pe));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:172:17
|
172 | gimli::DW_EH_PE_pcrel => {
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:174:25
|
174 | gimli::DW_EH_PE_sdata4 => 4,
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:175:41
|
175 | _ => return Err(gimli::write::Error::UnsupportedPointerEncoding(eh_pe)),
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/emit.rs:182:31
|
182 | kind: object::RelocationKind::Relative,
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/emit.rs:186:26
|
186 | _ => Err(gimli::write::Error::UnsupportedPointerEncoding(eh_pe)),
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/line_info.rs:184:13
|
184 | gimli::DW_AT_low_pc,
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/line_info.rs:187:19
|
187 | entry.set(gimli::DW_AT_high_pc, AttributeValue::Udata(u64::from(func_end)));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:26:23
|
26 | type SectionId = (object::write::SectionId, object::write::SymbolId);
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:26:49
|
26 | type SectionId = (object::write::SectionId, object::write::SymbolId);
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:32:11
|
32 | ) -> (object::write::SectionId, object::write::SymbolId) {
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:32:37
|
32 | ) -> (object::write::SectionId, object::write::SymbolId) {
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/debuginfo/object.rs:33:47
|
33 | let name = if self.object.format() == object::BinaryFormat::MachO {
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/unwind.rs:31:21
|
31 | gimli::DwEhPe(gimli::DW_EH_PE_pcrel.0 | gimli::DW_EH_PE_sdata4.0);
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/unwind.rs:31:35
|
31 | gimli::DwEhPe(gimli::DW_EH_PE_pcrel.0 | gimli::DW_EH_PE_sdata4.0);
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/unwind.rs:31:61
|
31 | gimli::DwEhPe(gimli::DW_EH_PE_pcrel.0 | gimli::DW_EH_PE_sdata4.0);
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_jit` depends on
--> src/debuginfo/unwind.rs:83:58
|
83 | pub(crate) unsafe fn register_jit(self, jit_module: &cranelift_jit::JITModule) {
| ^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `indexmap` depends on
--> src/debuginfo/mod.rs:33:21
|
33 | source_loc_set: indexmap::IndexSet<(FileId, u64, u64)>,
| ^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `indexmap`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libindexmap-14ff5df45819aa31.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/debuginfo/mod.rs:63:13
|
63 | cranelift_codegen::VERSION,
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:96:22
|
96 | root.set(gimli::DW_AT_producer, AttributeValue::StringRef(dwarf.strings.add(producer)));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:97:22
|
97 | root.set(gimli::DW_AT_language, AttributeValue::Language(gimli::DW_LANG_Rust));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:97:70
|
97 | root.set(gimli::DW_AT_language, AttributeValue::Language(gimli::DW_LANG_Rust));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:98:22
|
98 | root.set(gimli::DW_AT_name, AttributeValue::StringRef(name));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:99:22
|
99 | root.set(gimli::DW_AT_comp_dir, AttributeValue::StringRef(comp_dir));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:100:22
|
100 | root.set(gimli::DW_AT_low_pc, AttributeValue::Address(Address::Constant(0)));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:119:51
|
119 | let entry_id = self.dwarf.unit.add(scope, gimli::DW_TAG_subprogram);
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:123:19
|
123 | entry.set(gimli::DW_AT_name, AttributeValue::StringRef(name_id));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:124:19
|
124 | entry.set(gimli::DW_AT_linkage_name, AttributeValue::StringRef(name_id));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:126:19
|
126 | entry.set(gimli::DW_AT_decl_file, AttributeValue::FileIndex(Some(file_id)));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:127:19
|
127 | entry.set(gimli::DW_AT_decl_line, AttributeValue::Udata(line));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:128:19
|
128 | entry.set(gimli::DW_AT_decl_column, AttributeValue::Udata(column));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:157:13
|
157 | gimli::DW_AT_low_pc,
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0460]: found possibly newer version of crate `core` which `gimli` depends on
--> src/debuginfo/mod.rs:161:24
|
161 | func_entry.set(gimli::DW_AT_high_pc, AttributeValue::Udata(u64::from(end)));
| ^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `gimli`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libgimli-ba14492cc954b012.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_object` depends on
--> src/driver/aot.rs:172:13
|
172 | object: cranelift_object::object::write::Object<'_>,
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `std_inject` which `libloading` depends on
--> src/driver/jit.rs:322:19
|
322 | let lib = libloading::Library::new(&path).unwrap();
| ^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `object` depends on
--> src/driver/jit.rs:324:19
|
324 | let obj = object::File::parse(&*obj).unwrap();
| ^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `object`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libobject-95fb436086a23dc9.rlib
error[E0463]: can't find crate for `std_inject` which `libloading` depends on
--> src/driver/jit.rs:342:25
|
342 | let symbol: libloading::Symbol<'_, *const u8> =
| ^^^^^^^^^^ can't find crate
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:55:26
|
55 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:55:54
|
55 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:55:72
|
55 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:68:25
|
68 | InlineAsmRegOrRegClass::RegClass(InlineAsmRegClass::X86(
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegClass`
--> src/inline_asm.rs:68:58
|
68 | InlineAsmRegOrRegClass::RegClass(InlineAsmRegClass::X86(
| ^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegClass`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmRegClass`
--> src/inline_asm.rs:69:29
|
69 | ... X86InlineAsmRegClass::reg,
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:78:26
|
78 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:78:54
|
78 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:78:72
|
78 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:90:26
|
90 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:90:54
|
90 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:90:72
|
90 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:151:26
|
151 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:151:54
|
151 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:151:72
|
151 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::cx)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:158:26
|
158 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:158:54
|
158 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:158:72
|
158 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::ax)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:166:26
|
166 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmReg`
--> src/inline_asm.rs:166:54
|
166 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^ use of undeclared type `InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `X86InlineAsmReg`
--> src/inline_asm.rs:166:72
|
166 | reg: InlineAsmRegOrRegClass::Reg(InlineAsmReg::X86(X86InlineAsmReg::dx)),
| ^^^^^^^^^^^^^^^ use of undeclared type `X86InlineAsmReg`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:305:45
|
305 | InlineAsmOperand::In { reg: InlineAsmRegOrRegClass::Reg(reg), .. } => {
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:310:26
|
310 | reg: InlineAsmRegOrRegClass::Reg(reg), late: true, ..
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:315:46
|
315 | InlineAsmOperand::Out { reg: InlineAsmRegOrRegClass::Reg(reg), .. }
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:316:50
|
316 | | InlineAsmOperand::InOut { reg: InlineAsmRegOrRegClass::Reg(reg), .. } => {
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:328:26
|
328 | reg: InlineAsmRegOrRegClass::RegClass(class),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:333:26
|
333 | reg: InlineAsmRegOrRegClass::RegClass(class), ..
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:361:45
|
361 | InlineAsmOperand::In { reg: InlineAsmRegOrRegClass::RegClass(class), .. } => {
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmRegOrRegClass`
--> src/inline_asm.rs:382:26
|
382 | reg: InlineAsmRegOrRegClass::RegClass(class),
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmRegOrRegClass`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmClobberAbi`
--> src/inline_asm.rs:429:27
|
429 | let abi_clobber = InlineAsmClobberAbi::parse(self.arch, &self.tcx.sess.target, sym::C)
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `InlineAsmClobberAbi`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:510:42
|
510 | let is_x86 = matches!(self.arch, InlineAsmArch::X86 | InlineAsmArch::X86_64);
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:510:63
|
510 | let is_x86 = matches!(self.arch, InlineAsmArch::X86 | InlineAsmArch::X86_64);
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:604:13
|
604 | InlineAsmArch::X86 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:608:13
|
608 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:612:13
|
612 | InlineAsmArch::RiscV32 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:618:13
|
618 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:630:13
|
630 | InlineAsmArch::X86 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:634:13
|
634 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:638:13
|
638 | InlineAsmArch::RiscV32 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:644:13
|
644 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:656:13
|
656 | InlineAsmArch::X86 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:656:34
|
656 | InlineAsmArch::X86 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:659:13
|
659 | InlineAsmArch::RiscV32 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:659:38
|
659 | InlineAsmArch::RiscV32 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:673:13
|
673 | InlineAsmArch::X86 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:675:41
|
675 | reg.emit(generated_asm, InlineAsmArch::X86, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:678:13
|
678 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:680:41
|
680 | reg.emit(generated_asm, InlineAsmArch::X86_64, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:683:13
|
683 | InlineAsmArch::RiscV32 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:685:41
|
685 | reg.emit(generated_asm, InlineAsmArch::RiscV32, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:688:13
|
688 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:690:41
|
690 | reg.emit(generated_asm, InlineAsmArch::RiscV64, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:704:13
|
704 | InlineAsmArch::X86 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:706:41
|
706 | reg.emit(generated_asm, InlineAsmArch::X86, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:709:13
|
709 | InlineAsmArch::X86_64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:711:41
|
711 | reg.emit(generated_asm, InlineAsmArch::X86_64, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:714:13
|
714 | InlineAsmArch::RiscV32 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:716:41
|
716 | reg.emit(generated_asm, InlineAsmArch::RiscV32, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:719:13
|
719 | InlineAsmArch::RiscV64 => {
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0433]: failed to resolve: use of undeclared type `InlineAsmArch`
--> src/inline_asm.rs:721:41
|
721 | reg.emit(generated_asm, InlineAsmArch::RiscV64, None).unwrap();
| ^^^^^^^^^^^^^ use of undeclared type `InlineAsmArch`
error[E0460]: found possibly newer version of crate `core` which `cranelift_frontend` depends on
--> src/intrinsics/cpuid.rs:26:22
|
26 | let mut switch = cranelift_frontend::Switch::new();
| ^^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_frontend`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_frontend-db7e8a3754d6dd19.rlib
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/llvm.rs:129:30
|
129 | llvm_add_sub(fx, BinOp::Add, ret, c_in, a, b);
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/llvm.rs:135:30
|
135 | llvm_add_sub(fx, BinOp::Sub, ret, b_in, a, b);
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `ConstValue`
--> src/intrinsics/simd.rs:185:21
|
185 | ConstValue::ByRef { alloc, offset } => {
| ^^^^^^^^^^ use of undeclared type `ConstValue`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:471:39
|
471 | sym::unchecked_add => BinOp::Add,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:472:39
|
472 | sym::unchecked_sub => BinOp::Sub,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:473:39
|
473 | sym::unchecked_mul => BinOp::Mul,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:474:56
|
474 | sym::unchecked_div | sym::exact_div => BinOp::Div,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:475:39
|
475 | sym::unchecked_rem => BinOp::Rem,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:476:39
|
476 | sym::unchecked_shl => BinOp::Shl,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:477:39
|
477 | sym::unchecked_shr => BinOp::Shr,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:488:43
|
488 | sym::add_with_overflow => BinOp::Add,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:489:43
|
489 | sym::sub_with_overflow => BinOp::Sub,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:490:43
|
490 | sym::mul_with_overflow => BinOp::Mul,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:502:40
|
502 | sym::saturating_add => BinOp::Add,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:503:40
|
503 | sym::saturating_sub => BinOp::Sub,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:822:57
|
822 | let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b);
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:829:57
|
829 | let val = crate::num::codegen_ptr_binop(fx, BinOp::Ne, a, b);
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:1233:39
|
1233 | sym::fadd_fast => BinOp::Add,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:1234:39
|
1234 | sym::fsub_fast => BinOp::Sub,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:1235:39
|
1235 | sym::fmul_fast => BinOp::Mul,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:1236:39
|
1236 | sym::fdiv_fast => BinOp::Div,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/intrinsics/mod.rs:1237:39
|
1237 | sym::frem_fast => BinOp::Rem,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:9
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:21
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:33
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:45
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:57
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:63:69
|
63 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:98:9
|
98 | BinOp::BitXor => b.bxor(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:99:9
|
99 | BinOp::BitAnd => b.band(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:100:9
|
100 | BinOp::BitOr => b.bor(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:114:18
|
114 | if bin_op != BinOp::Shl && bin_op != BinOp::Shr {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:114:42
|
114 | if bin_op != BinOp::Shl && bin_op != BinOp::Shr {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:133:9
|
133 | BinOp::Add => b.iadd(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:134:9
|
134 | BinOp::Sub => b.isub(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:135:9
|
135 | BinOp::Mul => b.imul(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:136:9
|
136 | BinOp::Div => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:143:9
|
143 | BinOp::Rem => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:150:9
|
150 | BinOp::BitXor => b.bxor(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:151:9
|
151 | BinOp::BitAnd => b.band(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:152:9
|
152 | BinOp::BitOr => b.bor(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:153:9
|
153 | BinOp::Shl => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:158:9
|
158 | BinOp::Shr => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:180:18
|
180 | if bin_op != BinOp::Shl && bin_op != BinOp::Shr {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:180:42
|
180 | if bin_op != BinOp::Shl && bin_op != BinOp::Shr {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:198:9
|
198 | BinOp::Add => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:212:9
|
212 | BinOp::Sub => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:226:9
|
226 | BinOp::Mul => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:281:9
|
281 | BinOp::Shl => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:290:9
|
290 | BinOp::Shr => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:325:9
|
325 | BinOp::Add => b.fadd(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:326:9
|
326 | BinOp::Sub => b.fsub(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:327:9
|
327 | BinOp::Mul => b.fmul(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:328:9
|
328 | BinOp::Div => b.fdiv(lhs, rhs),
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:329:9
|
329 | BinOp::Rem => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:9
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:21
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:33
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:45
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:57
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:337:69
|
337 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:339:17
|
339 | BinOp::Eq => FloatCC::Equal,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:340:17
|
340 | BinOp::Lt => FloatCC::LessThan,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:341:17
|
341 | BinOp::Le => FloatCC::LessThanOrEqual,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:342:17
|
342 | BinOp::Ne => FloatCC::NotEqual,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:343:17
|
343 | BinOp::Ge => FloatCC::GreaterThanOrEqual,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:344:17
|
344 | BinOp::Gt => FloatCC::GreaterThan,
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:13
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:25
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:37
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:49
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:61
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:372:73
|
372 | BinOp::Eq | BinOp::Lt | BinOp::Le | BinOp::Ne | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:378:13
|
378 | BinOp::Offset => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:394:13
|
394 | BinOp::Eq => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:399:13
|
399 | BinOp::Ne => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:404:13
|
404 | BinOp::Lt | BinOp::Le | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:404:25
|
404 | BinOp::Lt | BinOp::Le | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:404:37
|
404 | BinOp::Lt | BinOp::Le | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0433]: failed to resolve: use of undeclared type `BinOp`
--> src/num.rs:404:49
|
404 | BinOp::Lt | BinOp::Le | BinOp::Ge | BinOp::Gt => {
| ^^^^^ use of undeclared type `BinOp`
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pretty_clif.rs:236:15
|
236 | isa: &dyn cranelift_codegen::isa::TargetIsa,
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pretty_clif.rs:237:12
|
237 | func: &cranelift_codegen::ir::Function,
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pretty_clif.rs:243:9
|
243 | cranelift_codegen::write::decorate_function(&mut clif_comments, &mut clif, func).unwrap();
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/pretty_clif.rs:265:11
|
265 | ::cranelift_codegen::write::decorate_function(
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0433]: failed to resolve: use of undeclared type `Mutability`
--> src/vtable.rs:73:79
|
73 | data_id_for_alloc_id(&mut fx.constants_cx, &mut *fx.module, alloc_id, Mutability::Not);
| ^^^^^^^^^^ use of undeclared type `Mutability`
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:193:43
|
193 | println!("Cranelift version: {}", cranelift_codegen::VERSION);
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `target_lexicon` depends on
--> src/lib.rs:240:37
|
240 | fn target_triple(sess: &Session) -> target_lexicon::Triple {
| ^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `target_lexicon`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libtarget_lexicon-832e28fd43730556.rlib
error[E0463]: can't find crate for `std_inject` which `cranelift_native` depends on
--> src/lib.rs:286:27
|
286 | let builder = cranelift_native::builder_with_options(true).unwrap();
| ^^^^^^^^^^^^^^^^ can't find crate
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:291:17
|
291 | cranelift_codegen::isa::lookup(target_triple.clone()).unwrap_or_else(|err| {
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `cranelift_codegen` depends on
--> src/lib.rs:301:17
|
301 | cranelift_codegen::isa::lookup(target_triple.clone()).unwrap_or_else(|err| {
| ^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `cranelift_codegen`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libcranelift_codegen-38991837ddec54b1.rlib
error[E0460]: found possibly newer version of crate `core` which `target_lexicon` depends on
--> src/lib.rs:304:46
|
304 | if target_triple.architecture == target_lexicon::Architecture::X86_64 {
| ^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: the following crate versions were found:
crate `core`: /home/ericholk/repo/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-230b2eaf9b4b393c.rlib
crate `target_lexicon`: /home/ericholk/repo/rust/compiler/rustc_codegen_cranelift/target/x86_64-unknown-linux-gnu/release/deps/libtarget_lexicon-832e28fd43730556.rlib
error[E0412]: cannot find type `Local` in this scope
--> src/abi/comments.rs:79:12
|
79 | local: Local,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/abi/returning.rs:12:47
|
10 | pub(super) fn codegen_return_param<'tcx>(
| - help: you might be missing a type parameter: `, Local`
11 | fx: &mut FunctionCx<'_, '_, 'tcx>,
12 | ssa_analyzed: &rustc_index::vec::IndexVec<Local, crate::analyze::SsaKind>,
| ^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:17:39
|
17 | let is_ssa = ssa_analyzed[RETURN_PLACE] == crate::analyze::SsaKind::Ssa;
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:21:21
|
21 | RETURN_PLACE,
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:44:14
|
44 | Some(RETURN_PLACE),
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:125:44
|
125 | let place = fx.get_local_place(RETURN_PLACE);
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:130:44
|
130 | let place = fx.get_local_place(RETURN_PLACE);
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/returning.rs:135:44
|
135 | let place = fx.get_local_place(RETURN_PLACE);
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/abi/mod.rs:155:12
|
155 | local: Local,
| ^^^^^ not found in this scope
error[E0425]: cannot find value `RETURN_PLACE` in this scope
--> src/abi/mod.rs:187:46
|
187 | assert_eq!(fx.local_map.push(ret_place), RETURN_PLACE);
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/abi/mod.rs:241:25
|
174 | pub(crate) fn codegen_fn_prelude<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, start_block: Block) {
| - help: you might be missing a type parameter: `, Local`
...
241 | .collect::<Vec<(Local, ArgKind<'tcx>, Ty<'tcx>)>>();
| ^^^^^ not found in this scope
error[E0425]: cannot find value `START_BLOCK` in this scope
--> src/abi/mod.rs:312:41
|
312 | fx.bcx.ins().jump(*fx.block_map.get(START_BLOCK).unwrap(), &[]);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_block`
error[E0412]: cannot find type `Operand` in this scope
--> src/abi/mod.rs:323:15
|
323 | operand: &Operand<'tcx>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Operand` in this scope
--> src/abi/mod.rs:334:12
|
334 | func: &Operand<'tcx>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Operand` in this scope
--> src/abi/mod.rs:335:13
|
335 | args: &[Operand<'tcx>],
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/abi/mod.rs:336:18
|
336 | destination: Place<'tcx>,
| ^^^^^ help: a struct with a similar name exists: `CPlace`
|
::: src/value_and_place.rs:293:1
|
293 | pub(crate) struct CPlace<'tcx> {
| ------------------------------ similarly named struct `CPlace` defined here
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/abi/mod.rs:337:20
|
331 | pub(crate) fn codegen_terminator_call<'tcx>(
| - help: you might be missing a type parameter: `, BasicBlock`
...
337 | target: Option<BasicBlock>,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/analyze.rs:14:64
|
14 | pub(crate) fn analyze(fx: &FunctionCx<'_, '_, '_>) -> IndexVec<Local, SsaKind> {
| - ^^^^^ not found in this scope
| |
| help: you might be missing a type parameter: `<Local>`
error[E0412]: cannot find type `Local` in this scope
--> src/analyze.rs:27:29
|
14 | pub(crate) fn analyze(fx: &FunctionCx<'_, '_, '_>) -> IndexVec<Local, SsaKind> {
| - help: you might be missing a type parameter: `<Local>`
...
27 | .collect::<IndexVec<Local, SsaKind>>();
| ^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Assign` in this scope
--> src/analyze.rs:32:17
|
32 | Assign(place_and_rval) => match &place_and_rval.1 {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/analyze.rs:46:36
|
46 | fn not_ssa(flag_map: &mut IndexVec<Local, SsaKind>, local: Local) {
| - ^^^^^ not found in this scope
| |
| help: you might be missing a type parameter: `<Local>`
error[E0412]: cannot find type `Local` in this scope
--> src/analyze.rs:46:60
|
46 | fn not_ssa(flag_map: &mut IndexVec<Local, SsaKind>, local: Local) {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/base.rs:75:29
|
39 | pub(crate) fn codegen_fn<'tcx>(
| - help: you might be missing a type parameter: `, BasicBlock`
...
75 | let block_map: IndexVec<BasicBlock, Block> =
| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `START_BLOCK` in this scope
--> src/base.rs:255:69
|
255 | fx.bcx.append_block_params_for_function_params(fx.block_map[START_BLOCK]);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_block`
error[E0425]: cannot find value `START_BLOCK` in this scope
--> src/base.rs:256:45
|
256 | fx.bcx.switch_to_block(fx.block_map[START_BLOCK]);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_block`
error[E0425]: cannot find value `START_BLOCK` in this scope
--> src/base.rs:267:69
|
267 | fx.bcx.append_block_params_for_function_params(fx.block_map[START_BLOCK]);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_block`
error[E0425]: cannot find value `START_BLOCK` in this scope
--> src/base.rs:268:45
|
268 | fx.bcx.switch_to_block(fx.block_map[START_BLOCK]);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_block`
error[E0412]: cannot find type `Statement` in this scope
--> src/base.rs:496:12
|
496 | stmt: &Statement<'tcx>,
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Place` in this scope
--> src/base.rs:840:12
|
840 | place: Place<'tcx>,
| ^^^^^ help: a struct with a similar name exists: `CPlace`
|
::: src/value_and_place.rs:293:1
|
293 | pub(crate) struct CPlace<'tcx> {
| ------------------------------ similarly named struct `CPlace` defined here
error[E0412]: cannot find type `Operand` in this scope
--> src/base.rs:908:15
|
908 | operand: &Operand<'tcx>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/codegen_i128.rs:9:13
|
9 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> src/common.rs:249:27
|
249 | pub(crate) mir: &'tcx Body<'tcx>,
| ^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/common.rs:253:36
|
238 | pub(crate) struct FunctionCx<'m, 'clif, 'tcx: 'm> {
| - help: you might be missing a type parameter: `, BasicBlock`
...
253 | pub(crate) block_map: IndexVec<BasicBlock, Block>,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/common.rs:254:36
|
238 | pub(crate) struct FunctionCx<'m, 'clif, 'tcx: 'm> {
| - help: you might be missing a type parameter: `, Local`
...
254 | pub(crate) local_map: IndexVec<Local, CPlace<'tcx>>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/common.rs:337:40
|
337 | pub(crate) fn get_block(&self, bb: BasicBlock) -> Block {
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/common.rs:341:53
|
341 | pub(crate) fn get_local_place(&mut self, local: Local) -> CPlace<'tcx> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `DataId` in this scope
--> src/constant.rs:18:21
|
16 | pub(crate) struct ConstantCx {
| - help: you might be missing a type parameter: `<DataId>`
17 | todo: Vec<TodoItem>,
18 | done: FxHashSet<DataId>,
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `DataId` in this scope
--> src/constant.rs:19:37
|
16 | pub(crate) struct ConstantCx {
| - help: you might be missing a type parameter: `<DataId>`
...
19 | anon_allocs: FxHashMap<AllocId, DataId>,
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Constant` in this scope
--> src/constant.rs:123:16
|
16 | pub(crate) struct ConstantCx {
| ---------------------------- similarly named struct `ConstantCx` defined here
...
123 | constant: &Constant<'tcx>,
| ^^^^^^^^ help: a struct with a similar name exists: `ConstantCx`
error[E0412]: cannot find type `DataId` in this scope
--> src/constant.rs:295:6
|
295 | ) -> DataId {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `DataId` in this scope
--> src/constant.rs:307:6
|
307 | ) -> DataId {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Operand` in this scope
--> src/constant.rs:490:15
|
490 | operand: &Operand<'tcx>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:278:11
|
278 | arch: InlineAsmArch,
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmReg` in this scope
--> src/inline_asm.rs:283:27
|
276 | struct InlineAssemblyGenerator<'a, 'tcx> {
| - help: you might be missing a type parameter: `, InlineAsmReg`
...
283 | registers: Vec<Option<InlineAsmReg>>,
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `allocatable_registers` in this scope
--> src/inline_asm.rs:293:19
|
293 | let map = allocatable_registers(
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmRegClass` in this scope
--> src/inline_asm.rs:418:61
|
418 | let new_slot_fn = |slot_size: &mut Size, reg_class: InlineAsmRegClass| {
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:602:51
|
602 | fn prologue(generated_asm: &mut String, arch: InlineAsmArch) {
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:628:51
|
628 | fn epilogue(generated_asm: &mut String, arch: InlineAsmArch) {
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:654:60
|
654 | fn epilogue_noreturn(generated_asm: &mut String, arch: InlineAsmArch) {
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:668:15
|
668 | arch: InlineAsmArch,
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmReg` in this scope
--> src/inline_asm.rs:669:14
|
669 | reg: InlineAsmReg,
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmArch` in this scope
--> src/inline_asm.rs:699:15
|
699 | arch: InlineAsmArch,
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `InlineAsmReg` in this scope
--> src/inline_asm.rs:700:14
|
700 | reg: InlineAsmReg,
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/intrinsics/llvm.rs:14:20
|
8 | pub(crate) fn codegen_llvm_intrinsic_call<'tcx>(
| - help: you might be missing a type parameter: `, BasicBlock`
...
14 | target: Option<BasicBlock>,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/intrinsics/llvm.rs:159:13
|
159 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0425]: cannot find function `alloc_range` in this scope
--> src/intrinsics/simd.rs:191:61
|
191 | ... .get_bytes_strip_provenance(fx, alloc_range(offset, size))
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/intrinsics/mod.rs:189:20
|
184 | pub(crate) fn codegen_intrinsic_call<'tcx>(
| - help: you might be missing a type parameter: `, BasicBlock`
...
189 | target: Option<BasicBlock>,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BasicBlock` in this scope
--> src/intrinsics/mod.rs:354:25
|
347 | fn codegen_regular_intrinsic_call<'tcx>(
| - help: you might be missing a type parameter: `, BasicBlock`
...
354 | destination: Option<BasicBlock>,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:5:39
|
5 | pub(crate) fn bin_op_to_intcc(bin_op: BinOp, signed: bool) -> Option<IntCC> {
| ^^^^^ not found in this scope
error[E0425]: cannot find value `Equal` in this scope
--> src/num.rs:9:15
|
9 | Eq => Equal,
| ^^^^^ not found in this scope
|
help: consider importing one of these items
|
3 | use core::cmp::Ordering::Equal;
|
3 | use std::cmp::Ordering::Equal;
|
error[E0425]: cannot find value `SignedLessThan` in this scope
--> src/num.rs:12:17
|
12 | SignedLessThan
| ^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `UnsignedLessThan` in this scope
--> src/num.rs:14:17
|
14 | UnsignedLessThan
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SignedLessThanOrEqual` in this scope
--> src/num.rs:19:17
|
19 | SignedLessThanOrEqual
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `UnsignedLessThanOrEqual` in this scope
--> src/num.rs:21:17
|
21 | UnsignedLessThanOrEqual
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `NotEqual` in this scope
--> src/num.rs:24:15
|
24 | Ne => NotEqual,
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SignedGreaterThanOrEqual` in this scope
--> src/num.rs:27:17
|
27 | SignedGreaterThanOrEqual
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `UnsignedGreaterThanOrEqual` in this scope
--> src/num.rs:29:17
|
29 | UnsignedGreaterThanOrEqual
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SignedGreaterThan` in this scope
--> src/num.rs:34:17
|
34 | SignedGreaterThan
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `UnsignedGreaterThan` in this scope
--> src/num.rs:36:17
|
36 | UnsignedGreaterThan
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:45:13
|
45 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:58:13
|
58 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:89:13
|
89 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:110:13
|
110 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:176:13
|
176 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:314:13
|
314 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `BinOp` in this scope
--> src/num.rs:359:13
|
359 | bin_op: BinOp,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:300:9
|
300 | Var(Local, Variable),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:301:13
|
301 | VarPair(Local, Variable, Variable),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:302:13
|
302 | VarLane(Local, Variable, u8),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:300:9
|
299 | pub(crate) enum CPlaceInner {
| - help: you might be missing a type parameter: `<Local>`
300 | Var(Local, Variable),
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:344:16
|
344 | local: Local,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Local` in this scope
--> src/value_and_place.rs:355:16
|
355 | local: Local,
| ^^^^^ not found in this scope
Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0531.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `rustc_codegen_cranelift` due to 584 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment