[INFO] fetching crate wasm-ast 0.0.4...
[INFO] checking wasm-ast-0.0.4 against beta-2021-10-15 for beta-1.56-3
[INFO] extracting crate wasm-ast 0.0.4 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate wasm-ast 0.0.4 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wasm-ast 0.0.4
[INFO] finished tweaking crates.io crate wasm-ast 0.0.4
[INFO] tweaked toml for crates.io crate wasm-ast 0.0.4 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate wasm-ast 0.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded minimal-lexical v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 776b00ddf4ba0ccdb2a8ac4051cccd850df77e2fafcff9ae69079ab9d5ad10c5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "776b00ddf4ba0ccdb2a8ac4051cccd850df77e2fafcff9ae69079ab9d5ad10c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "776b00ddf4ba0ccdb2a8ac4051cccd850df77e2fafcff9ae69079ab9d5ad10c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "776b00ddf4ba0ccdb2a8ac4051cccd850df77e2fafcff9ae69079ab9d5ad10c5", kill_on_drop: false }`
[INFO] [stdout] 776b00ddf4ba0ccdb2a8ac4051cccd850df77e2fafcff9ae69079ab9d5ad10c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 455cc109839556d84c6a339d449d62e65f869b68857368f0a31ef04ff0447ead
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "455cc109839556d84c6a339d449d62e65f869b68857368f0a31ef04ff0447ead", kill_on_drop: false }`
[INFO] [stderr]     Checking bstr v0.2.16
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking nom v7.0.0
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stderr]     Checking wasm-ast v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tortuga`
[INFO] [stdout]  --> benches/emit_module.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tortuga::compiler::emitter::{emit_module, CountingWrite};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `tortuga`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tortuga`
[INFO] [stdout]  --> benches/emit_module.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tortuga::model::{
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `tortuga`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CountingWrite`
[INFO] [stdout]   --> benches/emit_module.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let mut write = CountingWrite::new();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `CountingWrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CountingWrite`
[INFO] [stdout]   --> benches/emit_module.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |             let mut write = CountingWrite::new();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `CountingWrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberType`
[INFO] [stdout]   --> benches/emit_module.rs:36:49
[INFO] [stdout]    |
[INFO] [stdout] 36 |         ResultType::from(vec![ValueType::Number(NumberType::I64)]),
[INFO] [stdout]    |                                                 ^^^^^^^^^^ use of undeclared type `NumberType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberType`
[INFO] [stdout]   --> benches/emit_module.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 |         ResultType::from(vec![ValueType::Number(NumberType::F64)]),
[INFO] [stdout]    |                                                 ^^^^^^^^^^ use of undeclared type `NumberType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberType`
[INFO] [stdout]   --> benches/emit_module.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |         ResultType::from(vec![ValueType::Number(NumberType::I32)]),
[INFO] [stdout]    |                                                 ^^^^^^^^^^ use of undeclared type `NumberType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReferenceType`
[INFO] [stdout]   --> benches/emit_module.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         ReferenceType::Function,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ use of undeclared type `ReferenceType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementMode`
[INFO] [stdout]   --> benches/emit_module.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         ElementMode::Passive,
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared type `ElementMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataMode`
[INFO] [stdout]   --> benches/emit_module.rs:67:26
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let data = Data::new(DataMode::Passive, vec![42]);
[INFO] [stdout]    |                          ^^^^^^^^ use of undeclared type `DataMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReferenceType`
[INFO] [stdout]   --> benches/emit_module.rs:70:64
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let table = Table::new(TableType::new(Limit::new(1, None), ReferenceType::Function));
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^ use of undeclared type `ReferenceType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberType`
[INFO] [stdout]   --> benches/emit_module.rs:86:50
[INFO] [stdout]    |
[INFO] [stdout] 86 |         GlobalType::new(false, ValueType::Number(NumberType::I64)),
[INFO] [stdout]    |                                                  ^^^^^^^^^^ use of undeclared type `NumberType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> benches/emit_module.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let empty_module = Module::new();
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `emit_module` in this scope
[INFO] [stdout]   --> benches/emit_module.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             emit_module(&empty_module, &mut write).expect("An error occurred emitting the module.");
[INFO] [stdout]    |             ^^^^^^^^^^^ help: a local variable with a similar name exists: `empty_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `emit_module` in this scope
[INFO] [stdout]   --> benches/emit_module.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             emit_module(&singular_module, &mut write)
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Module` in this scope
[INFO] [stdout]   --> benches/emit_module.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn new_singular_module() -> Module {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> benches/emit_module.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut module = Module::new();
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType`
[INFO] [stdout]   --> benches/emit_module.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let function_type = FunctionType::new(
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::FunctionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]   --> benches/emit_module.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         ResultType::from(vec![ValueType::Number(NumberType::I64)]),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ResultType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType`
[INFO] [stdout]   --> benches/emit_module.rs:36:31
[INFO] [stdout]    |
[INFO] [stdout] 36 |         ResultType::from(vec![ValueType::Number(NumberType::I64)]),
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ValueType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]   --> benches/emit_module.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         ResultType::from(vec![ValueType::Number(NumberType::F64)]),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ResultType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType`
[INFO] [stdout]   --> benches/emit_module.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |         ResultType::from(vec![ValueType::Number(NumberType::F64)]),
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ValueType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function`
[INFO] [stdout]   --> benches/emit_module.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let function = Function::new(
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Function;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]   --> benches/emit_module.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         ResultType::from(vec![ValueType::Number(NumberType::I32)]),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ResultType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType`
[INFO] [stdout]   --> benches/emit_module.rs:43:31
[INFO] [stdout]    |
[INFO] [stdout] 43 |         ResultType::from(vec![ValueType::Number(NumberType::I32)]),
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ValueType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression`
[INFO] [stdout]   --> benches/emit_module.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::F64Constant(
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Expression;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction`
[INFO] [stdout]   --> benches/emit_module.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::F64Constant(
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Instruction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumericInstruction`
[INFO] [stdout]   --> benches/emit_module.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::F64Constant(
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::NumericInstruction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType`
[INFO] [stdout]   --> benches/emit_module.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let start_function_type = FunctionType::new(ResultType::from(vec![]), ResultType::from(vec![]));
[INFO] [stdout]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::FunctionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]   --> benches/emit_module.rs:50:49
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let start_function_type = FunctionType::new(ResultType::from(vec![]), ResultType::from(vec![]));
[INFO] [stdout]    |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ResultType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]   --> benches/emit_module.rs:50:75
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let start_function_type = FunctionType::new(ResultType::from(vec![]), ResultType::from(vec![]));
[INFO] [stdout]    |                                                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ResultType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Import`
[INFO] [stdout]   --> benches/emit_module.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let import = Import::new(
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Import;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name`
[INFO] [stdout]   --> benches/emit_module.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Name::new("test".to_string()),
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Name;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name`
[INFO] [stdout]   --> benches/emit_module.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         Name::new("foobar".to_string()),
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Name;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportDescription`
[INFO] [stdout]   --> benches/emit_module.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         ImportDescription::Function(1),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ImportDescription;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Element`
[INFO] [stdout]   --> benches/emit_module.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let element = Element::new(
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementInitializer`
[INFO] [stdout]   --> benches/emit_module.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         ElementInitializer::FunctionIndex(vec![0]),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ElementInitializer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Data`
[INFO] [stdout]   --> benches/emit_module.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let data = Data::new(DataMode::Passive, vec![42]);
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Data;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table`
[INFO] [stdout]   --> benches/emit_module.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let table = Table::new(TableType::new(Limit::new(1, None), ReferenceType::Function));
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Table;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType`
[INFO] [stdout]   --> benches/emit_module.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let table = Table::new(TableType::new(Limit::new(1, None), ReferenceType::Function));
[INFO] [stdout]    |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::TableType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Limit`
[INFO] [stdout]   --> benches/emit_module.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let table = Table::new(TableType::new(Limit::new(1, None), ReferenceType::Function));
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Limit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory`
[INFO] [stdout]   --> benches/emit_module.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let memory = Memory::new(MemoryType::new(Limit::new(1, None)));
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Memory;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType`
[INFO] [stdout]   --> benches/emit_module.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let memory = Memory::new(MemoryType::new(Limit::new(1, None)));
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::MemoryType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Limit`
[INFO] [stdout]   --> benches/emit_module.rs:73:46
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let memory = Memory::new(MemoryType::new(Limit::new(1, None)));
[INFO] [stdout]    |                                              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Limit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Export`
[INFO] [stdout]   --> benches/emit_module.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let export = Export::new(
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Export;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name`
[INFO] [stdout]   --> benches/emit_module.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         Name::new("foobar".to_string()),
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Name;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportDescription`
[INFO] [stdout]   --> benches/emit_module.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         ExportDescription::Function(0),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ExportDescription;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Start`
[INFO] [stdout]   --> benches/emit_module.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let start = Start::new(0);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Start;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global`
[INFO] [stdout]   --> benches/emit_module.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let global = Global::new(
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nom::lib::std::alloc::Global;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::alloc::Global;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Global;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType`
[INFO] [stdout]   --> benches/emit_module.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         GlobalType::new(false, ValueType::Number(NumberType::I64)),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::GlobalType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType`
[INFO] [stdout]   --> benches/emit_module.rs:86:32
[INFO] [stdout]    |
[INFO] [stdout] 86 |         GlobalType::new(false, ValueType::Number(NumberType::I64)),
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::ValueType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression`
[INFO] [stdout]   --> benches/emit_module.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::I64Constant(
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Expression;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction`
[INFO] [stdout]   --> benches/emit_module.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::I64Constant(
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::Instruction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumericInstruction`
[INFO] [stdout]   --> benches/emit_module.rs:87:51
[INFO] [stdout]    |
[INFO] [stdout] 87 |         Expression::new(vec![Instruction::Numeric(NumericInstruction::I64Constant(
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use wasm_ast::NumericInstruction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 54 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm-ast` due to 55 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "455cc109839556d84c6a339d449d62e65f869b68857368f0a31ef04ff0447ead", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "455cc109839556d84c6a339d449d62e65f869b68857368f0a31ef04ff0447ead", kill_on_drop: false }`
[INFO] [stdout] 455cc109839556d84c6a339d449d62e65f869b68857368f0a31ef04ff0447ead
