[INFO] fetching crate Ygen 0.1.2...
[INFO] checking Ygen-0.1.2 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate Ygen 0.1.2 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate Ygen 0.1.2 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate Ygen 0.1.2
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate Ygen 0.1.2
[INFO] tweaked toml for crates.io crate Ygen 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate crates.io crate Ygen 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror v1.0.63
[INFO] [stderr]   Downloaded thiserror-impl v1.0.63
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded unescaper v0.1.5
[INFO] [stderr]   Downloaded equivalent v1.0.1
[INFO] [stderr]   Downloaded version_check v0.9.4
[INFO] [stderr]   Downloaded byteorder v1.5.0
[INFO] [stderr]   Downloaded fallible-iterator v0.3.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.0
[INFO] [stderr]   Downloaded logos-derive v0.14.2
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] [stderr]   Downloaded logos-codegen v0.14.2
[INFO] [stderr]   Downloaded miniz_oxide v0.7.4
[INFO] [stderr]   Downloaded ahash v0.8.11
[INFO] [stderr]   Downloaded flate2 v1.0.30
[INFO] [stderr]   Downloaded indexmap v2.2.6
[INFO] [stderr]   Downloaded ruzstd v0.7.0
[INFO] [stderr]   Downloaded hashbrown v0.14.5
[INFO] [stderr]   Downloaded zerocopy v0.7.35
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.35
[INFO] [stderr]   Downloaded adler v1.0.2
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded syn v2.0.79
[INFO] [stderr]   Downloaded gimli v0.31.0
[INFO] [stderr]   Downloaded regex-syntax v0.8.4
[INFO] [stderr]   Downloaded object v0.36.4
[INFO] [stderr]   Downloaded twox-hash v1.6.3
[INFO] [stderr]   Downloaded static_assertions v1.1.0
[INFO] [stderr]   Downloaded logos v0.14.2
[INFO] [stderr]   Downloaded ygen_proc v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b18b2ecf839403231a63fe1b3f089b139c764e46834eddf4a773d37305c9c28a
[INFO] running `Command { std: "docker" "start" "-a" "b18b2ecf839403231a63fe1b3f089b139c764e46834eddf4a773d37305c9c28a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b18b2ecf839403231a63fe1b3f089b139c764e46834eddf4a773d37305c9c28a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b18b2ecf839403231a63fe1b3f089b139c764e46834eddf4a773d37305c9c28a", kill_on_drop: false }`
[INFO] [stdout] b18b2ecf839403231a63fe1b3f089b139c764e46834eddf4a773d37305c9c28a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 342cd254a5aca09f62d90975d067c16a117f58f15074f6251e6f4fcf6dd4c913
[INFO] running `Command { std: "docker" "start" "-a" "342cd254a5aca09f62d90975d067c16a117f58f15074f6251e6f4fcf6dd4c913", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking ruzstd v0.7.0
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking object v0.36.4
[INFO] [stderr]     Checking gimli v0.31.0
[INFO] [stderr]    Compiling logos-codegen v0.14.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling ygen_proc v0.1.0
[INFO] [stderr]    Compiling logos-derive v0.14.2
[INFO] [stderr]     Checking logos v0.14.2
[INFO] [stderr]     Checking unescaper v0.1.5
[INFO] [stderr]     Checking Ygen v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/debug_metadata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{debug::Lang, prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 2 | use Ygen::{debug::Lang, prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/simple.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 2 | use Ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ygen::debug::Lang`, `ygen::Support::ColorProfile`, `ygen::Target::initializeAllTargets`
[INFO] [stdout]  --> examples/debug_metadata.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{debug::Lang, prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |            ^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ygen::Support::ColorProfile`, `ygen::Target::initializeAllTargets`
[INFO] [stdout]  --> examples/simple.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/obj.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ygen::debug::{DebugLocation, DebugRegistry};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Ygen::debug::{DebugLocation, DebugRegistry};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/obj.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ygen::{Obj::*, Target::Triple};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 4 | use Ygen::{Obj::*, Target::Triple};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/obj.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ygen::Target::x64::{instr::*, x64Reg};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 5 | use Ygen::Target::x64::{instr::*, x64Reg};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ygen::debug::DebugLocation`, `ygen::debug::DebugRegistry`, `ygen::Obj::*`, `ygen::Target::Triple`, `ygen::Target::x64::instr::*`, `ygen::Target::x64::x64Reg`
[INFO] [stdout]  --> examples/obj.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ygen::debug::{DebugLocation, DebugRegistry};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 4 | use ygen::{Obj::*, Target::Triple};
[INFO] [stdout]   |            ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 5 | use ygen::Target::x64::{instr::*, x64Reg};
[INFO] [stdout]   |                         ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> examples/helloworld.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 2 | use Ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ygen::Support::ColorProfile`, `ygen::Target::initializeAllTargets`
[INFO] [stdout]  --> examples/helloworld.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ygen::{prelude::*, Support::ColorProfile, Target::initializeAllTargets};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ygen::{Optimizations::auto_max_optimize, Target::{x64::instr::*, x64Reg}};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 1 | use Ygen::{Optimizations::auto_max_optimize, Target::{x64::instr::*, x64Reg}};
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ygen::Optimizations::auto_max_optimize`, `ygen::Target::x64Reg`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ygen::{Optimizations::auto_max_optimize, Target::{x64::instr::*, x64Reg}};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ygen`
[INFO] [stdout]  --> tests/ir.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ygen::prelude::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `ygen`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 1 | use Ygen::prelude::*;
[INFO] [stdout]   |     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module` in this scope
[INFO] [stdout]   --> examples/debug_metadata.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut module = Module();
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IRBuilder` in this scope
[INFO] [stdout]   --> examples/debug_metadata.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut builder = IRBuilder();
[INFO] [stdout]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::IRBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/debug_metadata.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/debug_metadata.rs:19:49
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/debug_metadata.rs:19:69
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/debug_metadata.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let ty = FnTy(vec![], TypeMetadata::Void);
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/debug_metadata.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let ty = FnTy(vec![], TypeMetadata::Void);
[INFO] [stdout]    |                           ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type`
[INFO] [stdout]   --> examples/debug_metadata.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     builder.BuildRet( Type::Void );
[INFO] [stdout]    |                       ^^^^ use of undeclared type `Type`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Type;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triple`
[INFO] [stdout]   --> examples/debug_metadata.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let triple = Triple::host();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Triple`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Triple;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module` in this scope
[INFO] [stdout]  --> examples/simple.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut module = Module();
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IRBuilder` in this scope
[INFO] [stdout]  --> examples/simple.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut builder = IRBuilder();
[INFO] [stdout]   |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::IRBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/simple.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:10:67
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:10:87
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/simple.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/simple.rs:14:63
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triple`
[INFO] [stdout]   --> examples/simple.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let triple = Triple::host();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Triple`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Triple;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module` in this scope
[INFO] [stdout]  --> examples/helloworld.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut module = Module();
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IRBuilder` in this scope
[INFO] [stdout]  --> examples/helloworld.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut builder = IRBuilder();
[INFO] [stdout]   |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::IRBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/helloworld.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/helloworld.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/helloworld.rs:10:69
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let other = module.add("printf", &FnTy(vec![TypeMetadata::ptr], TypeMetadata::Void));
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> examples/helloworld.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let ty = FnTy(vec![], TypeMetadata::Void);
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> examples/helloworld.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let ty = FnTy(vec![], TypeMetadata::Void);
[INFO] [stdout]    |                           ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type`
[INFO] [stdout]   --> examples/helloworld.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     builder.BuildRet( Type::Void );
[INFO] [stdout]    |                       ^^^^ use of undeclared type `Type`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Type;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triple`
[INFO] [stdout]   --> examples/helloworld.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let triple = Triple::host();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Triple`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::Triple;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module` in this scope
[INFO] [stdout]  --> tests/ir.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut module = Module();
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IRBuilder` in this scope
[INFO] [stdout]  --> tests/ir.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut builder = IRBuilder();
[INFO] [stdout]   |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::IRBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]  --> tests/ir.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]   |                                      ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::FnTy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]  --> tests/ir.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]   |                                                ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]  --> tests/ir.rs:9:67
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]   |                                                                   ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]  --> tests/ir.rs:9:87
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let other = module.add("cfunc", &FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32));
[INFO] [stdout]   |                                                                                       ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FnTy` in this scope
[INFO] [stdout]   --> tests/ir.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::FnTy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> tests/ir.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> tests/ir.rs:13:43
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeMetadata`
[INFO] [stdout]   --> tests/ir.rs:13:63
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let ty = FnTy(vec![TypeMetadata::i32, TypeMetadata::i32], TypeMetadata::i32);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^ use of undeclared type `TypeMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::prelude::TypeMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Ygen` (example "debug_metadata") due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Ygen` (example "simple") due to 13 previous errors
[INFO] [stderr] error: could not compile `Ygen` (example "helloworld") due to 11 previous errors
[INFO] [stderr] error: could not compile `Ygen` (test "ir") due to 11 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let instr = X64MCInstr::with2(
[INFO] [stdout]   |                 ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Mnemonic::Mov, 
[INFO] [stdout]   |         ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Operand::Reg(x64Reg::Rcx),
[INFO] [stdout]   |         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Operand::Mem(MemOp { base: Some(x64Reg::R15), index: None, scale: 1, displ: 5, rip: false })
[INFO] [stdout]   |         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MemOp` in this scope
[INFO] [stdout]  --> tests/x64_instruction_encoding.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Operand::Mem(MemOp { base: Some(x64Reg::R15), index: None, scale: 1, displ: 5, rip: false })
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use Ygen::Target::x64::instr::MemOp;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let instr = X64MCInstr::with2(
[INFO] [stdout]    |                 ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Mnemonic::Mov, 
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Operand::Reg(x64Reg::R12b),
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Operand::Imm(12)
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let instr = X64MCInstr::with0(Mnemonic::Ret);
[INFO] [stdout]    |                 ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:24:35
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let instr = X64MCInstr::with0(Mnemonic::Ret);
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         X64MCInstr::with0(Mnemonic::StartOptimization),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |         X64MCInstr::with0(Mnemonic::StartOptimization),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rcx)),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rcx)),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rcx)),
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:33:69
[INFO] [stdout]    |
[INFO] [stdout] 33 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rcx)),
[INFO] [stdout]    |                                                                     ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rdx)),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |         X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rdx)),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |         X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rdx)),
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:34:69
[INFO] [stdout]    |
[INFO] [stdout] 34 |         X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rax), Operand::Reg(x64Reg::Rdx)),
[INFO] [stdout]    |                                                                     ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:35:69
[INFO] [stdout]    |
[INFO] [stdout] 35 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                                                                     ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         X64MCInstr::with0(Mnemonic::StartOptimization),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |         X64MCInstr::with0(Mnemonic::StartOptimization),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), Operand::Mem(x64Reg::Rcx + x64Reg::Rdx)),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |         X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), Operand::Mem(x64Reg::Rcx + x64Reg::Rdx)),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:40:42
[INFO] [stdout]    |
[INFO] [stdout] 40 |         X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), Operand::Mem(x64Reg::Rcx + x64Reg::Rdx)),
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:40:69
[INFO] [stdout]    |
[INFO] [stdout] 40 |         X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), Operand::Mem(x64Reg::Rcx + x64Reg::Rdx)),
[INFO] [stdout]    |                                                                     ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:41:42
[INFO] [stdout]    |
[INFO] [stdout] 41 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> tests/x64_instruction_encoding.rs:41:69
[INFO] [stdout]    |
[INFO] [stdout] 41 |         X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)),
[INFO] [stdout]    |                                                                     ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectBuilder`
[INFO] [stdout]   --> examples/obj.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut obj = ObjectBuilder::new(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ use of undeclared type `ObjectBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::ObjectBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decl`
[INFO] [stdout]   --> examples/obj.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         ("main", Decl::Function, Linkage::External),
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Decl`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Decl;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linkage`
[INFO] [stdout]   --> examples/obj.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         ("main", Decl::Function, Linkage::External),
[INFO] [stdout]    |                                  ^^^^^^^ use of undeclared type `Linkage`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Linkage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decl`
[INFO] [stdout]   --> examples/obj.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ("string", Decl::Constant, Linkage::Internal),
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Decl`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Decl;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linkage`
[INFO] [stdout]   --> examples/obj.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ("string", Decl::Constant, Linkage::Internal),
[INFO] [stdout]    |                                    ^^^^^^^ use of undeclared type `Linkage`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Linkage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decl`
[INFO] [stdout]   --> examples/obj.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |         ("printf", Decl::Function, Linkage::Extern),
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Decl`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Decl;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linkage`
[INFO] [stdout]   --> examples/obj.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |         ("printf", Decl::Function, Linkage::Extern),
[INFO] [stdout]    |                                    ^^^^^^^ use of undeclared type `Linkage`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Linkage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Push, Operand::Reg(x64Reg::Rbp)).compile()?);
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Push, Operand::Reg(x64Reg::Rbp)).compile()?);
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:29:63
[INFO] [stdout]    |
[INFO] [stdout] 29 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Push, Operand::Reg(x64Reg::Rbp)).compile()?);
[INFO] [stdout]    |                                                               ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Sub, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:30:47
[INFO] [stdout]    |
[INFO] [stdout] 30 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Sub, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:30:62
[INFO] [stdout]    |
[INFO] [stdout] 30 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Sub, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                                              ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:30:89
[INFO] [stdout]    |
[INFO] [stdout] 30 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Sub, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                                                                         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let rip_relativ = Operand::Mem(MemOp { base: None, index: None, scale: 1, displ: 0, rip: true });
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MemOp` in this scope
[INFO] [stdout]   --> examples/obj.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let rip_relativ = Operand::Mem(MemOp { base: None, index: None, scale: 1, displ: 0, rip: true });
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::MemOp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), rip_relativ).compile()?);
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:36:47
[INFO] [stdout]    |
[INFO] [stdout] 36 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), rip_relativ).compile()?);
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:36:62
[INFO] [stdout]    |
[INFO] [stdout] 36 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Lea, Operand::Reg(x64Reg::Rax), rip_relativ).compile()?);
[INFO] [stdout]    |                                                              ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Link` in this scope
[INFO] [stdout]   --> examples/obj.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     obj.link( Link { from: "main".into(), to: "string".into(), at: data.len(), addend: -4, special: false });
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Link;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic::Link;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                 ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:41:51
[INFO] [stdout]    |
[INFO] [stdout] 41 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                   ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:41:66
[INFO] [stdout]    |
[INFO] [stdout] 41 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                                  ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:41:93
[INFO] [stdout]    |
[INFO] [stdout] 41 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rcx), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                                                             ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rsi), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                 ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:43:51
[INFO] [stdout]    |
[INFO] [stdout] 43 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rsi), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                   ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:43:66
[INFO] [stdout]    |
[INFO] [stdout] 43 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rsi), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                                  ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:43:93
[INFO] [stdout]    |
[INFO] [stdout] 43 |         data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Mov, Operand::Reg(x64Reg::Rsi), Operand::Reg(x64Reg::Rax)).compile()?);
[INFO] [stdout]    |                                                                                             ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Call, Operand::Imm(0)).compile()?); // call printf
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:48:47
[INFO] [stdout]    |
[INFO] [stdout] 48 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Call, Operand::Imm(0)).compile()?); // call printf
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:48:63
[INFO] [stdout]    |
[INFO] [stdout] 48 |     data.extend_from_slice(&X64MCInstr::with1(Mnemonic::Call, Operand::Imm(0)).compile()?); // call printf
[INFO] [stdout]    |                                                               ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Link` in this scope
[INFO] [stdout]   --> examples/obj.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |     obj.link( Link { from: "main".into(), to: "printf".into(), at: data.len(), addend: -4, special: false });
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Obj::Link;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic::Link;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Xor, Operand::Reg(x64Reg::Eax), Operand::Reg(x64Reg::Eax)).compile()?);
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:54:47
[INFO] [stdout]    |
[INFO] [stdout] 54 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Xor, Operand::Reg(x64Reg::Eax), Operand::Reg(x64Reg::Eax)).compile()?);
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:54:62
[INFO] [stdout]    |
[INFO] [stdout] 54 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Xor, Operand::Reg(x64Reg::Eax), Operand::Reg(x64Reg::Eax)).compile()?);
[INFO] [stdout]    |                                                              ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:54:89
[INFO] [stdout]    |
[INFO] [stdout] 54 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Xor, Operand::Reg(x64Reg::Eax), Operand::Reg(x64Reg::Eax)).compile()?);
[INFO] [stdout]    |                                                                                         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:57:29
[INFO] [stdout]    |
[INFO] [stdout] 57 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:57:62
[INFO] [stdout]    |
[INFO] [stdout] 57 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                                              ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand`
[INFO] [stdout]   --> examples/obj.rs:57:89
[INFO] [stdout]    |
[INFO] [stdout] 57 |     data.extend_from_slice(&X64MCInstr::with2(Mnemonic::Add, Operand::Reg(x64Reg::Rsp), Operand::Imm(40)).compile()?);
[INFO] [stdout]    |                                                                                         ^^^^^^^ use of undeclared type `Operand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Operand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X64MCInstr`
[INFO] [stdout]   --> examples/obj.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |     data.extend_from_slice(&X64MCInstr::with0(Mnemonic::Ret).compile()?); // ret
[INFO] [stdout]    |                             ^^^^^^^^^^ use of undeclared type `X64MCInstr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::X64MCInstr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]   --> examples/obj.rs:58:47
[INFO] [stdout]    |
[INFO] [stdout] 58 |     data.extend_from_slice(&X64MCInstr::with0(Mnemonic::Ret).compile()?); // ret
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use Ygen::Target::x64::instr::Mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Ygen` (test "x64_instruction_encoding") due to 37 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Ygen` (example "obj") due to 46 previous errors
[INFO] running `Command { std: "docker" "inspect" "342cd254a5aca09f62d90975d067c16a117f58f15074f6251e6f4fcf6dd4c913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "342cd254a5aca09f62d90975d067c16a117f58f15074f6251e6f4fcf6dd4c913", kill_on_drop: false }`
[INFO] [stdout] 342cd254a5aca09f62d90975d067c16a117f58f15074f6251e6f4fcf6dd4c913
