[INFO] fetching crate seer 0.0.3... [INFO] testing seer-0.0.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate seer 0.0.3 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate seer 0.0.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seer 0.0.3 [INFO] finished tweaking crates.io crate seer 0.0.3 [INFO] tweaked toml for crates.io crate seer 0.0.3 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.1.2 [INFO] [stderr] Downloaded seer-z3 v0.1.2 [INFO] [stderr] Downloaded log_settings v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fd1146b89c6ebc4d85ca1ca6526b1f7f7a5a2ca7f83d93ad2713644e143cc0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fd1146b89c6ebc4d85ca1ca6526b1f7f7a5a2ca7f83d93ad2713644e143cc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fd1146b89c6ebc4d85ca1ca6526b1f7f7a5a2ca7f83d93ad2713644e143cc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd1146b89c6ebc4d85ca1ca6526b1f7f7a5a2ca7f83d93ad2713644e143cc0d", kill_on_drop: false }` [INFO] [stdout] 0fd1146b89c6ebc4d85ca1ca6526b1f7f7a5a2ca7f83d93ad2713644e143cc0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68a9b917dd25da47c89309ac0e9c0e7995e483c3a0bebbdb2f0efe56fba91700 [INFO] running `Command { std: "docker" "start" "-a" "68a9b917dd25da47c89309ac0e9c0e7995e483c3a0bebbdb2f0efe56fba91700", kill_on_drop: false }` [INFO] [stderr] Compiling z3-sys v0.3.0 [INFO] [stderr] Compiling log_settings v0.1.2 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling seer-z3 v0.1.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling cargo_metadata v0.1.2 [INFO] [stderr] Compiling seer v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_math` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate rustc_const_math; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:821:48 [INFO] [stdout] | [INFO] [stdout] 821 | layout::Variants::Single { .. } => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:963:32 [INFO] [stdout] | [INFO] [stdout] 963 | Value::ByRef(_) => bug!("follow_by_ref_value can't result in `ByRef`"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:970:37 [INFO] [stdout] | [INFO] [stdout] 970 | Value::ByValPair(..) => bug!("value_to_primval can't work with fat pointers"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:1220:22 [INFO] [stdout] | [INFO] [stdout] 1220 | _ => bug!("unsized primval ptr read from {:?}", pointee_ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:1377:18 [INFO] [stdout] | [INFO] [stdout] 1377 | _ => bug!("invalid unsizing {:?} -> {:?}", src_ty, dest_ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:1417:26 [INFO] [stdout] | [INFO] [stdout] 1417 | _ => bug!("expected pointer, got {:?}", src), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:1441:18 [INFO] [stdout] | [INFO] [stdout] 1441 | _ => bug!("unsize_into: invalid conversion: {:?} -> {:?}", src_ty, dest_ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | _ => bug!("to_ptr_and_extra: expected Lvalue::Ptr, got {:?}", self), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | _ => bug!("elem_ty_and_len of a TySlice given non-slice lvalue: {:?}", self), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | _ => bug!("elem_ty_and_len expected array or slice, got {:?}", ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | LvalueExtra::None => bug!("expected fat pointer"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | bug!("Rust doesn't support unsized fields in enum variants") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/drop.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | _ => bug!("force_allocation broken"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | Value::ByRef(_) => bug!("just read the value, can't be byref"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | Value::ByValPair(..) => bug!("atomic_xchg doesn't work with nonprimitives"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | Value::ByRef(_) => bug!("just read the value, can't be byref"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | Value::ByValPair(..) => bug!("atomic_cxchg doesn't work with nonprimitives"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | Value::ByRef(_) => bug!("just read the value, can't be byref"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | Value::ByValPair(..) => bug!("atomic_xadd_relaxed doesn't work with nonprimitives"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:242:26 [INFO] [stdout] | [INFO] [stdout] 242 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:278:43 [INFO] [stdout] | [INFO] [stdout] 278 | Lvalue::Ptr { .. } => bug!("init intrinsic tried to write to fat ptr target"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:453:43 [INFO] [stdout] | [INFO] [stdout] 453 | Lvalue::Ptr { .. } => bug!("uninit intrinsic tried to write to fat ptr target"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:527:30 [INFO] [stdout] | [INFO] [stdout] 527 | _ => bug!("We already checked that we know this type"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | _ => bug!("size_of_val::<{:?}>", ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:617:22 [INFO] [stdout] | [INFO] [stdout] 617 | _ => bug!("not a numeric intrinsic: {}", name), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/mod.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | _ => bug!("bad ABI for ClosureOnceShim: {:?}", sig.abi), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/mod.rs:479:26 [INFO] [stdout] | [INFO] [stdout] 479 | _ => bug!("virtual call first arg cannot be a constant"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/value.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | _ => bug!("can't make uint with size {}", size), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/value.rs:382:18 [INFO] [stdout] | [INFO] [stdout] 382 | _ => bug!("can't make int with size {}", size), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/value.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | _ => bug!("expected ptr and vtable, got {:?}", self), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | _ => bug!("invalid `{}` argument: {:?}", name, bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | "cttz" => integer_intrinsic!(trailing_zeros), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `integer_intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | _ => bug!("invalid `{}` argument: {:?}", name, bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | "ctpop" => integer_intrinsic!(count_ones), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `integer_intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | _ => bug!("invalid `{}` argument: {:?}", name, bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | "ctlz" => integer_intrinsic!(leading_zeros), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `integer_intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | _ => bug!("invalid `{}` argument: {:?}", name, bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | "bswap" => integer_intrinsic!(swap_bytes), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `integer_intrinsic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/drop.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | _ => bug!("expected fat ptr, got {:?}", arg), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/memory.rs:1098:18 [INFO] [stdout] | [INFO] [stdout] 1098 | _ => bug!("bad integer size: {}", size), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/memory.rs:1027:30 [INFO] [stdout] | [INFO] [stdout] 1027 | _ => bug!("unexpected PrimVal::Bytes size"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/memory.rs:984:26 [INFO] [stdout] | [INFO] [stdout] 984 | _ => bug!("unexpected PrimVal::Bytes size"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/memory.rs:513:39 [INFO] [stdout] | [INFO] [stdout] 513 | ... (Some(_), Some(_)) => bug!("miri invariant broken: an allocation id exists that points to both a function and a memory location"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/mod.rs:457:29 [INFO] [stdout] | [INFO] [stdout] 457 | ... bug!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/terminator/mod.rs:127:42 [INFO] [stdout] | [INFO] [stdout] 127 | ... ref other => bug!("instance def ty: {:?}", other), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/step.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | bug!("static found but isn't a static: {:?}", def); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/step.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | bug!("static def id doesn't point to item"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/step.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | bug!("static def id doesn't point to static"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | (Rem, k) if k.is_int() => return int_arithmetic!(k, overflowing_rem, l, r), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | (Div, k) if k.is_int() => return int_arithmetic!(k, overflowing_div, l, r), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | (Mul, k) if k.is_int() => return int_arithmetic!(k, overflowing_mul, l, r), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | (Sub, k) if k.is_int() => return int_arithmetic!(k, overflowing_sub, l, r), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | (Add, k) if k.is_int() => return int_arithmetic!(k, overflowing_add, l, r), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | _ => bug!("invalid float op: `{:?}`", op), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | _ => bug!("it has already been checked that this is a shift op"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | _ => bug!("int_shift should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | Shr => int_shift!(left_kind, overflowing_shr, l, r as u32), [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_shift` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | _ => bug!("int_shift should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | Shl => int_shift!(left_kind, overflowing_shl, l, r as u32), [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_shift` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | ... _ => bug!("We already established it has to be one of these operators."), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | _ => bug!("int_arithmetic should only be called on int primvals"), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | return int_arithmetic!(left_kind, overflowing_sub, left_offset, right_offset); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `int_arithmetic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/memory.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | bug!("tried to mark an allocation ({:?}) as static twice", alloc_id); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/lvalue.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | _ => bug!("can only deref pointer types"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:1198:13 [INFO] [stdout] | [INFO] [stdout] 1198 | bug!("primitive read failed for type: {:?}", ty); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:695:21 [INFO] [stdout] | [INFO] [stdout] 695 | bug!("rustc only generates Rvalue::Discriminant for enums"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:676:38 [INFO] [stdout] | [INFO] [stdout] 676 | ref other => bug!("reify fn pointer on {:?}", other), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:667:38 [INFO] [stdout] | [INFO] [stdout] 667 | ref other => bug!("fn to unsafe fn cast on {:?}", other), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:659:38 [INFO] [stdout] | [INFO] [stdout] 659 | ref other => bug!("reify fn pointer on {:?}", other), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:634:57 [INFO] [stdout] | [INFO] [stdout] 634 | ... (Value::ByVal(_), _) => bug!("expected fat ptr"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | bug!("attempted to take a reference to an enum downcast lvalue"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 550 | _ => bug!("tried to assign array-repeat to non-array type {:?}", dest_ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval_context.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | bug!("StackPopCleanup::MarkStatic on: {:?}", frame.return_lvalue); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/cast.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | fn cast_from_signed_int(&self, val: i128, ty: ty::Ty<'tcx>) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | IntTy::I8 => v as i8 as u128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | IntTy::I16 => v as i16 as u128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | IntTy::I32 => v as i32 as u128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | IntTy::I64 => v as i64 as u128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | IntTy::I128 => v as u128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | IntTy::Is => { [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | UintTy::U8 => v as u8 as u128, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | UintTy::U16 => v as u16 as u128, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | UintTy::U32 => v as u32 as u128, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | UintTy::U64 => v as u64 as u128, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | UintTy::U128 => v, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | UintTy::Us => { [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/cast.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | ty: ty::Ty<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstFloat` [INFO] [stdout] --> src/cast.rs:108:59 [INFO] [stdout] | [INFO] [stdout] 108 | TyFloat(fty) if negative => Ok(PrimVal::Bytes(ConstFloat::from_i128(v as i128, fty).bits)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstFloat` [INFO] [stdout] --> src/cast.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | TyFloat(fty) => Ok(PrimVal::Bytes(ConstFloat::from_u128(v, fty).bits)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/cast.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | TyInt(IntTy::Is) | [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/cast.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | TyUint(UintTy::Us) => Ok(PrimVal::Ptr(ptr)), [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | operator: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | operator: mir::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | Compare { op: mir::BinOp, kind: PrimValKind, lhs: PrimVal, rhs: PrimVal, }, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | operator: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | operator: mir::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new_compare(op: mir::BinOp, kind: PrimValKind, lhs: PrimVal, rhs: PrimVal) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | bin_op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | (mir::BinOp::Eq, _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | (mir::BinOp::Ne, _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | (mir::BinOp::Lt, _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | (mir::BinOp::Le, _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | (mir::BinOp::Gt, _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | (mir::BinOp::Ge, _) => (1, VarType::Bool, PrimValKind::Bool), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | un_op: mir::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | mir::BinOp::Eq => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | mir::BinOp::Ne => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | mir::BinOp::Gt => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:434:21 [INFO] [stdout] | [INFO] [stdout] 434 | mir::BinOp::Lt => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:539:19 [INFO] [stdout] | [INFO] [stdout] 539 | operator: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | (mir::BinOp::Eq, _) => left._eq(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | (mir::BinOp::Ne, _) => left._eq(&right).not(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:549:14 [INFO] [stdout] | [INFO] [stdout] 549 | (mir::BinOp::Lt, kind) if kind.is_signed_int() => left.bvslt(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:550:14 [INFO] [stdout] | [INFO] [stdout] 550 | (mir::BinOp::Lt, _) => left.bvult(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | (mir::BinOp::Le, kind) if kind.is_signed_int() => left.bvsle(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:553:14 [INFO] [stdout] | [INFO] [stdout] 553 | (mir::BinOp::Le, _) => left.bvule(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:555:14 [INFO] [stdout] | [INFO] [stdout] 555 | (mir::BinOp::Gt, kind) if kind.is_signed_int() => left.bvsgt(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:556:14 [INFO] [stdout] | [INFO] [stdout] 556 | (mir::BinOp::Gt, _) => left.bvugt(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | (mir::BinOp::Ge, kind) if kind.is_signed_int() => left.bvsge(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:559:14 [INFO] [stdout] | [INFO] [stdout] 559 | (mir::BinOp::Ge, _) => left.bvuge(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 561 | (mir::BinOp::Add, _) => left.bvadd(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:562:14 [INFO] [stdout] | [INFO] [stdout] 562 | (mir::BinOp::Sub, _) => left.bvsub(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:564:14 [INFO] [stdout] | [INFO] [stdout] 564 | (mir::BinOp::BitXor, PrimValKind::Bool) => left.xor(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 565 | (mir::BinOp::BitXor, _) => left.bvxor(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:567:14 [INFO] [stdout] | [INFO] [stdout] 567 | (mir::BinOp::BitAnd, PrimValKind::Bool) => left.and(&[&right]), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | (mir::BinOp::BitAnd, _) => left.bvand(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | (mir::BinOp::BitOr, PrimValKind::Bool) => left.or(&[&right]), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:571:14 [INFO] [stdout] | [INFO] [stdout] 571 | (mir::BinOp::BitOr, _) => left.bvor(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:573:14 [INFO] [stdout] | [INFO] [stdout] 573 | (mir::BinOp::Mul, _) => left.bvmul(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:574:14 [INFO] [stdout] | [INFO] [stdout] 574 | (mir::BinOp::Shl, _) => left.bvshl(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:576:14 [INFO] [stdout] | [INFO] [stdout] 576 | (mir::BinOp::Shr, kind) if kind.is_signed_int() => left.bvashr(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | (mir::BinOp::Shr, _) => left.bvlshr(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:579:14 [INFO] [stdout] | [INFO] [stdout] 579 | (mir::BinOp::Div, kind) if kind.is_signed_int() => left.bvsdiv(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:580:14 [INFO] [stdout] | [INFO] [stdout] 580 | (mir::BinOp::Div, _) => left.bvudiv(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:582:14 [INFO] [stdout] | [INFO] [stdout] 582 | (mir::BinOp::Rem, kind) if kind.is_signed_int() => left.bvsrem(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:583:14 [INFO] [stdout] | [INFO] [stdout] 583 | (mir::BinOp::Rem, _) => left.bvurem(&right), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | operator: mir::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | mir::UnOp::Not => val.not(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/constraints.rs:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | mir::UnOp::Neg => val.bvneg(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/error.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidBoolOp(mir::BinOp), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/error.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Layout(layout::LayoutError<'tcx>), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/error.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | InvalidBoolOp(mir::BinOp), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | pub mir: &'tcx mir::Mir<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/eval_context.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub span: codemap::Span, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub block: mir::BasicBlock, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | Goto(mir::BasicBlock), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | fn data_layout(&self) -> &layout::TargetDataLayout { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | fn data_layout(&self) -> &layout::TargetDataLayout { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | impl<'a, 'tcx> layout::HasTyCtxt<'tcx> for &'a EvalContext<'a, 'tcx> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'c, 'b, 'a, 'tcx> layout::HasTyCtxt<'tcx> [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/eval_context.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | (self.tcx, ::rustc::ty::ParamEnv::empty(Reveal::All)).layout_of(ty) [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/eval_context.rs:293:36 [INFO] [stdout] | [INFO] [stdout] 293 | Float(ConstFloat { ty: ast::FloatTy::F32, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/eval_context.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | Float(ConstFloat { ty: ast::FloatTy::F64, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:323:97 [INFO] [stdout] | [INFO] [stdout] 323 | pub(super) fn resolve(&self, def_id: DefId, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, ty::Instance<'tcx>> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/eval_context.rs:327:42 [INFO] [stdout] | [INFO] [stdout] 327 | ::rustc::ty::ParamEnv::empty(Reveal::All), // XXX ? [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | ty.is_sized(self.tcx, ty::ParamEnv::empty(Reveal::All), DUMMY_SP) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/eval_context.rs:336:51 [INFO] [stdout] | [INFO] [stdout] 336 | ty.is_sized(self.tcx, ty::ParamEnv::empty(Reveal::All), DUMMY_SP) [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn load_mir(&self, instance: ty::InstanceDef<'tcx>) -> EvalResult<'tcx, &'tcx mir::Mir<'tcx>> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:339:87 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn load_mir(&self, instance: ty::InstanceDef<'tcx>) -> EvalResult<'tcx, &'tcx mir::Mir<'tcx>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | ... ty::InstanceDef::Item(def_id) => self.tcx.maybe_optimized_mir(def_id).ok_or_else(|| EvalError::NoMirFor(self.tcx.item_path_str(def_... [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 402 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/eval_context.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 403 | span: codemap::Span, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:404:20 [INFO] [stdout] | [INFO] [stdout] 404 | mir: &'tcx mir::Mir<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:417:20 [INFO] [stdout] | [INFO] [stdout] 417 | block: mir::START_BLOCK, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:487:18 [INFO] [stdout] | [INFO] [stdout] 487 | rvalue: &mir::Rvalue<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | lvalue: &mir::Lvalue<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:523:21 [INFO] [stdout] | [INFO] [stdout] 523 | mir::AggregateKind::Adt(adt_def, variant_index, _, active_field_index) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:541:71 [INFO] [stdout] | [INFO] [stdout] 541 | let (field_dest, _) = self.lvalue_field(dest, mir::Field::new(field_index), layout)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | ty::TyArray(elem_ty, n) => (elem_ty, n.val.to_const_int().unwrap().to_u64().unwrap()), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 588 | NullaryOp(mir::NullOp::Box, ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:603:23 [INFO] [stdout] | [INFO] [stdout] 603 | NullaryOp(mir::NullOp::SizeOf, ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | ty::TyFnDef(def_id, substs) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:663:25 [INFO] [stdout] | [INFO] [stdout] 663 | ty::TyFnPtr(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:671:25 [INFO] [stdout] | [INFO] [stdout] 671 | ty::TyClosure(def_id, substs) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:672:86 [INFO] [stdout] | [INFO] [stdout] 672 | ... let instance = resolve_closure(self.tcx, def_id, substs, ty::ClosureKind::FnOnce); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:685:24 [INFO] [stdout] | [INFO] [stdout] 685 | if let ty::TyAdt(adt_def, _) = ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | ty::TyRawPtr(ref tam) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | ty::TyRef(_, ref tam) => !self.type_is_sized(tam.ty), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | ty::TyAdt(def, _) if def.is_box() => !self.type_is_sized(ty.boxed_ty()), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:770:59 [INFO] [stdout] | [INFO] [stdout] 770 | pub(super) fn eval_operand_to_primval(&mut self, op: &mir::Operand<'tcx>) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:776:48 [INFO] [stdout] | [INFO] [stdout] 776 | pub(super) fn eval_operand(&mut self, op: &mir::Operand<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:784:21 [INFO] [stdout] | [INFO] [stdout] 784 | let mir::Constant { ref literal, .. } = **constant; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/eval_context.rs:786:21 [INFO] [stdout] | [INFO] [stdout] 786 | Literal::Value { ref value } => self.const_to_value(&value.val)?, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/eval_context.rs:787:21 [INFO] [stdout] | [INFO] [stdout] 787 | Literal::Promoted { index } => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:808:13 [INFO] [stdout] | [INFO] [stdout] 808 | layout::Variants::Single { index } => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | layout::Variants::Tagged { .. } | [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | layout::Variants::NicheFilling { .. } => {}, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:815:63 [INFO] [stdout] | [INFO] [stdout] 815 | let (discr_lvalue, discr) = self.lvalue_field(lvalue, mir::Field::new(0), layout)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | layout::Variants::Single { .. } => bug!(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | layout::Variants::Tagged { .. } => raw_discr_primval.to_bytes()?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | layout::Variants::NicheFilling { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:859:13 [INFO] [stdout] | [INFO] [stdout] 859 | layout::Variants::Single { index } => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:864:32 [INFO] [stdout] | [INFO] [stdout] 864 | ... layout::Abi::Uninhabited); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | layout::Variants::Tagged { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:872:67 [INFO] [stdout] | [INFO] [stdout] 872 | let (discr_dest, discr) = self.lvalue_field(dest, mir::Field::new(0), layout)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:875:13 [INFO] [stdout] | [INFO] [stdout] 875 | layout::Variants::NicheFilling { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:883:49 [INFO] [stdout] | [INFO] [stdout] 883 | self.lvalue_field(dest, mir::Field::new(0), layout)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:894:47 [INFO] [stdout] | [INFO] [stdout] 894 | pub(super) fn operand_ty(&self, operand: &mir::Operand<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1121:13 [INFO] [stdout] | [INFO] [stdout] 1121 | ty::TyBool => PrimValKind::Bool, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | ty::TyChar => PrimValKind::Char, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1124:13 [INFO] [stdout] | [INFO] [stdout] 1124 | ty::TyInt(int_ty) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | ty::TyUint(uint_ty) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | ty::TyFloat(FloatTy::F32) => PrimValKind::F32, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/eval_context.rs:1150:25 [INFO] [stdout] | [INFO] [stdout] 1150 | ty::TyFloat(FloatTy::F32) => PrimValKind::F32, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | ty::TyFloat(FloatTy::F64) => PrimValKind::F64, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/eval_context.rs:1151:25 [INFO] [stdout] | [INFO] [stdout] 1151 | ty::TyFloat(FloatTy::F64) => PrimValKind::F64, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1153:13 [INFO] [stdout] | [INFO] [stdout] 1153 | ty::TyFnPtr(_) => PrimValKind::FnPtr, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1155 | ty::TyRef(_, ref tam) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1156:13 [INFO] [stdout] | [INFO] [stdout] 1156 | ty::TyRawPtr(ref tam) if self.type_is_sized(tam.ty) => PrimValKind::Ptr, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1158:13 [INFO] [stdout] | [INFO] [stdout] 1158 | ty::TyAdt(ref def, _) if def.is_box() => PrimValKind::Ptr, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1160:13 [INFO] [stdout] | [INFO] [stdout] 1160 | ty::TyAdt(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:1162:21 [INFO] [stdout] | [INFO] [stdout] 1162 | layout::Abi::Scalar(ref scalar) => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1185 | ty::TyBool if val.is_concrete() && val.to_bytes()? > 1 => Err(EvalError::InvalidBool), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | ty::TyChar if val.is_concrete() && ::std::char::from_u32(val.to_bytes()? as u32).is_none() [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | ty::TyDynamic(..) => self.memory.read_ptr(extra)?, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1211:17 [INFO] [stdout] | [INFO] [stdout] 1211 | ty::TySlice(..) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1212:17 [INFO] [stdout] | [INFO] [stdout] 1212 | ty::TyStr => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | ty::TyBool => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1241:13 [INFO] [stdout] | [INFO] [stdout] 1241 | ty::TyChar => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1253:13 [INFO] [stdout] | [INFO] [stdout] 1253 | ty::TyInt(int_ty) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1276:13 [INFO] [stdout] | [INFO] [stdout] 1276 | ty::TyUint(uint_ty) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1294:13 [INFO] [stdout] | [INFO] [stdout] 1294 | ty::TyFloat(FloatTy::F32) => PrimVal::from_f32(self.memory.read_f32(ptr)?), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/eval_context.rs:1294:25 [INFO] [stdout] | [INFO] [stdout] 1294 | ty::TyFloat(FloatTy::F32) => PrimVal::from_f32(self.memory.read_f32(ptr)?), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1295:13 [INFO] [stdout] | [INFO] [stdout] 1295 | ty::TyFloat(FloatTy::F64) => PrimVal::from_f64(self.memory.read_f64(ptr)?), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/eval_context.rs:1295:25 [INFO] [stdout] | [INFO] [stdout] 1295 | ty::TyFloat(FloatTy::F64) => PrimVal::from_f64(self.memory.read_f64(ptr)?), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | ty::TyFnPtr(_) => self.memory.read_ptr(ptr)?, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | ty::TyRef(_, ref tam) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1299:13 [INFO] [stdout] | [INFO] [stdout] 1299 | ty::TyRawPtr(ref tam) => return self.read_ptr(ptr, tam.ty).map(Some), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1301:13 [INFO] [stdout] | [INFO] [stdout] 1301 | ty::TyAdt(def, _) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:1306:24 [INFO] [stdout] | [INFO] [stdout] 1306 | if let layout::Abi::Scalar(ref scalar) = self.type_layout(ty)?.abi { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:1308:28 [INFO] [stdout] | [INFO] [stdout] 1308 | if let layout::Int(_, s) = scalar.value { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:1336:39 [INFO] [stdout] | [INFO] [stdout] 1336 | pub(super) fn mir(&self) -> &'tcx mir::Mir<'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1357:15 [INFO] [stdout] | [INFO] [stdout] 1357 | (&ty::TyArray(_, length), &ty::TySlice(_)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1357:40 [INFO] [stdout] | [INFO] [stdout] 1357 | (&ty::TyArray(_, length), &ty::TySlice(_)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1362:15 [INFO] [stdout] | [INFO] [stdout] 1362 | (&ty::TyDynamic(..), &ty::TyDynamic(..)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1362:35 [INFO] [stdout] | [INFO] [stdout] 1362 | (&ty::TyDynamic(..), &ty::TyDynamic(..)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1368:18 [INFO] [stdout] | [INFO] [stdout] 1368 | (_, &ty::TyDynamic(ref data, _)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1389:15 [INFO] [stdout] | [INFO] [stdout] 1389 | (&ty::TyRef(_, ref s), &ty::TyRef(_, ref d)) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1389:37 [INFO] [stdout] | [INFO] [stdout] 1389 | (&ty::TyRef(_, ref s), &ty::TyRef(_, ref d)) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1390:15 [INFO] [stdout] | [INFO] [stdout] 1390 | (&ty::TyRef(_, ref s), &ty::TyRawPtr(ref d)) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1390:37 [INFO] [stdout] | [INFO] [stdout] 1390 | (&ty::TyRef(_, ref s), &ty::TyRawPtr(ref d)) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1391:15 [INFO] [stdout] | [INFO] [stdout] 1391 | (&ty::TyRawPtr(ref s), &ty::TyRawPtr(ref d)) => self.unsize_into_ptr(src, src_ty, dest, dest_ty, s.ty, d.ty), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1391:37 [INFO] [stdout] | [INFO] [stdout] 1391 | (&ty::TyRawPtr(ref s), &ty::TyRawPtr(ref d)) => self.unsize_into_ptr(src, src_ty, dest, dest_ty, s.ty, d.ty), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1392:15 [INFO] [stdout] | [INFO] [stdout] 1392 | (&ty::TyAdt(def_a, substs_a), &ty::TyAdt(def_b, substs_b)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1392:44 [INFO] [stdout] | [INFO] [stdout] 1392 | (&ty::TyAdt(def_a, substs_a), &ty::TyAdt(def_b, substs_b)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:1496:16 [INFO] [stdout] | [INFO] [stdout] 1496 | local: mir::Local, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:1513:36 [INFO] [stdout] | [INFO] [stdout] 1513 | pub fn get_local(&self, local: mir::Local) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:1518:36 [INFO] [stdout] | [INFO] [stdout] 1518 | fn set_local(&mut self, local: mir::Local, value: Value) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/eval_context.rs:1530:21 [INFO] [stdout] | [INFO] [stdout] 1530 | impl IntegerExt for layout::Integer { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/eval_context.rs:1534:19 [INFO] [stdout] | [INFO] [stdout] 1534 | I8 => Size::from_bits(8), [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/eval_context.rs:1535:20 [INFO] [stdout] | [INFO] [stdout] 1535 | I16 => Size::from_bits(16), [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/eval_context.rs:1536:20 [INFO] [stdout] | [INFO] [stdout] 1536 | I32 => Size::from_bits(32), [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/eval_context.rs:1537:20 [INFO] [stdout] | [INFO] [stdout] 1537 | I64 => Size::from_bits(64), [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/eval_context.rs:1538:21 [INFO] [stdout] | [INFO] [stdout] 1538 | I128 => Size::from_bits(128), [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1544:77 [INFO] [stdout] | [INFO] [stdout] 1544 | pub fn monomorphize_field_ty<'a, 'tcx:'a >(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: &ty::FieldDef, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/eval_context.rs:1563:48 [INFO] [stdout] | [INFO] [stdout] 1563 | impl<'b, 'tcx: 'b> IntoValTyPair<'tcx> for &'b mir::Operand<'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1576:13 [INFO] [stdout] | [INFO] [stdout] 1576 | substs: ty::ClosureSubsts<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1577:21 [INFO] [stdout] | [INFO] [stdout] 1577 | requested_kind: ty::ClosureKind, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1578:6 [INFO] [stdout] | [INFO] [stdout] 1578 | ) -> ty::Instance<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1582:14 [INFO] [stdout] | [INFO] [stdout] 1582 | _ => ty::Instance::new(def_id, substs.substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1589:13 [INFO] [stdout] | [INFO] [stdout] 1589 | substs: ty::ClosureSubsts<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1590:6 [INFO] [stdout] | [INFO] [stdout] 1590 | ) -> ty::Instance<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1596:31 [INFO] [stdout] | [INFO] [stdout] 1596 | .find(|it| it.kind == ty::AssociatedKind::Method) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1598:15 [INFO] [stdout] | [INFO] [stdout] 1598 | let def = ty::InstanceDef::ClosureOnceShim { call_once }; [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/eval_context.rs:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | Kind::from(self_ty), [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/eval_context.rs:1608:9 [INFO] [stdout] | [INFO] [stdout] 1608 | Kind::from(sig.inputs()[0]), [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1612:5 [INFO] [stdout] | [INFO] [stdout] 1612 | ty::Instance { def, substs } [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1615:52 [INFO] [stdout] | [INFO] [stdout] 1615 | fn needs_fn_once_adapter_shim(actual_closure_kind: ty::ClosureKind, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1616:51 [INFO] [stdout] | [INFO] [stdout] 1616 | ... trait_closure_kind: ty::ClosureKind) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1620:10 [INFO] [stdout] | [INFO] [stdout] 1620 | (ty::ClosureKind::Fn, ty::ClosureKind::Fn) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1620:31 [INFO] [stdout] | [INFO] [stdout] 1620 | (ty::ClosureKind::Fn, ty::ClosureKind::Fn) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1621:10 [INFO] [stdout] | [INFO] [stdout] 1621 | (ty::ClosureKind::FnMut, ty::ClosureKind::FnMut) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1621:34 [INFO] [stdout] | [INFO] [stdout] 1621 | (ty::ClosureKind::FnMut, ty::ClosureKind::FnMut) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1622:10 [INFO] [stdout] | [INFO] [stdout] 1622 | (ty::ClosureKind::FnOnce, ty::ClosureKind::FnOnce) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1622:35 [INFO] [stdout] | [INFO] [stdout] 1622 | (ty::ClosureKind::FnOnce, ty::ClosureKind::FnOnce) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1626:10 [INFO] [stdout] | [INFO] [stdout] 1626 | (ty::ClosureKind::Fn, ty::ClosureKind::FnMut) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1626:31 [INFO] [stdout] | [INFO] [stdout] 1626 | (ty::ClosureKind::Fn, ty::ClosureKind::FnMut) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1632:10 [INFO] [stdout] | [INFO] [stdout] 1632 | (ty::ClosureKind::Fn, ty::ClosureKind::FnOnce) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1632:31 [INFO] [stdout] | [INFO] [stdout] 1632 | (ty::ClosureKind::Fn, ty::ClosureKind::FnOnce) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1633:10 [INFO] [stdout] | [INFO] [stdout] 1633 | (ty::ClosureKind::FnMut, ty::ClosureKind::FnOnce) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1633:34 [INFO] [stdout] | [INFO] [stdout] 1633 | (ty::ClosureKind::FnMut, ty::ClosureKind::FnOnce) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/eval_context.rs:1694:6 [INFO] [stdout] | [INFO] [stdout] 1694 | ) -> ty::Instance<'tcx> [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/eval_context.rs:1697:38 [INFO] [stdout] | [INFO] [stdout] 1697 | let substs = tcx.intern_substs(&[Kind::from(ty)]); [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/eval_context.rs:1698:70 [INFO] [stdout] | [INFO] [stdout] 1698 | ::rustc::ty::Instance::resolve(tcx, ::rustc::ty::ParamEnv::empty(Reveal::All), def_id, substs).unwrap() [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/executor.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | goto_block: mir::BasicBlock, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/executor.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let instance = ty::Instance::mono(tcx, def_id); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefPathData` [INFO] [stdout] --> src/executor.rs:218:70 [INFO] [stdout] | [INFO] [stdout] 218 | if tcx.def_key(instance.def_id()).disambiguated_data.data == DefPathData::ClosureExpr { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DefPathData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | local: mir::Local, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub(super) instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub(super) promoted: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | ty::TyArray(elem, n) => (elem, n.val.to_const_int().unwrap().to_u64().unwrap() as u64), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | ty::TySlice(elem) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn try_read_lvalue(&mut self, lvalue: &mir::Lvalue<'tcx>) -> EvalResult<'tcx, Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | Local(mir::RETURN_POINTER) => Err(EvalError::ReadFromReturnPointer), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let instance = ty::Instance::mono(self.tcx, static_.def_id); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | fn try_read_lvalue_projection(&mut self, proj: &mir::LvalueProjection<'tcx>) -> EvalResult<'tcx, Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Deref` is not bound in all patterns [INFO] [stdout] --> src/lvalue.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Downcast(..) | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `Deref` [INFO] [stdout] 163 | Subslice { .. } | [INFO] [stdout] | ^^^^^^^^^^^^^^^ pattern doesn't bind `Deref` [INFO] [stdout] 164 | // reading index 0 or index 1 from a ByVal or ByVal pair could be optimized [INFO] [stdout] 165 | ConstantIndex { .. } | Index(_) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `Deref` [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Deref` [INFO] [stdout] 166 | // No way to optimize this projection any better than the normal lvalue path [INFO] [stdout] 167 | Deref => Ok(None), [INFO] [stdout] | ----- variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Deref` [INFO] [stdout] --> src/lvalue.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Deref => Ok(None), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:171:60 [INFO] [stdout] | [INFO] [stdout] 171 | pub(super) fn eval_and_read_lvalue(&mut self, lvalue: &mir::Lvalue<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:212:55 [INFO] [stdout] | [INFO] [stdout] 212 | pub(super) fn eval_lvalue(&mut self, mir_lvalue: &mir::Lvalue<'tcx>) -> EvalResult<'tcx, Lvalue<'tcx>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | Local(mir::RETURN_POINTER) => self.frame().return_lvalue, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let instance = ty::Instance::mono(self.tcx, static_.def_id); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | field: mir::Field, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | ty::TyDynamic(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | ty::TyStr | ty::TySlice(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | ty::TyStr | ty::TySlice(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | mir::BinOp::Mul, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | proj_elem: &mir::ProjectionElem<'tcx, mir::Local, Ty<'tcx>>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | proj_elem: &mir::ProjectionElem<'tcx, mir::Local, Ty<'tcx>>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | ty::TyRawPtr(ref tam) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | ty::TyRef(_, ref tam) => tam.ty, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/lvalue.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | ty::TyAdt(def, _) if def.is_box() => base_ty.boxed_ty(), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/lvalue.rs:494:45 [INFO] [stdout] | [INFO] [stdout] 494 | pub(super) fn lvalue_ty(&self, lvalue: &mir::Lvalue<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/memory.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | functions: HashMap>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/memory.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 178 | function_alloc_cache: HashMap, AllocId>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/memory.rs:230:49 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn create_fn_alloc(&mut self, instance: ty::Instance<'tcx>) -> Pointer { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn endianness(&self) -> layout::Endian { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/memory.rs:471:60 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn get_fn(&self, ptr: Pointer) -> EvalResult<'tcx, ty::Instance<'tcx>> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/memory.rs:779:25 [INFO] [stdout] | [INFO] [stdout] 779 | mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:846:34 [INFO] [stdout] | [INFO] [stdout] 846 | let src_idx = if let layout::Endian::Big = self.endianness() { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:992:21 [INFO] [stdout] | [INFO] [stdout] 992 | layout::Endian::Little => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:997:21 [INFO] [stdout] | [INFO] [stdout] 997 | layout::Endian::Big => { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/memory.rs:1036:29 [INFO] [stdout] | [INFO] [stdout] 1036 | ... mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1197:38 [INFO] [stdout] | [INFO] [stdout] 1197 | fn write_target_uint(endianness: layout::Endian, mut target: &mut [u8], data: u128) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | layout::Endian::Little => target.write_uint128::(data, len), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1201:13 [INFO] [stdout] | [INFO] [stdout] 1201 | layout::Endian::Big => target.write_uint128::(data, len), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1205:37 [INFO] [stdout] | [INFO] [stdout] 1205 | fn write_target_int(endianness: layout::Endian, mut target: &mut [u8], data: i128) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | layout::Endian::Little => target.write_int128::(data, len), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1211:13 [INFO] [stdout] | [INFO] [stdout] 1211 | layout::Endian::Big => target.write_int128::(data, len), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1216:33 [INFO] [stdout] | [INFO] [stdout] 1216 | fn read_target_uint(endianness: layout::Endian, sbytes: &[SByte]) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1228:9 [INFO] [stdout] | [INFO] [stdout] 1228 | layout::Endian::Little => source.read_uint128::(source.len()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1229:9 [INFO] [stdout] | [INFO] [stdout] 1229 | layout::Endian::Big => source.read_uint128::(source.len()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1233:32 [INFO] [stdout] | [INFO] [stdout] 1233 | fn read_target_int(endianness: layout::Endian, sbytes: &[SByte]) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1245:9 [INFO] [stdout] | [INFO] [stdout] 1245 | layout::Endian::Little => source.read_int128::(source.len()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1246:9 [INFO] [stdout] | [INFO] [stdout] 1246 | layout::Endian::Big => source.read_int128::(source.len()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1250:32 [INFO] [stdout] | [INFO] [stdout] 1250 | fn read_target_f32(endianness: layout::Endian, sbytes: &[SByte]) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1262:9 [INFO] [stdout] | [INFO] [stdout] 1262 | layout::Endian::Little => source.read_f32::(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1263:9 [INFO] [stdout] | [INFO] [stdout] 1263 | layout::Endian::Big => source.read_f32::(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1267:32 [INFO] [stdout] | [INFO] [stdout] 1267 | fn read_target_f64(endianness: layout::Endian, sbytes: &[SByte]) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | layout::Endian::Little => source.read_f64::(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/memory.rs:1280:9 [INFO] [stdout] | [INFO] [stdout] 1280 | layout::Endian::Big => source.read_f64::(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | left: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | right: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | left: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | right: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | left: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | right: &mir::Operand<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | bin_op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/operator.rs:156:66 [INFO] [stdout] | [INFO] [stdout] 156 | ... let pointee_ty = left_ty.builtin_deref(true, ty::LvaluePreference::NoPreference).expect("Offset called on non-ptr type").ty; [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Ge` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ ^^ ^^ -- ^^^ pattern doesn't bind `Ge` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `Ge` [INFO] [stdout] | | pattern doesn't bind `Ge` [INFO] [stdout] | pattern doesn't bind `Ge` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Ge` [INFO] [stdout] --> src/operator.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Gt` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ ^^ -- ^^ ^^^ pattern doesn't bind `Gt` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Gt` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `Gt` [INFO] [stdout] | pattern doesn't bind `Gt` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Gt` [INFO] [stdout] --> src/operator.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Le` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ -- ^^ ^^ ^^^ pattern doesn't bind `Le` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Le` [INFO] [stdout] | | | pattern doesn't bind `Le` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `Le` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Le` [INFO] [stdout] --> src/operator.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Lt` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | -- ^^ ^^ ^^ ^^^ pattern doesn't bind `Lt` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Lt` [INFO] [stdout] | | | pattern doesn't bind `Lt` [INFO] [stdout] | | pattern doesn't bind `Lt` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Lt` [INFO] [stdout] --> src/operator.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Sub` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^ ^^ ^^ ^^ --- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Sub` [INFO] [stdout] | | | pattern doesn't bind `Sub` [INFO] [stdout] | | pattern doesn't bind `Sub` [INFO] [stdout] | pattern doesn't bind `Sub` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Sub` [INFO] [stdout] --> src/operator.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | Lt | Le | Gt | Ge | Sub [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Add` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | --- ^^^^^^ ^^^ pattern doesn't bind `Add` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Add` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Add` [INFO] [stdout] --> src/operator.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BitAnd` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | ^^^ ------ ^^^ pattern doesn't bind `BitAnd` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BitAnd` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BitAnd` [INFO] [stdout] --> src/operator.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Sub` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | ^^^ ^^^^^^ --- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Sub` [INFO] [stdout] | pattern doesn't bind `Sub` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Sub` [INFO] [stdout] --> src/operator.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | Add | BitAnd | Sub [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Add` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | Add | BitAnd [INFO] [stdout] | --- ^^^^^^ pattern doesn't bind `Add` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Add` [INFO] [stdout] --> src/operator.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | Add | BitAnd [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BitAnd` is not bound in all patterns [INFO] [stdout] --> src/operator.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | Add | BitAnd [INFO] [stdout] | ^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `BitAnd` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BitAnd` [INFO] [stdout] --> src/operator.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | Add | BitAnd [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/operator.rs:270:48 [INFO] [stdout] | [INFO] [stdout] 270 | (_, F32) => float_op(bin_op, l, r, FloatTy::F32), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/operator.rs:271:48 [INFO] [stdout] | [INFO] [stdout] 271 | (_, F64) => float_op(bin_op, l, r, FloatTy::F64), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | bin_op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | bin_op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | if bin_op == mir::BinOp::Shl || bin_op == mir::BinOp::Shr { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:361:51 [INFO] [stdout] | [INFO] [stdout] 361 | if bin_op == mir::BinOp::Shl || bin_op == mir::BinOp::Shr { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | mir::BinOp::Shl => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | mir::BinOp::Shr => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | bin_op: mir::BinOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/operator.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | un_op: mir::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | }.visit_statement(block, stmt, mir::Location { block, statement_index: stmt_id }); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | }.visit_terminator(block, terminator, mir::Location { block, statement_index: stmt_id }); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn statement(&mut self, stmt: &mir::Statement<'tcx>) -> EvalResult<'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | terminator: &mir::Terminator<'tcx>) [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | mir: &'tcx mir::Mir<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/step.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subst` [INFO] [stdout] --> src/step.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | substs: &'tcx subst::Substs<'tcx>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `subst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/step.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | ty::ParamEnv::empty(Reveal::All), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/step.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | ty::ParamEnv::empty(Reveal::All), [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/step.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | let name = ty::tls::with(|tcx| tcx.item_path_str(def_id)); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | fn visit_constant(&mut self, constant: &mir::Constant<'tcx>, location: mir::Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:189:76 [INFO] [stdout] | [INFO] [stdout] 189 | fn visit_constant(&mut self, constant: &mir::Constant<'tcx>, location: mir::Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | mir::Literal::Value { value: &ty::Const { val: ConstVal::Unevaluated(def_id, substs), .. } } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/step.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | mir::Literal::Value { value: &ty::Const { val: ConstVal::Unevaluated(def_id, substs), .. } } => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstVal` [INFO] [stdout] --> src/step.rs:193:60 [INFO] [stdout] | [INFO] [stdout] 193 | mir::Literal::Value { value: &ty::Const { val: ConstVal::Unevaluated(def_id, substs), .. } } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ConstVal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | mir::Literal::Value { .. } => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | mir::Literal::Promoted { index } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | lvalue: &mir::Lvalue<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | location: mir::Location [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/step.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if let mir::Lvalue::Static(ref static_) = *lvalue { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/step.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | if let hir::map::Node::NodeItem(&hir::Item { ref node, .. }) = node_item { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/step.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | if let hir::map::Node::NodeItem(&hir::Item { ref node, .. }) = node_item { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/step.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | if let hir::ItemStatic(_, m, _) = *node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/step.rs:235:69 [INFO] [stdout] | [INFO] [stdout] 235 | self.global_item(def_id, substs, span, m == hir::MutImmutable); [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/step.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | if let hir::def::Def::Static(_, mutable) = def { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/drop.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn drop_lvalue(&mut self, lval: Lvalue<'tcx>, instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/drop.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn drop(&mut self, arg: Value, mut instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/drop.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if let ty::InstanceDef::DropGlue(_, None) = instance.def { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/drop.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | ty::TyDynamic(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | args: &[mir::Operand<'tcx>], [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | dest_layout: ty::layout::TyLayout<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | target: mir::BasicBlock, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | self.intrinsic_with_overflow(mir::BinOp::Add, &args[0], &args[1], dest, dest_ty)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | self.intrinsic_with_overflow(mir::BinOp::Sub, &args[0], &args[1], dest, dest_ty)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | self.intrinsic_with_overflow(mir::BinOp::Mul, &args[0], &args[1], dest, dest_ty)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | let (val, _) = self.binary_op(mir::BinOp::Eq, old, ty, expect_old, ty)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | "or" => mir::BinOp::BitOr, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | "xor" => mir::BinOp::BitXor, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | "and" => mir::BinOp::BitAnd, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | "xadd" => mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | "xsub" => mir::BinOp::Sub, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | "fadd_fast" => mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | "fsub_fast" => mir::BinOp::Sub, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | "fmul_fast" => mir::BinOp::Mul, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | "fdiv_fast" => mir::BinOp::Div, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | "frem_fast" => mir::BinOp::Rem, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 306 | let env = ty::ParamEnv::empty(Reveal::All); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/terminator/intrinsic.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | let env = ty::ParamEnv::empty(Reveal::All); [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | mir::BinOp::Mul, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | mir::BinOp::Add, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:348:44 [INFO] [stdout] | [INFO] [stdout] 348 | self.intrinsic_overflowing(mir::BinOp::Sub, &args[0], &args[1], dest, dest_ty)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | self.intrinsic_overflowing(mir::BinOp::Mul, &args[0], &args[1], dest, dest_ty)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/intrinsic.rs:356:44 [INFO] [stdout] | [INFO] [stdout] 356 | self.intrinsic_overflowing(mir::BinOp::Add, &args[0], &args[1], dest, dest_ty)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | ty: ty::Ty<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | ty::TyAdt(..) | ty::TyTuple(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:497:33 [INFO] [stdout] | [INFO] [stdout] 497 | ty::TyAdt(..) | ty::TyTuple(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | ty::TyAdt(def, substs) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 522 | ty::TyTuple(ref types, _) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | ty::TyDynamic(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | ty::TySlice(_) | ty::TyStr => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:563:34 [INFO] [stdout] | [INFO] [stdout] 563 | ty::TySlice(_) | ty::TyStr => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | f: &ty::FieldDef, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/intrinsic.rs:579:10 [INFO] [stdout] | [INFO] [stdout] 579 | ) -> ty::Ty<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) fn goto_block(&mut self, target: mir::BasicBlock) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | terminator: &mir::Terminator<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... mir::BinOp::Eq, discr_kind, discr_prim, prim); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | ... Constraint::new_compare(mir::BinOp::Ne, discr_kind, discr_prim, prim)); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | ty::TyFnPtr(sig) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | ... ty::TyFnDef(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | ty::TyFnDef(def_id, substs) => (self.resolve(def_id, substs)?, func_ty.fn_sig(self.tcx)), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ... mir::AssertMessage::BoundsCheck { ref len, ref index } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | ... mir::AssertMessage::Math(ref err) => [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | ... mir::AssertMessage::GeneratorResumedAfterReturn => unimplemented!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | ... mir::AssertMessage::GeneratorResumedAfterPanic => unimplemented!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | ... mir::BinOp::Eq, PrimValKind::Bool, cond_val, expected_val)]; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | ... mir::BinOp::Ne, PrimValKind::Bool, cond_val, expected_val)]; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | ... mir::AssertMessage::BoundsCheck { ref len, ref index } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | ... mir::AssertMessage::Math(ref err) => [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | ... mir::AssertMessage::GeneratorResumedAfterReturn => unimplemented!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... mir::AssertMessage::GeneratorResumedAfterPanic => unimplemented!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | sig: ty::FnSig<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | real_sig: ty::FnSig<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | ty: ty::Ty<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | real_ty: ty::Ty<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeVariants` [INFO] [stdout] --> src/terminator/mod.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | (&TypeVariants::TyRawPtr(_), &TypeVariants::TyRawPtr(_)) => true, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TypeVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeVariants` [INFO] [stdout] --> src/terminator/mod.rs:255:47 [INFO] [stdout] | [INFO] [stdout] 255 | (&TypeVariants::TyRawPtr(_), &TypeVariants::TyRawPtr(_)) => true, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TypeVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeVariants` [INFO] [stdout] --> src/terminator/mod.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | (&TypeVariants::TyRef(_, _), &TypeVariants::TyRef(_, _)) => [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TypeVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeVariants` [INFO] [stdout] --> src/terminator/mod.rs:256:47 [INFO] [stdout] | [INFO] [stdout] 256 | (&TypeVariants::TyRef(_, _), &TypeVariants::TyRef(_, _)) => [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TypeVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | (Abi::Rust, Abi::RustCall) // check the ABIs. This makes the test here non-symmetric. [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | (Abi::Rust, Abi::RustCall) // check the ABIs. This makes the test here non-symmetric. [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeVariants` [INFO] [stdout] --> src/terminator/mod.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | TypeVariants::TyTuple(tys, _) if sig.inputs().len() == tys.len() => [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TypeVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:305:44 [INFO] [stdout] | [INFO] [stdout] 305 | destination: Option<(Lvalue<'tcx>, mir::BasicBlock)>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | arg_operands: &[mir::Operand<'tcx>], [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | sig: ty::FnSig<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | ty::InstanceDef::Intrinsic(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | ty::InstanceDef::ClosureOnceShim{..} => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | Abi::RustCall => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | Abi::Rust => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:359:90 [INFO] [stdout] | [INFO] [stdout] 359 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local(local).field(mir::Field::new(i), arg_ty))?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | ty::InstanceDef::CloneShim(..) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | ty::InstanceDef::FnPtrShim(..) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | ty::InstanceDef::DropGlue(..) | [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | ty::InstanceDef::Item(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | Abi::C => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | Abi::Rust | Abi::RustCall => {}, [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | Abi::Rust | Abi::RustCall => {}, [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | Abi::Rust => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | Abi::RustCall => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:419:32 [INFO] [stdout] | [INFO] [stdout] 419 | if let ty::TyTuple(..) = args[1].ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | ty::InstanceDef::Virtual(_, idx) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:477:21 [INFO] [stdout] | [INFO] [stdout] 477 | mir::Operand::Copy(ref mut lval) => *lval = lval.clone().field(mir::Field::new(0), ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:477:84 [INFO] [stdout] | [INFO] [stdout] 477 | mir::Operand::Copy(ref mut lval) => *lval = lval.clone().field(mir::Field::new(0), ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | mir::Operand::Move(ref mut lval) => *lval = lval.clone().field(mir::Field::new(0), ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:478:84 [INFO] [stdout] | [INFO] [stdout] 478 | mir::Operand::Move(ref mut lval) => *lval = lval.clone().field(mir::Field::new(0), ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:497:44 [INFO] [stdout] | [INFO] [stdout] 497 | destination: Option<(Lvalue<'tcx>, mir::BasicBlock)>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | arg_operands: &[mir::Operand<'tcx>], [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:500:14 [INFO] [stdout] | [INFO] [stdout] 500 | sig: ty::FnSig<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | ty::InstanceDef::Item(def_id) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 616 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:617:44 [INFO] [stdout] | [INFO] [stdout] 617 | destination: Option<(Lvalue<'tcx>, mir::BasicBlock)>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | arg_operands: &[mir::Operand<'tcx>], [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/terminator/mod.rs:619:14 [INFO] [stdout] | [INFO] [stdout] 619 | sig: ty::FnSig<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/terminator/mod.rs:622:23 [INFO] [stdout] | [INFO] [stdout] 622 | if sig.abi == Abi::C { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:825:17 [INFO] [stdout] | [INFO] [stdout] 825 | args: &[mir::Operand<'tcx>], [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | target: mir::BasicBlock, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `attr` [INFO] [stdout] --> src/terminator/mod.rs:831:31 [INFO] [stdout] | [INFO] [stdout] 831 | let link_name = match attr::first_attr_value_str_by_name(&attrs, "link_name") { [INFO] [stdout] | ^^^^ use of undeclared crate or module `attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:901:33 [INFO] [stdout] | [INFO] [stdout] 901 | ... mir::BinOp::Eq, PrimValKind::U8, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:906:33 [INFO] [stdout] | [INFO] [stdout] 906 | ... mir::BinOp::Lt, PrimValKind::U8, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:911:33 [INFO] [stdout] | [INFO] [stdout] 911 | ... mir::BinOp::Gt, PrimValKind::U8, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn fulfill_obligation(&self, trait_ref: ty::PolyTraitRef<'tcx>) -> traits::Vtable<'tcx, ()> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:18:83 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn fulfill_obligation(&self, trait_ref: ty::PolyTraitRef<'tcx>) -> traits::Vtable<'tcx, ()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut selcx = traits::SelectionContext::new(&infcx); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let obligation = traits::Obligation::new( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | traits::ObligationCause::misc(DUMMY_SP, ast::DUMMY_NODE_ID), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/traits.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | traits::ObligationCause::misc(DUMMY_SP, ast::DUMMY_NODE_ID), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | ty::ParamEnv::empty(Reveal::All), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reveal` [INFO] [stdout] --> src/traits.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | ty::ParamEnv::empty(Reveal::All), [INFO] [stdout] | ^^^^^^ use of undeclared type `Reveal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | let mut fulfill_cx = traits::FulfillmentContext::new(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:47:59 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_vtable(&mut self, ty: Ty<'tcx>, trait_ref: ty::PolyTraitRef<'tcx>) -> EvalResult<'tcx, Pointer> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:77:94 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_drop_type_from_vtable(&mut self, vtable: Pointer) -> EvalResult<'tcx, Option>> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/traits.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Ok((Size::from_bytes(size), Align::from_bytes(align, align).unwrap())) [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> src/traits.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Ok((Size::from_bytes(size), Align::from_bytes(align, align).unwrap())) [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> ty::Instance<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let trait_ref = ty::Binder(ty::TraitRef::new(trait_id, substs)); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | let trait_ref = ty::Binder(ty::TraitRef::new(trait_id, substs)); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/traits.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let traits::VtableImpl(vtable_impl) = vtable { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | .find(|item| item.kind == ty::AssociatedKind::Const && item.name == name); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | return ty::Instance::new(assoc_const.def_id, vtable_impl.substs); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/traits.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | ty::Instance::new(def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/driver.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | sopts: &config::Options, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/driver.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | cfg: &ast::CrateConfig, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/driver.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | sopts: &config::Options, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/driver.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | cfg: &ast::CrateConfig, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation` [INFO] [stdout] --> src/driver.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | control.after_analysis.stop = Compilation::Stop; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Compilation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItemKind` [INFO] [stdout] --> src/driver.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | if let NestedMetaItemKind::MetaItem(ref inner) = item.node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/driver.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | if let MetaItemKind::NameValue(ref value) = inner.node { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/cast.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | src_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/cast.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | dest_ty: Ty<'tcx> [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntTy` in this scope [INFO] [stdout] --> src/cast.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | fn int_to_int(&self, v: i128, ty: IntTy) -> u128 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UintTy` in this scope [INFO] [stdout] --> src/cast.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | fn int_to_uint(&self, v: u128, ty: UintTy) -> u128 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyInt` in this scope [INFO] [stdout] --> src/cast.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | TyInt(ty) => Ok(PrimVal::Bytes(self.int_to_int(v as i128, ty))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyUint` in this scope [INFO] [stdout] --> src/cast.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | TyUint(ty) => Ok(PrimVal::Bytes(self.int_to_uint(v, ty))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyFloat` in this scope [INFO] [stdout] --> src/cast.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | TyFloat(fty) if negative => Ok(PrimVal::Bytes(ConstFloat::from_i128(v as i128, fty).bits)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyFloat` in this scope [INFO] [stdout] --> src/cast.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | TyFloat(fty) => Ok(PrimVal::Bytes(ConstFloat::from_u128(v, fty).bits)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRawPtr` in this scope [INFO] [stdout] --> src/cast.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | TyRawPtr(_) => Ok(PrimVal::Bytes(self.memory.truncate_to_ptr(v).0 as u128)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/cast.rs:121:47 [INFO] [stdout] | [INFO] [stdout] 121 | fn cast_from_ptr(&self, ptr: Pointer, ty: Ty<'tcx>) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRawPtr` in this scope [INFO] [stdout] --> src/cast.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | TyRawPtr(_) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyInt` in this scope [INFO] [stdout] --> src/cast.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | TyInt(IntTy::Is) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyUint` in this scope [INFO] [stdout] --> src/cast.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | TyUint(UintTy::Us) => Ok(PrimVal::Ptr(ptr)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyInt` in this scope [INFO] [stdout] --> src/cast.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | TyInt(_) | TyUint(_) => return Err(EvalError::ReadPointerAsBytes), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyUint` in this scope [INFO] [stdout] --> src/cast.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | TyInt(_) | TyUint(_) => return Err(EvalError::ReadPointerAsBytes), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnSig` in this scope [INFO] [stdout] --> src/error.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | FunctionPointerTyMismatch(FnSig<'tcx>, FnSig<'tcx>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnSig` in this scope [INFO] [stdout] --> src/error.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | FunctionPointerTyMismatch(FnSig<'tcx>, FnSig<'tcx>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | ArrayIndexOutOfBounds(Span, u64, u64), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | Math(Span, ConstMathErr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstMathErr` in this scope [INFO] [stdout] --> src/error.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | Math(Span, ConstMathErr), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/error.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | TypeNotPrimitive(Ty<'tcx>), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | ArrayIndexOutOfBounds(Span, u64, u64), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | Math(Span, ConstMathErr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstMathErr` in this scope [INFO] [stdout] --> src/error.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | Math(Span, ConstMathErr), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | pub ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | pub ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasDataLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | impl<'a, 'tcx> HasDataLayout for &'a EvalContext<'a, 'tcx> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasDataLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'c, 'b, 'a, 'tcx> HasDataLayout [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | fn tcx<'b>(&'b self) -> TyCtxt<'b, 'tcx, 'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | fn tcx<'d>(&'d self) -> TyCtxt<'d, 'tcx, 'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LayoutOf` in this scope [INFO] [stdout] --> src/eval_context.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a, 'tcx> LayoutOf> for &'a EvalContext<'a, 'tcx> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a, 'tcx> LayoutOf> for &'a EvalContext<'a, 'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | type TyLayout = EvalResult<'tcx, TyLayout<'tcx>>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | fn layout_of(self, ty: Ty<'tcx>) -> Self::TyLayout { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LayoutOf` in this scope [INFO] [stdout] --> src/eval_context.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'c, 'b, 'a, 'tcx> LayoutOf> [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'c, 'b, 'a, 'tcx> LayoutOf> [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | type TyLayout = EvalResult<'tcx, TyLayout<'tcx>>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | fn layout_of(self, ty: Ty<'tcx>) -> Self::TyLayout { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(tcx: TyCtxt<'a, 'tcx, 'tcx>, limits: ResourceLimits) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:240:37 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn alloc_ptr(&mut self, ty: Ty<'tcx>) -> EvalResult<'tcx, Pointer> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | substs: &'tcx Substs<'tcx> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstVal` in this scope [INFO] [stdout] --> src/eval_context.rs:286:57 [INFO] [stdout] | [INFO] [stdout] 286 | pub(super) fn const_to_value(&mut self, const_val: &ConstVal<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Integral` in this scope [INFO] [stdout] --> src/eval_context.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Integral(const_int) => PrimVal::Bytes(const_int.to_u128_unchecked()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Float` in this scope [INFO] [stdout] --> src/eval_context.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | Float(ConstFloat { ty: ast::FloatTy::F32, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstFloat` in this scope [INFO] [stdout] --> src/eval_context.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | Float(ConstFloat { ty: ast::FloatTy::F32, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Float` in this scope [INFO] [stdout] --> src/eval_context.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | Float(ConstFloat { ty: ast::FloatTy::F64, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstFloat` in this scope [INFO] [stdout] --> src/eval_context.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | Float(ConstFloat { ty: ast::FloatTy::F64, bits }) => PrimVal::Bytes(bits), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> src/eval_context.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Bool(b) => PrimVal::from_bool(b), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Char` in this scope [INFO] [stdout] --> src/eval_context.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | Char(c) => PrimVal::from_char(c), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/eval_context.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Str(ref s) => return self.str_to_value(s), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ByteStr` in this scope [INFO] [stdout] --> src/eval_context.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | ByteStr(ref bs) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Unevaluated` in this scope [INFO] [stdout] --> src/eval_context.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | Unevaluated(def_id, substs) => { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Aggregate` in this scope [INFO] [stdout] --> src/eval_context.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | Aggregate(..) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> src/eval_context.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | Variant(_) => panic!("should not have aggregate or variant constants in MIR"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Function` in this scope [INFO] [stdout] --> src/eval_context.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | Function(_, _) => PrimVal::Undef, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/eval_context.rs:323:42 [INFO] [stdout] | [INFO] [stdout] 323 | pub(super) fn resolve(&self, def_id: DefId, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, ty::Instance<'tcx>> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:323:63 [INFO] [stdout] | [INFO] [stdout] 323 | pub(super) fn resolve(&self, def_id: DefId, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, ty::Instance<'tcx>> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:333:44 [INFO] [stdout] | [INFO] [stdout] 333 | pub(super) fn type_is_sized(&self, ty: Ty<'tcx>) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/eval_context.rs:336:65 [INFO] [stdout] | [INFO] [stdout] 336 | ty.is_sized(self.tcx, ty::ParamEnv::empty(Reveal::All), DUMMY_SP) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:347:36 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn monomorphize(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:347:60 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn monomorphize(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:347:77 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn monomorphize(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TypeFoldable` in this scope [INFO] [stdout] --> src/eval_context.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | where T : TypeFoldable<'tcx> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Binder` in this scope [INFO] [stdout] --> src/eval_context.rs:355:46 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn erase_lifetimes(&self, value: &Binder) -> T [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | pub(super) fn type_size(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, Option> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | pub(super) fn type_align(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:373:23 [INFO] [stdout] | [INFO] [stdout] 373 | substs: &'tcx Substs<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | fn type_align_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:383:66 [INFO] [stdout] | [INFO] [stdout] 383 | fn type_align_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:389:42 [INFO] [stdout] | [INFO] [stdout] 389 | pub(super) fn type_layout(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, TyLayout<'tcx>> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:389:72 [INFO] [stdout] | [INFO] [stdout] 389 | pub(super) fn type_layout(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, TyLayout<'tcx>> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:393:43 [INFO] [stdout] | [INFO] [stdout] 393 | fn type_layout_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, TyLayout<'tcx>> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | fn type_layout_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, TyLayout<'tcx>> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/eval_context.rs:393:101 [INFO] [stdout] | [INFO] [stdout] 393 | fn type_layout_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> EvalResult<'tcx, TyLayout<'tcx>> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Use` in this scope [INFO] [stdout] --> src/eval_context.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | Use(ref operand) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BinaryOp` in this scope [INFO] [stdout] --> src/eval_context.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | BinaryOp(bin_op, ref left, ref right) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `CheckedBinaryOp` in this scope [INFO] [stdout] --> src/eval_context.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | CheckedBinaryOp(bin_op, ref left, ref right) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnaryOp` in this scope [INFO] [stdout] --> src/eval_context.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | UnaryOp(un_op, ref operand) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Aggregate` in this scope [INFO] [stdout] --> src/eval_context.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | Aggregate(..) if self.type_size(dest_ty)? == Some(0) => {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Aggregate` in this scope [INFO] [stdout] --> src/eval_context.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | Aggregate(ref kind, ref operands) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Repeat` in this scope [INFO] [stdout] --> src/eval_context.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | Repeat(ref operand, _) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Len` in this scope [INFO] [stdout] --> src/eval_context.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | Len(ref lvalue) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ref` in this scope [INFO] [stdout] --> src/eval_context.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Ref(_, _, ref lvalue) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NullaryOp` in this scope [INFO] [stdout] --> src/eval_context.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | NullaryOp(mir::NullOp::Box, ty) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NullaryOp` in this scope [INFO] [stdout] --> src/eval_context.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | NullaryOp(mir::NullOp::SizeOf, ty) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Cast` in this scope [INFO] [stdout] --> src/eval_context.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | Cast(kind, ref operand, cast_ty) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Discriminant` in this scope [INFO] [stdout] --> src/eval_context.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | Discriminant(ref lvalue) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | fn type_is_fat_ptr(&self, ty: Ty<'tcx>) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:729:36 [INFO] [stdout] | [INFO] [stdout] 729 | fn get_field_offset(&self, ty: Ty<'tcx>, field_index: usize) -> EvalResult<'tcx, Size> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> src/eval_context.rs:729:86 [INFO] [stdout] | [INFO] [stdout] 729 | fn get_field_offset(&self, ty: Ty<'tcx>, field_index: usize) -> EvalResult<'tcx, Size> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 729 | fn get_field_offset(&self, ty: Ty<'tcx>, field_index: usize) -> EvalResult<'tcx, Sized> { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 227 | impl<'a, 'tcx, Size> EvalContext<'a, 'tcx> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:733:39 [INFO] [stdout] | [INFO] [stdout] 733 | pub fn get_field_count(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:737:76 [INFO] [stdout] | [INFO] [stdout] 737 | pub(super) fn wrapping_pointer_offset(&self, ptr: PrimVal, pointee_ty: Ty<'tcx>, offset: i64) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:744:67 [INFO] [stdout] | [INFO] [stdout] 744 | pub(super) fn pointer_offset(&self, ptr: PrimVal, pointee_ty: Ty<'tcx>, offset: i64) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found trait `Copy` [INFO] [stdout] --> src/eval_context.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | Copy(ref lvalue) => self.eval_and_read_lvalue(lvalue), [INFO] [stdout] | ^^^^ not a tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Move` in this scope [INFO] [stdout] --> src/eval_context.rs:780:13 [INFO] [stdout] | [INFO] [stdout] 780 | Move(ref lvalue) => self.eval_and_read_lvalue(lvalue), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Constant` in this scope [INFO] [stdout] --> src/eval_context.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | Constant(ref constant) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:804:13 [INFO] [stdout] | [INFO] [stdout] 804 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:852:18 [INFO] [stdout] | [INFO] [stdout] 852 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:894:70 [INFO] [stdout] | [INFO] [stdout] 894 | pub(super) fn operand_ty(&self, operand: &mir::Operand<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:898:57 [INFO] [stdout] | [INFO] [stdout] 898 | fn copy(&mut self, src: PrimVal, dest: PrimVal, ty: Ty<'tcx>) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:954:68 [INFO] [stdout] | [INFO] [stdout] 954 | pub(super) fn follow_by_ref_value(&mut self, value: Value, ty: Ty<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:961:65 [INFO] [stdout] | [INFO] [stdout] 961 | pub(super) fn value_to_primval(&mut self, value: Value, ty: Ty<'tcx>) -> EvalResult<'tcx, PrimVal> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:978:18 [INFO] [stdout] | [INFO] [stdout] 978 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:987:18 [INFO] [stdout] | [INFO] [stdout] 987 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1027:18 [INFO] [stdout] | [INFO] [stdout] 1027 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1070:18 [INFO] [stdout] | [INFO] [stdout] 1070 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1087 | ty: Ty<'tcx> [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | pub fn ty_to_primval_kind(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, PrimValKind> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Int` in this scope [INFO] [stdout] --> src/eval_context.rs:1165:29 [INFO] [stdout] | [INFO] [stdout] 1165 | ... Int(i, false) => PrimValKind::from_uint_size(i.size().bytes()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Int` in this scope [INFO] [stdout] --> src/eval_context.rs:1166:29 [INFO] [stdout] | [INFO] [stdout] 1166 | ... Int(i, true) => PrimValKind::from_int_size(i.size().bytes()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1183:52 [INFO] [stdout] | [INFO] [stdout] 1183 | fn ensure_valid_value(&self, val: PrimVal, ty: Ty<'tcx>) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1194:59 [INFO] [stdout] | [INFO] [stdout] 1194 | pub(super) fn read_value(&mut self, ptr: Pointer, ty: Ty<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1202:65 [INFO] [stdout] | [INFO] [stdout] 1202 | pub(crate) fn read_ptr(&mut self, ptr: Pointer, pointee_ty: Ty<'tcx>) -> EvalResult<'tcx, Value> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1226:52 [INFO] [stdout] | [INFO] [stdout] 1226 | fn try_read_value(&mut self, ptr: Pointer, ty: Ty<'tcx>) -> EvalResult<'tcx, Option> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:1340:42 [INFO] [stdout] | [INFO] [stdout] 1340 | pub(super) fn substs(&self) -> &'tcx Substs<'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | src_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1349:18 [INFO] [stdout] | [INFO] [stdout] 1349 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1350:14 [INFO] [stdout] | [INFO] [stdout] 1350 | sty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1351:14 [INFO] [stdout] | [INFO] [stdout] 1351 | dty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1384:17 [INFO] [stdout] | [INFO] [stdout] 1384 | src_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1386:18 [INFO] [stdout] | [INFO] [stdout] 1386 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> src/eval_context.rs:1527:22 [INFO] [stdout] | [INFO] [stdout] 1527 | fn size(self) -> Size; [INFO] [stdout] | ^^^^ help: a trait with a similar name exists: `Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> src/eval_context.rs:1531:22 [INFO] [stdout] | [INFO] [stdout] 1531 | fn size(self) -> Size { [INFO] [stdout] | ^^^^ help: a trait with a similar name exists: `Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1544:49 [INFO] [stdout] | [INFO] [stdout] 1544 | pub fn monomorphize_field_ty<'a, 'tcx:'a >(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: &ty::FieldDef, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:1544:105 [INFO] [stdout] | [INFO] [stdout] 1544 | pub fn monomorphize_field_ty<'a, 'tcx:'a >(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: &ty::FieldDef, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1544:122 [INFO] [stdout] | [INFO] [stdout] 1544 | pub fn monomorphize_field_ty<'a, 'tcx:'a >(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: &ty::FieldDef, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1549:40 [INFO] [stdout] | [INFO] [stdout] 1549 | pub fn is_inhabited<'a, 'tcx: 'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>, ty: Ty<'tcx>) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1549:68 [INFO] [stdout] | [INFO] [stdout] 1549 | pub fn is_inhabited<'a, 'tcx: 'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>, ty: Ty<'tcx>) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1554:96 [INFO] [stdout] | [INFO] [stdout] 1554 | fn into_val_ty_pair<'a>(self, ecx: &mut EvalContext<'a, 'tcx>) -> EvalResult<'tcx, (Value, Ty<'tcx>)> where 'tcx: 'a; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1557:44 [INFO] [stdout] | [INFO] [stdout] 1557 | impl<'tcx> IntoValTyPair<'tcx> for (Value, Ty<'tcx>) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1558:94 [INFO] [stdout] | [INFO] [stdout] 1558 | fn into_val_ty_pair<'a>(self, _: &mut EvalContext<'a, 'tcx>) -> EvalResult<'tcx, (Value, Ty<'tcx>)> where 'tcx: 'a { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1564:96 [INFO] [stdout] | [INFO] [stdout] 1564 | fn into_val_ty_pair<'a>(self, ecx: &mut EvalContext<'a, 'tcx>) -> EvalResult<'tcx, (Value, Ty<'tcx>)> where 'tcx: 'a { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1574:10 [INFO] [stdout] | [INFO] [stdout] 1574 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/eval_context.rs:1575:13 [INFO] [stdout] | [INFO] [stdout] 1575 | def_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1587:10 [INFO] [stdout] | [INFO] [stdout] 1587 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/eval_context.rs:1588:18 [INFO] [stdout] | [INFO] [stdout] 1588 | closure_did: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1650:45 [INFO] [stdout] | [INFO] [stdout] 1650 | pub fn apply_param_substs<'a, 'tcx, T>(tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/eval_context.rs:1651:55 [INFO] [stdout] | [INFO] [stdout] 1651 | ... param_substs: &Substs<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1664:10 [INFO] [stdout] | [INFO] [stdout] 1664 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TypeFoldable` in this scope [INFO] [stdout] --> src/eval_context.rs:1668:16 [INFO] [stdout] | [INFO] [stdout] 1668 | fn fold>(&mut self, value: &T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1678:29 [INFO] [stdout] | [INFO] [stdout] 1678 | fn tcx<'c>(&'c self) -> TyCtxt<'c, 'tcx, 'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1682:31 [INFO] [stdout] | [INFO] [stdout] 1682 | fn fold_ty(&mut self, ty: Ty<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1682:44 [INFO] [stdout] | [INFO] [stdout] 1682 | fn fold_ty(&mut self, ty: Ty<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/eval_context.rs:1692:10 [INFO] [stdout] | [INFO] [stdout] 1692 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/eval_context.rs:1693:9 [INFO] [stdout] | [INFO] [stdout] 1693 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/executor.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/executor.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | set_lvalue: Option<(Lvalue<'tcx>, PrimVal, Ty<'tcx>)>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/executor.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | tcx: TyCtxt<'a, 'tcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/executor.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | def_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/executor.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | DUMMY_SP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/executor.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | fn report(tcx: TyCtxt, ecx: &EvalContext, e: EvalError) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | pub(super) ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | pub(super) fn elem_ty_and_len(self, ty: Ty<'tcx>) -> (Ty<'tcx>, u64) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | pub(super) fn elem_ty_and_len(self, ty: Ty<'tcx>) -> (Ty<'tcx>, u64) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub(super) fn uninitialized(ty: Ty<'tcx>) -> Self { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lvalue.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Local(mir::RETURN_POINTER) => Err(EvalError::ReadFromReturnPointer), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lvalue.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | Local(local) => self.frame().get_local(local).map(Some), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lvalue.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Static(ref static_) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Projection` in this scope [INFO] [stdout] --> src/lvalue.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Projection(ref proj) => self.try_read_lvalue_projection(proj), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lvalue.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Field(field, _) => match (field.index(), base) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Downcast` in this scope [INFO] [stdout] --> src/lvalue.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Downcast(..) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Subslice` in this scope [INFO] [stdout] --> src/lvalue.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | Subslice { .. } | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstantIndex` in this scope [INFO] [stdout] --> src/lvalue.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | ConstantIndex { .. } | Index(_) | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lvalue.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | ConstantIndex { .. } | Index(_) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lvalue.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Local(mir::RETURN_POINTER) => self.frame().return_lvalue, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lvalue.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | Local(local) => Lvalue::Local { frame: self.stack.len() - 1, local }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lvalue.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Static(ref static_) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Projection` in this scope [INFO] [stdout] --> src/lvalue.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | Projection(ref proj) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/lvalue.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | base_layout: TyLayout<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/lvalue.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> EvalResult<'tcx, (Lvalue<'tcx>, TyLayout<'tcx>)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyLayout` in this scope [INFO] [stdout] --> src/lvalue.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | let base_layout: TyLayout<'tcx> = match base { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:306:56 [INFO] [stdout] | [INFO] [stdout] 306 | pub(super) fn val_to_lvalue(&self, val: Value, ty: Ty<'tcx>) -> EvalResult<'tcx, Lvalue<'tcx>> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | outer_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | base_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:410:59 [INFO] [stdout] | [INFO] [stdout] 410 | proj_elem: &mir::ProjectionElem<'tcx, mir::Local, Ty<'tcx>>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lvalue.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | Field(field, _) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Downcast` in this scope [INFO] [stdout] --> src/lvalue.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | Downcast(_, variant) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lvalue.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | Index(local) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstantIndex` in this scope [INFO] [stdout] --> src/lvalue.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | ConstantIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Subslice` in this scope [INFO] [stdout] --> src/lvalue.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | Subslice { from, to } => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lvalue.rs:494:67 [INFO] [stdout] | [INFO] [stdout] 494 | pub(super) fn lvalue_ty(&self, lvalue: &mir::Lvalue<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn wrapping_signed_offset<'tcx>(self, i: i64, layout: &TargetDataLayout) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn overflowing_signed_offset<'tcx>(self, i: i128, layout: &TargetDataLayout) -> (Self, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn signed_offset<'tcx>(self, i: i64, layout: &TargetDataLayout) -> EvalResult<'tcx, Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:125:60 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn overflowing_offset<'tcx>(self, i: u64, layout: &TargetDataLayout) -> (Self, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn offset<'tcx>(self, i: u64, layout: &TargetDataLayout) -> EvalResult<'tcx, Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | pub layout: &'a TargetDataLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/memory.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new(layout: &'a TargetDataLayout, max_memory: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/operator.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/operator.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/operator.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | left_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/operator.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | right_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Shl` in this scope [INFO] [stdout] --> src/operator.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | if bin_op == Shl || bin_op == Shr { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Shr` in this scope [INFO] [stdout] --> src/operator.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 231 | if bin_op == Shl || bin_op == Shr { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstFloat` in this scope [INFO] [stdout] --> src/operator.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let l = ConstFloat { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstFloat` in this scope [INFO] [stdout] --> src/operator.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let r = ConstFloat { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Assign` in this scope [INFO] [stdout] --> src/step.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Assign(ref lvalue, ref rvalue) => self.eval_rvalue_into_lvalue(rvalue, lvalue)?, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetDiscriminant` in this scope [INFO] [stdout] --> src/step.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | SetDiscriminant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StorageLive` in this scope [INFO] [stdout] --> src/step.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | StorageLive(_) | [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StorageDead` in this scope [INFO] [stdout] --> src/step.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | StorageDead(_) => {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Validate` in this scope [INFO] [stdout] --> src/step.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Validate(_op, ref _lvalues) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EndRegion` in this scope [INFO] [stdout] --> src/step.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | EndRegion(..) => {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InlineAsm` in this scope [INFO] [stdout] --> src/step.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | InlineAsm { .. } => return Err(EvalError::InlineAsm), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use EvalError::InlineAsm; [INFO] [stdout] | [INFO] [stdout] 5 | use StaticEvalError::InlineAsm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/step.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/step.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | def_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/step.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/step.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | impl<'a, 'b, 'tcx> Visitor<'tcx> for ConstantExtractor<'a, 'b, 'tcx> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LvalueContext` in this scope [INFO] [stdout] --> src/step.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | context: LvalueContext<'tcx>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `EvalContext` [INFO] [stdout] | [INFO] [stdout] ::: src/eval_context.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EvalContext<'a, 'tcx: 'a> { [INFO] [stdout] | ------------------------------------ similarly named struct `EvalContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/terminator/drop.rs:12:96 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn drop_lvalue(&mut self, lval: Lvalue<'tcx>, instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/terminator/drop.rs:12:112 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn drop_lvalue(&mut self, lval: Lvalue<'tcx>, instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/terminator/drop.rs:28:85 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn drop(&mut self, arg: Value, mut instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/terminator/drop.rs:28:101 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn drop(&mut self, arg: Value, mut instance: ty::Instance<'tcx>, ty: Ty<'tcx>, span: Span) -> EvalResult<'tcx> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/drop.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | let dest = self.eval_lvalue(&mir::Lvalue::Local(arg_local))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:491:28 [INFO] [stdout] | [INFO] [stdout] 491 | ) -> EvalResult<'tcx, (Size, Align)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 491 | ) -> EvalResult<'tcx, (Sized, Align)> { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a, 'tcx, Size> EvalContext<'a, 'tcx> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Align` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:491:34 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a, 'tcx> EvalContext<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Align` [INFO] [stdout] ... [INFO] [stdout] 491 | ) -> EvalResult<'tcx, (Size, Align)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/terminator/intrinsic.rs:577:24 [INFO] [stdout] | [INFO] [stdout] 577 | param_substs: &Substs<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Goto` in this scope [INFO] [stdout] --> src/terminator/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Goto { target } => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use StackPopCleanup::Goto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SwitchInt` in this scope [INFO] [stdout] --> src/terminator/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | SwitchInt { ref discr, ref values, ref targets, .. } => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Call` in this scope [INFO] [stdout] --> src/terminator/mod.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | Call { ref func, ref args, ref destination, .. } => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Drop` [INFO] [stdout] --> src/terminator/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | Drop { ref location, target, .. } => { [INFO] [stdout] | ^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Assert` in this scope [INFO] [stdout] --> src/terminator/mod.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Assert { ref cond, expected, ref msg, target, .. } => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DropAndReplace` in this scope [INFO] [stdout] --> src/terminator/mod.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | DropAndReplace { .. } => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Yield` in this scope [INFO] [stdout] --> src/terminator/mod.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | Yield { .. } => unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FalseEdges` in this scope [INFO] [stdout] --> src/terminator/mod.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | FalseEdges { .. } => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/terminator/mod.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:347:63 [INFO] [stdout] | [INFO] [stdout] 347 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local(arg_local))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:359:63 [INFO] [stdout] | [INFO] [stdout] 359 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local(local).field(mir::Field::new(i), arg_ty))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:404:63 [INFO] [stdout] | [INFO] [stdout] 404 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local(arg_local))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:413:63 [INFO] [stdout] | [INFO] [stdout] 413 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local(first_local))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:428:72 [INFO] [stdout] | [INFO] [stdout] 428 | ... self.eval_lvalue(&mir::Lvalue::Local(arg_local))?; [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:441:75 [INFO] [stdout] | [INFO] [stdout] 441 | ... let dest = self.eval_lvalue(&mir::Lvalue::Local( [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/terminator/mod.rs:452:43 [INFO] [stdout] | [INFO] [stdout] 452 | ... &mir::Lvalue::Local(arg_locals.next().unwrap()), [INFO] [stdout] | ^^^^^^ not found in `mir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use Lvalue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/terminator/mod.rs:499:15 [INFO] [stdout] | [INFO] [stdout] 499 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/terminator/mod.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | def_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/terminator/mod.rs:827:18 [INFO] [stdout] | [INFO] [stdout] 827 | dest_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/traits.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | traits::ObligationCause::misc(DUMMY_SP, ast::DUMMY_NODE_ID), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/traits.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | infcx.drain_fulfillment_cx_or_panic(DUMMY_SP, &mut fulfill_cx, &vtable) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/traits.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_vtable(&mut self, ty: Ty<'tcx>, trait_ref: ty::PolyTraitRef<'tcx>) -> EvalResult<'tcx, Pointer> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> src/traits.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | ) -> EvalResult<'tcx, (Size, Align)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 | ) -> EvalResult<'tcx, (Sized, Align)> { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, 'tcx, Size> EvalContext<'a, 'tcx> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Align` in this scope [INFO] [stdout] --> src/traits.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, 'tcx> EvalContext<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Align` [INFO] [stdout] ... [INFO] [stdout] 93 | ) -> EvalResult<'tcx, (Size, Align)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/traits.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | def_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substs` in this scope [INFO] [stdout] --> src/traits.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | substs: &'tcx Substs<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:245:49 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn signed_offset(self, i: i64, layout: &TargetDataLayout) -> EvalResult<'tcx, Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn offset(self, i: u64, layout: &TargetDataLayout) -> EvalResult<'tcx, Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:269:58 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn wrapping_signed_offset(self, i: i64, layout: &TargetDataLayout) -> EvalResult<'tcx, Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:283:68 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn overflowing_signed_offset<'tcx>(val: u64, i: i128, layout: &TargetDataLayout) -> (u64, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:295:60 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn overflowing_offset<'tcx>(val: u64, i: u64, layout: &TargetDataLayout) -> (u64, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:301:55 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn signed_offset<'tcx>(val: u64, i: i64, layout: &TargetDataLayout) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:310:48 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn offset<'tcx>(val: u64, i: u64, layout: &TargetDataLayout) -> EvalResult<'tcx, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetDataLayout` in this scope [INFO] [stdout] --> src/value.rs:319:64 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn wrapping_signed_offset<'tcx>(val: u64, i: i64, layout: &TargetDataLayout) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustcDefaultCalls` in this scope [INFO] [stdout] --> src/driver.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | struct SeerCompilerCalls(RustcDefaultCalls, ::ExecutionConfig); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CompilerCalls` in this scope [INFO] [stdout] --> src/driver.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> CompilerCalls<'a> for SeerCompilerCalls { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrorOutputType` in this scope [INFO] [stdout] --> src/driver.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | output: ErrorOutputType [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope [INFO] [stdout] --> src/driver.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> Compilation { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/driver.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> CompilerCalls<'a> for SeerCompilerCalls { [INFO] [stdout] | - help: you might be missing a type parameter: `, Input` [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> Option<(Input, Option)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/driver.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | sess: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateStore` in this scope [INFO] [stdout] --> src/driver.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | cstore: &CrateStore, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/driver.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | input: &Input, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope [INFO] [stdout] --> src/driver.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Compilation { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/driver.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileController` in this scope [INFO] [stdout] --> src/driver.rs:48:83 [INFO] [stdout] | [INFO] [stdout] 48 | fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileState` in this scope [INFO] [stdout] --> src/driver.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | fn after_hir_lowering(state: &mut CompileState) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileState` in this scope [INFO] [stdout] --> src/driver.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn after_analysis_run_main<'a, 'tcx>(config: ::ExecutionConfig) [INFO] [stdout] | - help: you might be missing a type parameter: `, CompileState` [INFO] [stdout] 67 | -> Box [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileState` in this scope [INFO] [stdout] --> src/driver.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Box::new(move |state: &mut CompileState| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileState` in this scope [INFO] [stdout] --> src/driver.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | fn resource_limits_from_attributes(state: &CompileState) -> ::ResourceLimits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RustcDefaultCalls` in this scope [INFO] [stdout] --> src/driver.rs:149:62 [INFO] [stdout] | [INFO] [stdout] 149 | rustc_driver::run_compiler(&args, &mut SeerCompilerCalls(RustcDefaultCalls, config), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature( [INFO] [stdout] 2 | | i128_type, [INFO] [stdout] 3 | | inclusive_range, [INFO] [stdout] 4 | | rustc_private, [INFO] [stdout] 5 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `i128_type` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lvalue.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | (0...1, Value::ByValPair(a, b)) if self.get_field_count(base_ty)? == 2 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | consumer: Option bool>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - consumer: Option bool>>>, [INFO] [stdout] 38 + consumer: Option bool>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | fn cause(&self) -> Option<&Error> { None } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - fn cause(&self) -> Option<&Error> { None } [INFO] [stdout] 157 + fn cause(&self) -> Option<&dyn Error> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 806 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0408, E0412, E0422, E0425, E0433, E0463, E0531, E0532... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `seer` due to 807 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68a9b917dd25da47c89309ac0e9c0e7995e483c3a0bebbdb2f0efe56fba91700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a9b917dd25da47c89309ac0e9c0e7995e483c3a0bebbdb2f0efe56fba91700", kill_on_drop: false }` [INFO] [stdout] 68a9b917dd25da47c89309ac0e9c0e7995e483c3a0bebbdb2f0efe56fba91700