[INFO] cloning repository https://github.com/saifsuleman/flux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saifsuleman/flux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fflux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fflux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed21cc9b2c583543652c2edf905779b3a3e33d71 [INFO] checking saifsuleman/flux against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fflux" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/saifsuleman/flux [INFO] finished tweaking git repo https://github.com/saifsuleman/flux [INFO] tweaked toml for git repo https://github.com/saifsuleman/flux written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saifsuleman/flux on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/saifsuleman/flux 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking saifsuleman/flux against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaifsuleman%2Fflux" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/saifsuleman/flux [INFO] finished tweaking git repo https://github.com/saifsuleman/flux [INFO] tweaked toml for git repo https://github.com/saifsuleman/flux written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saifsuleman/flux on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/saifsuleman/flux 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift v0.122.0 [INFO] [stderr] Downloaded region v3.0.2 [INFO] [stderr] Downloaded cranelift-module v0.122.0 [INFO] [stderr] Downloaded cranelift-jit v0.122.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d813e7c9e7ff49fe701f1c92c02a7c98c6c7323251effba056311602da18e0c3 [INFO] running `Command { std: "docker" "start" "-a" "d813e7c9e7ff49fe701f1c92c02a7c98c6c7323251effba056311602da18e0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d813e7c9e7ff49fe701f1c92c02a7c98c6c7323251effba056311602da18e0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d813e7c9e7ff49fe701f1c92c02a7c98c6c7323251effba056311602da18e0c3", kill_on_drop: false }` [INFO] [stdout] d813e7c9e7ff49fe701f1c92c02a7c98c6c7323251effba056311602da18e0c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4324e7ce8dce5978396c8b81a79b3b0ed48634dab3a2101c6aee547350bba64 [INFO] running `Command { std: "docker" "start" "-a" "d4324e7ce8dce5978396c8b81a79b3b0ed48634dab3a2101c6aee547350bba64", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-srcgen v0.122.0 [INFO] [stderr] Compiling cranelift-isle v0.122.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.122.0 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking cranelift-bitset v0.122.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking wasmtime-internal-math v35.0.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking cranelift-entity v0.122.0 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.122.0 [INFO] [stderr] Checking regalloc2 v0.12.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cranelift-bforest v0.122.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v35.0.0 [INFO] [stderr] Checking cranelift-control v0.122.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.122.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.122.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling cranelift-codegen v0.122.0 [INFO] [stderr] Checking cranelift-module v0.122.0 [INFO] [stderr] Checking cranelift-frontend v0.122.0 [INFO] [stderr] Checking cranelift-native v0.122.0 [INFO] [stderr] Checking cranelift-jit v0.122.0 [INFO] [stderr] Checking cranelift v0.122.0 [INFO] [stderr] Checking flux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/runtime/async_runtime.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::jit::CompiledFunction` [INFO] [stdout] --> src/runtime/async_runtime.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::jit::CompiledFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CompiledFunction` in `jit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 19 | use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ast::Expr`, `crate::ast::Type` [INFO] [stdout] --> src/jit/compiler.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::ast::{Expr, Type}; [INFO] [stdout] | ^^^^ ^^^^ no `Type` in `ast` [INFO] [stdout] | | [INFO] [stdout] | no `Expr` in `ast` [INFO] [stdout] | help: a similar name exists in the module: `expr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::expr::Expr [INFO] [stdout] crate::jit::compiler::codegen::ir::Expr [INFO] [stdout] cranelift_codegen::ir::Expr [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::types::Type [INFO] [stdout] crate::jit::compiler::types::Type [INFO] [stdout] cranelift::prelude::Type [INFO] [stdout] cranelift_codegen::ir::Type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/jit/compiler.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::module::ModuleRegistry` [INFO] [stdout] --> src/jit/compiler.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::module::ModuleRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ModuleRegistry` in `module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 18 | use crate::module::registry::ModuleRegistry; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/runtime/async_runtime.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::jit::CompiledFunction` [INFO] [stdout] --> src/runtime/async_runtime.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::jit::CompiledFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CompiledFunction` in `jit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 19 | use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ast::Expr`, `crate::ast::Type` [INFO] [stdout] --> src/jit/compiler.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::ast::{Expr, Type}; [INFO] [stdout] | ^^^^ ^^^^ no `Type` in `ast` [INFO] [stdout] | | [INFO] [stdout] | no `Expr` in `ast` [INFO] [stdout] | help: a similar name exists in the module: `expr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::expr::Expr [INFO] [stdout] crate::jit::compiler::codegen::ir::Expr [INFO] [stdout] cranelift_codegen::ir::Expr [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::types::Type [INFO] [stdout] crate::jit::compiler::types::Type [INFO] [stdout] cranelift::prelude::Type [INFO] [stdout] cranelift_codegen::ir::Type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/jit/value.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gc::{GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | [INFO] [stdout] | | no `GCPtr` in `gc` [INFO] [stdout] | no `GCObject` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ast::Expr`, `crate::ast::Type` [INFO] [stdout] --> src/curry/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Expr, Type}; [INFO] [stdout] | ^^^^ ^^^^ no `Type` in `ast` [INFO] [stdout] | | [INFO] [stdout] | no `Expr` in `ast` [INFO] [stdout] | help: a similar name exists in the module: `expr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::expr::Expr [INFO] [stdout] cranelift_codegen::ir::Expr [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::types::Type [INFO] [stdout] cranelift::prelude::Type [INFO] [stdout] cranelift_codegen::ir::Type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/jit/compiler.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::module::ModuleRegistry` [INFO] [stdout] --> src/jit/compiler.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::module::ModuleRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ModuleRegistry` in `module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 18 | use crate::module::registry::ModuleRegistry; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/jit/value.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gc::{GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | [INFO] [stdout] | | no `GCPtr` in `gc` [INFO] [stdout] | no `GCObject` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/curry/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::jit::CompiledFunction` [INFO] [stdout] --> src/curry/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::CompiledFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CompiledFunction` in `jit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/runtime/async_runtime.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use parking_lot::Mutex as ParkMutex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `parking_lot` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parking_lot`, use `cargo add parking_lot` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/gc/collector.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use parking_lot::ReentrantMutex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `parking_lot` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parking_lot`, use `cargo add parking_lot` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cranelift_entity` [INFO] [stdout] --> src/jit/compiler.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cranelift_entity::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cranelift_entity` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - use cranelift_entity::EntityRef; [INFO] [stdout] 13 + use cranelift_jit::EntityRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ast::Expr`, `crate::ast::Type` [INFO] [stdout] --> src/curry/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Expr, Type}; [INFO] [stdout] | ^^^^ ^^^^ no `Type` in `ast` [INFO] [stdout] | | [INFO] [stdout] | no `Expr` in `ast` [INFO] [stdout] | help: a similar name exists in the module: `expr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::expr::Expr [INFO] [stdout] cranelift_codegen::ir::Expr [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ast::types::Type [INFO] [stdout] cranelift::prelude::Type [INFO] [stdout] cranelift_codegen::ir::Type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gc::GarbageCollector`, `crate::gc::GCObject`, `crate::gc::GCPtr`, `crate::gc::GCValue` [INFO] [stdout] --> src/curry/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gc::{GarbageCollector, GCObject, GCPtr, GCValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ no `GCValue` in `gc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GCPtr` in `gc` [INFO] [stdout] | | no `GCObject` in `gc` [INFO] [stdout] | no `GarbageCollector` in `gc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GarbageCollector [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::gc::collector::GCObject [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::gc::collector::GCPtr [INFO] [stdout] crate::jit::value::Value::GCPtr [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::gc::collector::GCValue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::jit::CompiledFunction` [INFO] [stdout] --> src/curry/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::CompiledFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CompiledFunction` in `jit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/runtime/async_runtime.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use parking_lot::Mutex as ParkMutex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `parking_lot` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parking_lot`, use `cargo add parking_lot` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/gc/collector.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use parking_lot::ReentrantMutex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `parking_lot` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parking_lot`, use `cargo add parking_lot` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cranelift_entity` [INFO] [stdout] --> src/jit/compiler.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cranelift_entity::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cranelift_entity` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - use cranelift_entity::EntityRef; [INFO] [stdout] 13 + use cranelift_jit::EntityRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Literal` in this scope [INFO] [stdout] --> src/ast/pattern.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | Guard(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Range(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Literal` in this scope [INFO] [stdout] --> src/ast/pattern.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | Guard(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Range(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Range(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub guard: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub body: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(pattern: Pattern, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn with_guard(pattern: Pattern, guard: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Range(Box, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub guard: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn with_guard(pattern: Pattern, guard: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub scrutinee: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub body: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/runtime/async_runtime.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/runtime/async_runtime.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(pattern: Pattern, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/runtime/async_runtime.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn with_guard(pattern: Pattern, guard: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompiledFunction` in this scope [INFO] [stdout] --> src/gc/collector.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Function(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn with_guard(pattern: Pattern, guard: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/pattern.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub scrutinee: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::expr::Expr; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fields: Arc>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/runtime/async_runtime.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/runtime/async_runtime.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/runtime/async_runtime.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompiledFunction` in this scope [INFO] [stdout] --> src/gc/collector.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Function(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fields: Arc>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/gc/collector.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | locals: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | Expr::Literal(Literal::Int(n)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::Literal(Literal::Float(f)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | Expr::Literal(Literal::Bool(b)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | Expr::Literal(Literal::Char(c)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | Expr::Literal(Literal::String(s)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | Expr::Literal(Literal::Unit) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:376:27 [INFO] [stdout] | [INFO] [stdout] 376 | let mut env = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | Expr::Literal(Literal::Int(n)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:401:30 [INFO] [stdout] | [INFO] [stdout] 401 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | Expr::Literal(Literal::Float(f)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | Expr::Literal(Literal::Bool(b)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | Expr::Literal(Literal::Char(c)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | Expr::Literal(Literal::String(s)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/jit/compiler.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | Expr::Literal(Literal::Unit) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::expr::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:376:27 [INFO] [stdout] | [INFO] [stdout] 376 | let mut env = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:401:30 [INFO] [stdout] | [INFO] [stdout] 401 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:494:38 [INFO] [stdout] | [INFO] [stdout] 494 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:494:38 [INFO] [stdout] | [INFO] [stdout] 494 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:706:66 [INFO] [stdout] | [INFO] [stdout] 706 | let array_obj = self.gc.allocate(GCValue::Array(Arc::new(Mutex::new(Vec::new())))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:788:30 [INFO] [stdout] | [INFO] [stdout] 788 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:788:41 [INFO] [stdout] | [INFO] [stdout] 788 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:706:66 [INFO] [stdout] | [INFO] [stdout] 706 | let array_obj = self.gc.allocate(GCValue::Array(Arc::new(Mutex::new(Vec::new())))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/compiler.rs:788:30 [INFO] [stdout] | [INFO] [stdout] 788 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 9 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:788:41 [INFO] [stdout] | [INFO] [stdout] 788 | fields: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:1097:34 [INFO] [stdout] | [INFO] [stdout] 1097 | let sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CatchBlock` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | catch_blocks: &[CatchBlock], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1307:23 [INFO] [stdout] | [INFO] [stdout] 1307 | let env = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:1320:42 [INFO] [stdout] | [INFO] [stdout] 1320 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MatchArm` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1370 | arms: &[MatchArm], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::pattern::MatchArm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1394:84 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1421:16 [INFO] [stdout] | [INFO] [stdout] 1421 | variables: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | locals: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:1097:34 [INFO] [stdout] | [INFO] [stdout] 1097 | let sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CatchBlock` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | catch_blocks: &[CatchBlock], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1307:23 [INFO] [stdout] | [INFO] [stdout] 1307 | let env = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallConv` [INFO] [stdout] --> src/jit/compiler.rs:1320:42 [INFO] [stdout] | [INFO] [stdout] 1320 | let mut sig = Signature::new(CallConv::SystemV); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CallConv` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 9 + use crate::jit::compiler::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift::prelude::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] 9 + use cranelift_codegen::isa::CallConv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MatchArm` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1370 | arms: &[MatchArm], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use crate::ast::pattern::MatchArm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1394:84 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/jit/compiler.rs:1421:16 [INFO] [stdout] | [INFO] [stdout] 1421 | variables: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1434:24 [INFO] [stdout] | [INFO] [stdout] 1434 | variables: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | Function(Arc), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompiledFunction` in this scope [INFO] [stdout] --> src/jit/value.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Function(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/jit/value.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fields: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/jit/value.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CoroutineState` in this scope [INFO] [stdout] --> src/jit/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use crate::gc::collector::CoroutineState; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::runtime::async_runtime::CoroutineState; [INFO] [stdout] | [INFO] [stdout] 5 + use std::ops::CoroutineState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | MutableRef(Arc>), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/jit/value.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | MutableRef(Arc>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GarbageCollector` in this scope [INFO] [stdout] --> src/jit/value.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_gc_value(&self, gc: &mut GarbageCollector) -> GCValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::gc::collector::GarbageCollector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/jit/value.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | fields: Arc::new(Mutex::new(gc_fields)), [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/value.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | fields: Arc::new(Mutex::new(gc_fields)), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/jit/value.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | GCValue::Array(Arc::new(Mutex::new(gc_elements))) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/value.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | GCValue::Array(Arc::new(Mutex::new(gc_elements))) [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/jit/compiler.rs:1434:24 [INFO] [stdout] | [INFO] [stdout] 1434 | variables: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | Function(Arc), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompiledFunction` in this scope [INFO] [stdout] --> src/jit/value.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Function(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::jit::compiler::CompiledFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/jit/value.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fields: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/jit/value.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CoroutineState` in this scope [INFO] [stdout] --> src/jit/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Coroutine(Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use crate::gc::collector::CoroutineState; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::runtime::async_runtime::CoroutineState; [INFO] [stdout] | [INFO] [stdout] 5 + use std::ops::CoroutineState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/jit/value.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | MutableRef(Arc>), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/jit/value.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | MutableRef(Arc>), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GarbageCollector` in this scope [INFO] [stdout] --> src/jit/value.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_gc_value(&self, gc: &mut GarbageCollector) -> GCValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::gc::collector::GarbageCollector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/jit/value.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | fields: Arc::new(Mutex::new(gc_fields)), [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/runtime/async_runtime.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Arc, Mutex, RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/value.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | fields: Arc::new(Mutex::new(gc_fields)), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/runtime/async_runtime.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/runtime/async_runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/jit/value.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | GCValue::Array(Arc::new(Mutex::new(gc_elements))) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/gc/collector.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Arc, Mutex, RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/gc/collector.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/jit/value.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | GCValue::Array(Arc::new(Mutex::new(gc_elements))) [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::types::*` [INFO] [stdout] --> src/jit/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cranelift_codegen::ir::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> src/jit/compiler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/runtime/async_runtime.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Arc, Mutex, RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/runtime/async_runtime.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/runtime/async_runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/gc/collector.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Arc, Mutex, RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/gc/collector.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::types::*` [INFO] [stdout] --> src/jit/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cranelift_codegen::ir::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> src/jit/compiler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_schemes` on type `&mut TypeInference` [INFO] [stdout] --> src/typechecker/infer.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | self.type_schemes.insert(name.to_string(), scheme); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `next_var`, `constraints`, `substitutions`, `module_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_schemes` on type `&mut TypeInference` [INFO] [stdout] --> src/typechecker/infer.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | self.type_schemes.insert(name.to_string(), scheme); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `next_var`, `constraints`, `substitutions`, `module_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_pop` found for struct `Injector` in the current scope [INFO] [stdout] --> src/runtime/async_runtime.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(coroutine) = self.global_queue.try_pop() { [INFO] [stdout] | ^^^^^^^ method not found in `Injector>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_pop` found for struct `Injector` in the current scope [INFO] [stdout] --> src/runtime/async_runtime.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(coroutine) = self.global_queue.try_pop() { [INFO] [stdout] | ^^^^^^^ method not found in `Injector>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `running` on type `Arc` [INFO] [stdout] --> src/runtime/async_runtime.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | while scheduler.running.load(Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_queue`, `worker_queues`, `stealers`, `next_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `running` on type `Arc` [INFO] [stdout] --> src/runtime/async_runtime.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | while scheduler.running.load(Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_queue`, `worker_queues`, `stealers`, `next_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Fn() -> Arc + Send + 'static)` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/gc/collector.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | continuation: Box GCPtr + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `(dyn Fn() -> Arc + Send + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Fn() -> Arc + Send + 'static)` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/gc/collector.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | continuation: Box GCPtr + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `(dyn Fn() -> Arc + Send + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `collections` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | stats.collections += 1; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-d963e331fc1bce6e.long-type-12803695251952191912.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 194 | stats.unwrap().collections += 1; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `total_time` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | stats.total_time += start.elapsed(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-d963e331fc1bce6e.long-type-12803695251952191912.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 195 | stats.unwrap().total_time += start.elapsed(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `objects_collected` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | stats.objects_collected += collected as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-d963e331fc1bce6e.long-type-12803695251952191912.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 196 | stats.unwrap().objects_collected += collected as u64; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `collections` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | stats.collections += 1; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-946af26d08eac0ed.long-type-12995148059249627011.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 194 | stats.unwrap().collections += 1; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `total_time` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | stats.total_time += start.elapsed(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-946af26d08eac0ed.long-type-12995148059249627011.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 195 | stats.unwrap().total_time += start.elapsed(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `objects_collected` on type `Result, PoisonError>>` [INFO] [stdout] --> src/gc/collector.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | stats.objects_collected += collected as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-946af26d08eac0ed.long-type-12995148059249627011.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 196 | stats.unwrap().objects_collected += collected as u64; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for enum `Result, PoisonError>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/gc/collector.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 306 | self.stats.lock().clone() [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::MutexGuard<'_, GCStats>: Clone` [INFO] [stdout] which is required by `std::result::Result, PoisonError>>: Clone` [INFO] [stdout] `PoisonError>: Clone` [INFO] [stdout] which is required by `std::result::Result, PoisonError>>: Clone` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-d963e331fc1bce6e.long-type-1271138091619824243.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gc/collector.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let Some(arc) = Arc::from_raw(self.ptr) { [INFO] [stdout] | ^^^^^^^^^ ----------------------- this expression has type `Arc` [INFO] [stdout] | | [INFO] [stdout] | expected `Arc`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for enum `Result, PoisonError>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/gc/collector.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 306 | self.stats.lock().clone() [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::MutexGuard<'_, GCStats>: Clone` [INFO] [stdout] which is required by `std::result::Result, PoisonError>>: Clone` [INFO] [stdout] `PoisonError>: Clone` [INFO] [stdout] which is required by `std::result::Result, PoisonError>>: Clone` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flux-946af26d08eac0ed.long-type-11463521663009024523.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gc/collector.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let Some(arc) = Arc::from_raw(self.ptr) { [INFO] [stdout] | ^^^^^^^^^ ----------------------- this expression has type `Arc` [INFO] [stdout] | | [INFO] [stdout] | expected `Arc`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gc/collector.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | if let Some(obj) = Arc::from_raw(self.ptr) { [INFO] [stdout] | ^^^^^^^^^ ----------------------- this expression has type `Arc` [INFO] [stdout] | | [INFO] [stdout] | expected `Arc`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jit/compiler.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let module = JITModule::new(builder); [INFO] [stdout] | -------------- ^^^^^^^ expected `JITBuilder`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JITBuilder` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-jit-0.122.0/src/backend.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn new(builder: JITBuilder) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 55 | let module = JITModule::new(builder.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gc/collector.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | if let Some(obj) = Arc::from_raw(self.ptr) { [INFO] [stdout] | ^^^^^^^^^ ----------------------- this expression has type `Arc` [INFO] [stdout] | | [INFO] [stdout] | expected `Arc`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jit/compiler.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let module = JITModule::new(builder); [INFO] [stdout] | -------------- ^^^^^^^ expected `JITBuilder`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JITBuilder` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-jit-0.122.0/src/backend.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn new(builder: JITBuilder) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 55 | let module = JITModule::new(builder.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | is_suspend: matches!(ty, Type::SuspendFunction(_, _)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | is_suspend: matches!(ty, Type::SuspendFunction(_, _)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | Type::Function(param, ret) => { [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | Type::Function(param, ret) => { [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | Type::SuspendFunction(param, ret) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | Type::SuspendFunction(param, ret) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Int` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | Type::Int => Ok(types::I64), [INFO] [stdout] | ^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `int` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Int` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | Type::Int => Ok(types::I64), [INFO] [stdout] | ^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `int` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Float` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | Type::Float => Ok(types::F64), [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Float` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | Type::Float => Ok(types::F64), [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Bool` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | Type::Bool => Ok(types::I8), [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Bool` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | Type::Bool => Ok(types::I8), [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `String` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `List` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `String` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tuple` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `List` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Object` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:67 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tuple` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | Type::Unit => Ok(types::I8), // Unit as i8(0) [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Object` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:174:67 [INFO] [stdout] | [INFO] [stdout] 174 | Type::String | Type::List(_) | Type::Tuple(_) | Type::Object(_) => { [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | Type::Function(_, _) | Type::SuspendFunction(_, _) => { [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | Type::Unit => Ok(types::I8), // Unit as i8(0) [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | Type::Function(_, _) | Type::SuspendFunction(_, _) => { [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | Type::Function(_, _) | Type::SuspendFunction(_, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Custom` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | Type::Custom(_) => Ok(types::I64), // Pointer to custom type [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | Type::Function(_, _) | Type::SuspendFunction(_, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MutableRef` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | Type::MutableRef(inner) => { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Custom` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | Type::Custom(_) => Ok(types::I64), // Pointer to custom type [INFO] [stdout] | ^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Array` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | Type::Array(inner) => { [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MutableRef` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | Type::MutableRef(inner) => { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | Type::Unknown(_) => Err("Cannot compile unknown type".to_string()), [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Array` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | Type::Array(inner) => { [INFO] [stdout] | ^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | Type::Unknown(_) => Err("Cannot compile unknown type".to_string()), [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 6 arguments but 7 arguments were supplied [INFO] [stdout] --> src/jit/compiler.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | self.compile_let(builder, name, value, body, *mutable, type_annotation, ctx) [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #6 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/jit/compiler.rs:579:8 [INFO] [stdout] | [INFO] [stdout] 579 | fn compile_let( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 251 - self.compile_let(builder, name, value, body, *mutable, type_annotation, ctx) [INFO] [stdout] 251 + self.compile_let(builder, name, value, body, *mutable, ctx) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:338:100 [INFO] [stdout] | [INFO] [stdout] 338 | let func = self.compile_function(name, body, return_type.as_ref().unwrap_or(&Type::Unit))?; [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:344:100 [INFO] [stdout] | [INFO] [stdout] 344 | let func = self.compile_function(name, body, return_type.as_ref().unwrap_or(&Type::Unit))?; [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 6 arguments but 7 arguments were supplied [INFO] [stdout] --> src/jit/compiler.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | self.compile_let(builder, name, value, body, *mutable, type_annotation, ctx) [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #6 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/jit/compiler.rs:579:8 [INFO] [stdout] | [INFO] [stdout] 579 | fn compile_let( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 251 - self.compile_let(builder, name, value, body, *mutable, type_annotation, ctx) [INFO] [stdout] 251 + self.compile_let(builder, name, value, body, *mutable, ctx) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:374:69 [INFO] [stdout] | [INFO] [stdout] 374 | let param_type = param_type.clone().unwrap_or_else(|| Type::Unknown(0)); [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_inference` on type `&mut JITCompiler` [INFO] [stdout] --> src/jit/compiler.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | self.type_inference.infer(body, &env) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ctx`, `module`, `builder_context`, `module_registry`, `gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:338:100 [INFO] [stdout] | [INFO] [stdout] 338 | let func = self.compile_function(name, body, return_type.as_ref().unwrap_or(&Type::Unit))?; [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unit` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:344:100 [INFO] [stdout] | [INFO] [stdout] 344 | let func = self.compile_function(name, body, return_type.as_ref().unwrap_or(&Type::Unit))?; [INFO] [stdout] | ^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `init` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-epoch-0.9.18/src/atomic.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn init(init: Self::Init) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | Type::SuspendFunction(Box::new(param_type), Box::new(body_type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:374:69 [INFO] [stdout] | [INFO] [stdout] 374 | let param_type = param_type.clone().unwrap_or_else(|| Type::Unknown(0)); [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_inference` on type `&mut JITCompiler` [INFO] [stdout] --> src/jit/compiler.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | self.type_inference.infer(body, &env) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ctx`, `module`, `builder_context`, `module_registry`, `gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | Type::Function(Box::new(param_type), Box::new(body_type)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jit/compiler.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | if name.starts_with("param_") || name == param { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let fields = Arc::clone(&closure_obj.value.as_object().unwrap().fields); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 407 | fields.lock().unwrap().insert( [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `fields` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 406 | let fields: Arc = Arc::clone(&closure_obj.value.as_object().unwrap().fields); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SuspendFunction` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | Type::SuspendFunction(Box::new(param_type), Box::new(body_type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | Type::Function(Box::new(param_type), Box::new(body_type)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jit/compiler.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | if name.starts_with("param_") || name == param { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let fields = Arc::clone(&closure_obj.value.as_object().unwrap().fields); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 407 | fields.lock().unwrap().insert( [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `fields` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 406 | let fields: Arc = Arc::clone(&closure_obj.value.as_object().unwrap().fields); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `cranelift::prelude::Block` as `*const u8` [INFO] [stdout] --> src/jit/compiler.rs:539:19 [INFO] [stdout] | [INFO] [stdout] 539 | code: continuation_block as *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:712:13 [INFO] [stdout] | [INFO] [stdout] 712 | let array = Arc::clone(&array_obj.value.as_array().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 713 | let mut array_lock = array.lock().unwrap(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `array` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 712 | let array: Arc = Arc::clone(&array_obj.value.as_array().unwrap()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `cranelift::prelude::Block` as `*const u8` [INFO] [stdout] --> src/jit/compiler.rs:539:19 [INFO] [stdout] | [INFO] [stdout] 539 | code: continuation_block as *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:712:13 [INFO] [stdout] | [INFO] [stdout] 712 | let array = Arc::clone(&array_obj.value.as_array().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 713 | let mut array_lock = array.lock().unwrap(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `array` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 712 | let array: Arc = Arc::clone(&array_obj.value.as_array().unwrap()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | let fields_map = Arc::clone(&object_obj.value.as_object().unwrap().fields); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | fields_map.lock().unwrap().insert(name.clone(), gc_value); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `fields_map` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 794 | let fields_map: Arc = Arc::clone(&object_obj.value.as_object().unwrap().fields); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jit/compiler.rs:799:47 [INFO] [stdout] | [INFO] [stdout] 799 | fields_map.lock().unwrap().insert(name.clone(), gc_value); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:828:23 [INFO] [stdout] | [INFO] [stdout] 828 | builder.ins().brz(cond_value, else_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:835:41 [INFO] [stdout] | [INFO] [stdout] 835 | builder.ins().jump(merge_block, &[then_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | builder.ins().jump(merge_block, &[else_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:875:23 [INFO] [stdout] | [INFO] [stdout] 875 | builder.ins().brz(cond_value, exit_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> src/jit/compiler.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | let fields_map = Arc::clone(&object_obj.value.as_object().unwrap().fields); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | fields_map.lock().unwrap().insert(name.clone(), gc_value); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `fields_map` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 794 | let fields_map: Arc = Arc::clone(&object_obj.value.as_object().unwrap().fields); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jit/compiler.rs:799:47 [INFO] [stdout] | [INFO] [stdout] 799 | fields_map.lock().unwrap().insert(name.clone(), gc_value); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:919:23 [INFO] [stdout] | [INFO] [stdout] 919 | builder.ins().brz(has_more, exit_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:828:23 [INFO] [stdout] | [INFO] [stdout] 828 | builder.ins().brz(cond_value, else_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:835:41 [INFO] [stdout] | [INFO] [stdout] 835 | builder.ins().jump(merge_block, &[then_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | builder.ins().jump(merge_block, &[else_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:875:23 [INFO] [stdout] | [INFO] [stdout] 875 | builder.ins().brz(cond_value, exit_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:919:23 [INFO] [stdout] | [INFO] [stdout] 919 | builder.ins().brz(has_more, exit_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1171:27 [INFO] [stdout] | [INFO] [stdout] 1171 | builder.ins().brz(matches, next_catch_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unreachable` found for struct `cranelift::prelude::TrapCode` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1198:38 [INFO] [stdout] | [INFO] [stdout] 1198 | builder.ins().trap(TrapCode::Unreachable); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `cranelift::prelude::TrapCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:1233:41 [INFO] [stdout] | [INFO] [stdout] 1233 | builder.ins().jump(handler, &[exception_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unreachable` found for struct `cranelift::prelude::TrapCode` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1237:42 [INFO] [stdout] | [INFO] [stdout] 1237 | builder.ins().trap(TrapCode::Unreachable); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `cranelift::prelude::TrapCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_inference` on type `&mut JITCompiler` [INFO] [stdout] --> src/jit/compiler.rs:1308:18 [INFO] [stdout] | [INFO] [stdout] 1308 | self.type_inference.infer(receiver, &env) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ctx`, `module`, `builder_context`, `module_registry`, `gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brz` found for struct `FuncInstBuilder<'short, 'long>` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1171:27 [INFO] [stdout] | [INFO] [stdout] 1171 | builder.ins().brz(matches, next_catch_block, &[]); [INFO] [stdout] | ^^^ method not found in `FuncInstBuilder<'_, '_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unreachable` found for struct `cranelift::prelude::TrapCode` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1198:38 [INFO] [stdout] | [INFO] [stdout] 1198 | builder.ins().trap(TrapCode::Unreachable); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `cranelift::prelude::TrapCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `infer_pattern` found for mutable reference `&mut JITCompiler` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1394:36 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut JITCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:1233:41 [INFO] [stdout] | [INFO] [stdout] 1233 | builder.ins().jump(handler, &[exception_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1394:71 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:1403:44 [INFO] [stdout] | [INFO] [stdout] 1403 | builder.ins().jump(exit_block, &[arm_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unreachable` found for struct `cranelift::prelude::TrapCode` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1237:42 [INFO] [stdout] | [INFO] [stdout] 1237 | builder.ins().trap(TrapCode::Unreachable); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `cranelift::prelude::TrapCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `type_inference` on type `&mut JITCompiler` [INFO] [stdout] --> src/jit/compiler.rs:1308:18 [INFO] [stdout] | [INFO] [stdout] 1308 | self.type_inference.infer(receiver, &env) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ctx`, `module`, `builder_context`, `module_registry`, `gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/jit/value.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v): (_, _)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> src/jit/value.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v): (_, _)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/jit/value.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | .map(|(k, v)| (k.clone(), Value::from_gc_value(&v.value))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 127 | .map(|(k, v): (_, _)| (k.clone(), Value::from_gc_value(&v.value))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `infer_pattern` found for mutable reference `&mut JITCompiler` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1394:36 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut JITCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Unknown` found for struct `cranelift::prelude::Type` in the current scope [INFO] [stdout] --> src/jit/compiler.rs:1394:71 [INFO] [stdout] | [INFO] [stdout] 1394 | let pattern_env = self.infer_pattern(&arm.pattern, &Type::Unknown(0), &HashMap::new()); [INFO] [stdout] | ^^^^^^^ associated item not found in `cranelift::prelude::Type` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cranelift::prelude::Type` consider using one of the following associated functions: [INFO] [stdout] cranelift::prelude::Type::int [INFO] [stdout] cranelift::prelude::Type::int_with_byte_size [INFO] [stdout] cranelift::prelude::Type::triple_pointer_type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-codegen-0.122.0/src/ir/types.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn int(bits: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn int_with_byte_size(bytes: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn triple_pointer_type(triple: &Triple) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&[Value; 1] as IntoIterator>::Item == &BlockArg` [INFO] [stdout] --> src/jit/compiler.rs:1403:44 [INFO] [stdout] | [INFO] [stdout] 1403 | builder.ins().jump(exit_block, &[arm_value]); [INFO] [stdout] | ---- ^^^^^^^^^^^^ expected `&BlockArg`, found `&Value` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BlockArg` [INFO] [stdout] found reference `&cranelift::prelude::Value` [INFO] [stdout] note: required by a bound in `jump` [INFO] [stdout] --> /opt/rustwide/target/debug/build/cranelift-codegen-68899b8342c1fc11/out/inst_builder.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | fn jump<'a>(mut self, block_call_label: ir::Block, block_call_args: impl IntoIterator) -> Inst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `InstBuilder::jump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/jit/value.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v): (_, _)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> src/jit/value.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(k, v): (_, _)| (k.clone(), gc.allocate(v.to_gc_value(gc)))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/jit/value.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | .map(|(k, v)| (k.clone(), Value::from_gc_value(&v.value))) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 127 | .map(|(k, v): (_, _)| (k.clone(), Value::from_gc_value(&v.value))) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/typechecker/infer.rs:529:93 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ---------------- ---- first borrow later used by call ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> src/typechecker/infer.rs:529:93 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> src/typechecker/infer.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*handle` which is behind a shared reference [INFO] [stdout] --> src/runtime/async_runtime.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = handle.join(); [INFO] [stdout] | ^^^^^^ ------ `*handle` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*handle` has type `JoinHandle<()>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `JoinHandle::::join` takes ownership of the receiver `self`, which moves `*handle` [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/thread/mod.rs:1962:16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.dispatcher_threads` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/runtime/async_runtime.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.dispatcher_threads.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn stop(&mut self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `continuation` [INFO] [stdout] --> src/runtime/async_runtime.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn suspend_current(&self, continuation: F) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continuation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/gc/collector.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn remove_root(&self, obj: &GCPtr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0271, E0277, E0282, E0308, E0412, E0432, E0433, E0499... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/typechecker/infer.rs:529:93 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ---------------- ---- first borrow later used by call ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> src/typechecker/infer.rs:529:93 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> src/typechecker/infer.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | self.constraints.push((cont_type, Type::Function(Box::new(value_type), Box::new(self.fresh_var())))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flux` (bin "flux") due to 129 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of `*handle` which is behind a shared reference [INFO] [stdout] --> src/runtime/async_runtime.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = handle.join(); [INFO] [stdout] | ^^^^^^ ------ `*handle` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*handle` has type `JoinHandle<()>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `JoinHandle::::join` takes ownership of the receiver `self`, which moves `*handle` [INFO] [stdout] --> /rustc/d83b14207998f47b18a34e930157ac0d7c18b16e/library/std/src/thread/mod.rs:1962:16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.dispatcher_threads` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/runtime/async_runtime.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.dispatcher_threads.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn stop(&mut self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `continuation` [INFO] [stdout] --> src/runtime/async_runtime.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn suspend_current(&self, continuation: F) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continuation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/gc/collector.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn remove_root(&self, obj: &GCPtr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0271, E0277, E0282, E0308, E0412, E0432, E0433, E0499... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flux` (bin "flux" test) due to 129 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d4324e7ce8dce5978396c8b81a79b3b0ed48634dab3a2101c6aee547350bba64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4324e7ce8dce5978396c8b81a79b3b0ed48634dab3a2101c6aee547350bba64", kill_on_drop: false }` [INFO] [stdout] d4324e7ce8dce5978396c8b81a79b3b0ed48634dab3a2101c6aee547350bba64