[INFO] cloning repository https://github.com/fee1-dead/mir2c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fee1-dead/mir2c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4bccb0c19de6ee7f5cc721acdfa815348af8d96 [INFO] testing fee1-dead/mir2c against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fee1-dead/mir2c on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-29/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fee1-dead/mir2c [INFO] finished tweaking git repo https://github.com/fee1-dead/mir2c [INFO] tweaked toml for git repo https://github.com/fee1-dead/mir2c written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/fee1-dead/mir2c already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8129860b296f2460ab78ea82c99d1f1b8b9f1f8ce096cec827aa0b392c524420 [INFO] running `Command { std: "docker" "start" "-a" "8129860b296f2460ab78ea82c99d1f1b8b9f1f8ce096cec827aa0b392c524420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8129860b296f2460ab78ea82c99d1f1b8b9f1f8ce096cec827aa0b392c524420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8129860b296f2460ab78ea82c99d1f1b8b9f1f8ce096cec827aa0b392c524420", kill_on_drop: false }` [INFO] [stdout] 8129860b296f2460ab78ea82c99d1f1b8b9f1f8ce096cec827aa0b392c524420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad4d17dd366cb22f0380de0997fd0be92ee67ad7e5579c52be738aa5ad1d8d66 [INFO] running `Command { std: "docker" "start" "-a" "ad4d17dd366cb22f0380de0997fd0be92ee67ad7e5579c52be738aa5ad1d8d66", kill_on_drop: false }` [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Compiling mir2c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_eval` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_const_eval; [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/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | 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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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_interface` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate rustc_interface; [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_middle` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_middle; [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_span` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_span; [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_target` [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_target; [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[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | struct DumpMirGuard<'a, 'tcx>(TyCtxt<'tcx>, &'a mir::Body<'tcx>); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxIndexMap` [INFO] [stdout] --> src/main.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | types_to_compute: FxIndexMap::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FxIndexMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | ty::Slice(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 `ty` [INFO] [stdout] --> src/main.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | ty::Adt(def, subst) => { [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/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ty::Tuple(l) if l.is_empty() => "__unitty".into(), [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/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | ty::Uint(ty::UintTy::U8) => "unsigned char".into(), [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/main.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | ty::Uint(ty::UintTy::U8) => "unsigned char".into(), [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/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | ty::Int(ty::IntTy::I8) => "char".into(), [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/main.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | ty::Int(ty::IntTy::I8) => "char".into(), [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/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ty::Int(ty::IntTy::I32) => "int32_t".into(), [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/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | ty::Int(ty::IntTy::I32) => "int32_t".into(), [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/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | ty::Int(ty::IntTy::Isize) => "int".into(), // TODO sus [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/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | ty::Int(ty::IntTy::Isize) => "int".into(), // TODO sus [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/main.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | ty::Ref(_, slice, _) if let ty::Slice(elem) = slice.kind() => { [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/main.rs:136:41 [INFO] [stdout] | [INFO] [stdout] 136 | ty::Ref(_, slice, _) if let ty::Slice(elem) = slice.kind() => { [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/main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | ty::RawPtr(TypeAndMut { ty: slice, .. }) if let ty::Slice(elem) = slice.kind() => { [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/main.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | ty::RawPtr(TypeAndMut { ty: slice, .. }) if let ty::Slice(elem) = slice.kind() => { [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/main.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | ty::RawPtr(TypeAndMut { ty, mutbl: _ }) | ty::Ref(_, 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/main.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | ty::RawPtr(TypeAndMut { ty, mutbl: _ }) | ty::Ref(_, 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/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | ty::Never => "char".into(), // TODO ?? [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/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | ty::Bool => "bool".into(), [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/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | ty::Adt(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/main.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | fn konst(&mut self, konst: &ty::Const<'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/main.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | if let ty::Ref(_, ty, _) = konst.ty().kind() { [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/main.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | if let ty::Slice(elem) = ty.kind() { [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/main.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | if !matches!(elem.kind(), ty::Uint(ty::UintTy::U8)) { [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/main.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | if !matches!(elem.kind(), ty::Uint(ty::UintTy::U8)) { [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/main.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | if let ty::ConstKind::Value(cv) = konst.val() { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/main.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let ConstValue::Slice { data, .. } = &cv else { panic!() }; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/main.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | Operand::Constant(box mir::Constant { literal, .. }) => match literal { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | Operand::Constant(box mir::Constant { literal, .. }) => match literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstantKind` [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | ConstantKind::Ty(konst) => self.konst(konst), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ConstantKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstantKind` [INFO] [stdout] --> src/main.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | ConstantKind::Val(_, _) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ConstantKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | Operand::Copy(p) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | Operand::Move(p) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | fn rvalue(&mut self, mir: &mir::Body<'tcx>, rvalue: &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 type `Rvalue` [INFO] [stdout] --> src/main.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | Rvalue::Use(op) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | Rvalue::Cast(mir::CastKind::Misc, op, ty) if let ty::RawPtr(TypeAndMut { ty: pointee, .. }) = ty.kind() => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:234:26 [INFO] [stdout] | [INFO] [stdout] 234 | Rvalue::Cast(mir::CastKind::Misc, op, ty) if let ty::RawPtr(TypeAndMut { ty: pointee, .. }) = ty.kind() => { [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/main.rs:234:62 [INFO] [stdout] | [INFO] [stdout] 234 | Rvalue::Cast(mir::CastKind::Misc, op, ty) if let ty::RawPtr(TypeAndMut { ty: pointee, .. }) = ty.kind() => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/main.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let Operand::Move(pl) = op else { unimplemented!() }; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let ty::RawPtr(TypeAndMut { ty: pointee_from, .. }) = mir.local_decls()[local].ty.kind() { [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/main.rs:239:28 [INFO] [stdout] | [INFO] [stdout] 239 | if let ty::Slice(elem) = pointee_from.kind() { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/main.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | Rvalue::AddressOf(_, Place { local, projection }) [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:258:69 [INFO] [stdout] | [INFO] [stdout] 258 | if projection.len() == 1 && matches!(projection[0], mir::ProjectionElem::Deref) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Rvalue::BinaryOp(binop, box (op, op1)) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:290:72 [INFO] [stdout] | [INFO] [stdout] 290 | fn instance_header(&mut self, instance: &Instance<'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 type `Symbol` [INFO] [stdout] --> src/main.rs:294:33 [INFO] [stdout] | [INFO] [stdout] 294 | if tcx.has_attr(def_id, Symbol::intern("mir2c_do_not_codegen")) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 298 | let mir: mir::Body<'_> = instance.subst_mir_and_normalize_erasing_regions( [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/main.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | ty::ParamEnv::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 crate or module `mir` [INFO] [stdout] --> src/main.rs:323:36 [INFO] [stdout] | [INFO] [stdout] 323 | fn terminator(&mut self, mir: &mir::Body<'tcx>, terminator: &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/main.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | mir::TerminatorKind::Return => { [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/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | mir::TerminatorKind::Goto { target } => { [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/main.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | mir::TerminatorKind::SwitchInt { discr, switch_ty, targets } => { [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/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | mir::TerminatorKind::Call { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/main.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | func: Operand::Constant(box Constant { literal: ConstantKind::Ty(konst), .. }), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstantKind` [INFO] [stdout] --> src/main.rs:353:65 [INFO] [stdout] | [INFO] [stdout] 353 | func: Operand::Constant(box Constant { literal: ConstantKind::Ty(konst), .. }), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ConstantKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:357:23 [INFO] [stdout] | [INFO] [stdout] 357 | } if let &ty::FnDef(def_id, substs) = konst.ty().kind() => { [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/main.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | Abi::Rust | Abi::C { unwind: false } => {} [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/main.rs:359:33 [INFO] [stdout] | [INFO] [stdout] 359 | Abi::Rust | Abi::C { unwind: false } => {} [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/main.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | Abi::RustIntrinsic => { [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/main.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | ... sym::black_box | sym::unlikely | sym::likely => { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/main.rs:363:46 [INFO] [stdout] | [INFO] [stdout] 363 | ... sym::black_box | sym::unlikely | sym::likely => { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/main.rs:363:62 [INFO] [stdout] | [INFO] [stdout] 363 | ... sym::black_box | sym::unlikely | sym::likely => { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamEnv` [INFO] [stdout] --> src/main.rs:383:53 [INFO] [stdout] | [INFO] [stdout] 383 | let instance = tcx.resolve_instance(ParamEnv::reveal_all().and((def_id, substs))).unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ParamEnv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | mir::StatementKind::Assign(box (place, rvalue)) => { [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/main.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | mir::StatementKind::StorageDead(_) | mir::StatementKind::StorageLive(_) => {} [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/main.rs:439:58 [INFO] [stdout] | [INFO] [stdout] 439 | mir::StatementKind::StorageDead(_) | mir::StatementKind::StorageLive(_) => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/main.rs:454:16 [INFO] [stdout] | [INFO] [stdout] 454 | if let MonoItem::Fn(instance) = item { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/main.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | MonoItem::Fn(instance) => self.instance(instance), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/main.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | MonoItem::Static(_) => todo!(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/main.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | MonoItem::GlobalAsm(_) => todo!(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/main.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxIndexMap` in this scope [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | types_to_compute: FxIndexMap, usize>, [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/main.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | types_to_compute: FxIndexMap, usize>, [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/main.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | struct DumpMirGuard<'a, 'tcx>(TyCtxt<'tcx>, &'a mir::Body<'tcx>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_mir_fn` in this scope [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let _ = write_mir_fn(self.0, self.1, &mut |_, _| Ok(()), &mut stderr.lock()); [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/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn new(tcx: TyCtxt<'tcx>) -> 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/main.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | fn n_of_ty(&mut self, elem: Ty<'tcx>) -> usize { [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/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn ty(&mut self, ty: Ty<'tcx>) -> Cow<'static, str> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TypeAndMut` in this scope [INFO] [stdout] --> src/main.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | ty::RawPtr(TypeAndMut { ty: slice, .. }) if let ty::Slice(elem) = slice.kind() => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TypeAndMut` in this scope [INFO] [stdout] --> src/main.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | ty::RawPtr(TypeAndMut { ty, mutbl: _ }) | ty::Ref(_, ty, _) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_slice_bytes` in this scope [INFO] [stdout] --> src/main.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | let bytes = get_slice_bytes(&self.tcx, cv); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope [INFO] [stdout] --> src/main.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | fn operand(&mut self, op: &Operand<'tcx>) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rvalue` in this scope [INFO] [stdout] --> src/main.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | fn rvalue(&mut self, mir: &mir::Body<'tcx>, rvalue: &Rvalue<'tcx>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TypeAndMut` in this scope [INFO] [stdout] --> src/main.rs:234:73 [INFO] [stdout] | [INFO] [stdout] 234 | Rvalue::Cast(mir::CastKind::Misc, op, ty) if let ty::RawPtr(TypeAndMut { ty: pointee, .. }) = ty.kind() => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TypeAndMut` in this scope [INFO] [stdout] --> src/main.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | if let ty::RawPtr(TypeAndMut { ty: pointee_from, .. }) = mir.local_decls()[local].ty.kind() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Place` in this scope [INFO] [stdout] --> src/main.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | Rvalue::AddressOf(_, Place { local, projection }) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/main.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | fn instance_header(&mut self, instance: &Instance<'tcx>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminator` in this scope [INFO] [stdout] --> src/main.rs:323:66 [INFO] [stdout] | [INFO] [stdout] 323 | fn terminator(&mut self, mir: &mir::Body<'tcx>, terminator: &Terminator<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Constant` in this scope [INFO] [stdout] --> src/main.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | func: Operand::Constant(box Constant { literal: ConstantKind::Ty(konst), .. }), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/main.rs:408:39 [INFO] [stdout] | [INFO] [stdout] 408 | fn instance(&mut self, instance: &Instance<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/main.rs:453:36 [INFO] [stdout] | [INFO] [stdout] 453 | fn prototype(&mut self, item: &MonoItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/main.rs:462:33 [INFO] [stdout] | [INFO] [stdout] 462 | fn define(&mut self, item: &MonoItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodegenUnit` in this scope [INFO] [stdout] --> src/main.rs:471:30 [INFO] [stdout] | [INFO] [stdout] 471 | let (_, cgus): (_, &[CodegenUnit<'_>]) = self.tcx.collect_and_partition_mono_items(()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> src/main.rs:490:6 [INFO] [stdout] | [INFO] [stdout] 490 | impl Callbacks for Mir2c { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope [INFO] [stdout] --> src/main.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | _compiler: &Compiler, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope [INFO] [stdout] --> src/main.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | queries: &'tcx Queries<'tcx>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(let_else)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 109 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mir2c` due to 110 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ad4d17dd366cb22f0380de0997fd0be92ee67ad7e5579c52be738aa5ad1d8d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4d17dd366cb22f0380de0997fd0be92ee67ad7e5579c52be738aa5ad1d8d66", kill_on_drop: false }` [INFO] [stdout] ad4d17dd366cb22f0380de0997fd0be92ee67ad7e5579c52be738aa5ad1d8d66