[INFO] cloning repository https://github.com/yoranmandema/CantaLoopRS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yoranmandema/CantaLoopRS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoranmandema%2FCantaLoopRS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoranmandema%2FCantaLoopRS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b753b09feada96c9e60cdc7352ac24c462c26df [INFO] checking yoranmandema/CantaLoopRS/1b753b09feada96c9e60cdc7352ac24c462c26df against master#2972b5e59f1c5529b6ba770437812fd83ab4ebd4 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoranmandema%2FCantaLoopRS" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/yoranmandema/CantaLoopRS [INFO] finished tweaking git repo https://github.com/yoranmandema/CantaLoopRS [INFO] tweaked toml for git repo https://github.com/yoranmandema/CantaLoopRS written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yoranmandema/CantaLoopRS on toolchain 2972b5e59f1c5529b6ba770437812fd83ab4ebd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yoranmandema/CantaLoopRS 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" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.0 [INFO] [stderr] Downloaded pest v2.8.4 [INFO] [stderr] Downloaded notify-types v2.0.0 [INFO] [stderr] Downloaded notify v8.2.0 [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded serde_json v1.0.148 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded pest_generator v2.8.4 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded pest_meta v2.8.4 [INFO] [stderr] Downloaded pest_derive v2.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fe2c408911fc85ceb5df69956a8daf0933f049334a38fc09d42ed67406427c7 [INFO] running `Command { std: "docker" "start" "-a" "3fe2c408911fc85ceb5df69956a8daf0933f049334a38fc09d42ed67406427c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fe2c408911fc85ceb5df69956a8daf0933f049334a38fc09d42ed67406427c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe2c408911fc85ceb5df69956a8daf0933f049334a38fc09d42ed67406427c7", kill_on_drop: false }` [INFO] [stdout] 3fe2c408911fc85ceb5df69956a8daf0933f049334a38fc09d42ed67406427c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bd1e712d29803416fd82752f5dc239a9686ffa4bce58de23a346e7e32eecf0f [INFO] running `Command { std: "docker" "start" "-a" "4bd1e712d29803416fd82752f5dc239a9686ffa4bce58de23a346e7e32eecf0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking zmij v1.0.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking pest v2.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking cantaloop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ByteCodeEmitter`, `HirBuilder`, `HirError`, and `ValueKind` [INFO] [stdout] --> src/core/engine.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | bytecode::{ByteCodeEmitter, OpCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | hir_lowering::{ [INFO] [stdout] 14 | CompilerState, ConstantValue, FunctionSignature, HirBuilder, HirError, ValueKind, [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: `CompilerState` [INFO] [stdout] --> src/core/compileSession.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | ByteCodeEmitter, CompilerState, HirBuilder, OpCode, ValueKind, core::{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/comparison.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard comparison module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the comparison module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/functional.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Standard functional module. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// This is pure declarative metadata describing the functional module. [INFO] [stdout] 8 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/logic.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard logic module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the logic module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/math.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Standard library math module. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// This is pure declarative metadata describing the math module. [INFO] [stdout] 9 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/number.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard number module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the number module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/std.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard library I/O module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the std module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/string.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Standard string module. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// This is pure declarative metadata describing the string module. [INFO] [stdout] 9 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteCodeEmitter`, `HirBuilder`, `HirError`, and `ValueKind` [INFO] [stdout] --> src/core/engine.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | bytecode::{ByteCodeEmitter, OpCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | hir_lowering::{ [INFO] [stdout] 14 | CompilerState, ConstantValue, FunctionSignature, HirBuilder, HirError, ValueKind, [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: `CompilerState` [INFO] [stdout] --> src/core/compileSession.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | ByteCodeEmitter, CompilerState, HirBuilder, OpCode, ValueKind, core::{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/comparison.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard comparison module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the comparison module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/functional.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Standard functional module. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// This is pure declarative metadata describing the functional module. [INFO] [stdout] 8 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/logic.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard logic module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the logic module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/math.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Standard library math module. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// This is pure declarative metadata describing the math module. [INFO] [stdout] 9 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/number.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard number module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the number module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/std.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Standard library I/O module. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This is pure declarative metadata describing the std module. [INFO] [stdout] 7 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/stdlib/string.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Standard string module. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// This is pure declarative metadata describing the string module. [INFO] [stdout] 9 | | /// It does not mutate the Engine - it's compiler input, not runtime behavior. [INFO] [stdout] | |_-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_name` [INFO] [stdout] --> src/core/bytecode/emitter.rs:1416:14 [INFO] [stdout] | [INFO] [stdout] 1416 | for (struct_name, struct_def) in &program.structs { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/core/engine.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | signature: FunctionSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_name` [INFO] [stdout] --> src/core/bytecode/emitter.rs:1416:14 [INFO] [stdout] | [INFO] [stdout] 1416 | for (struct_name, struct_def) in &program.structs { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/core/engine.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | signature: FunctionSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/core/hir_lowering/lower_stmt.rs:694:48 [INFO] [stdout] | [INFO] [stdout] 694 | HirExpression::FieldAccess { base, field_name } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `field_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/vm.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | mut engine: std::sync::Arc, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/core/hir_lowering/lower_stmt.rs:694:48 [INFO] [stdout] | [INFO] [stdout] 694 | HirExpression::FieldAccess { base, field_name } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `field_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/vm.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | mut engine: std::sync::Arc, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArrayIterator` is more private than the item `vm::Value::as_array_iter_mut` [INFO] [stdout] --> src/core/vm.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_array_iter_mut<'a>(&self, heap: &'a mut ValueHeap) -> Option<&'a mut ArrayIterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `vm::Value::as_array_iter_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ArrayIterator` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/core/vm.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) struct ArrayIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ThunkData` is more private than the item `vm::Value::as_thunk_ref` [INFO] [stdout] --> src/core/vm.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn as_thunk_ref<'a>(&self, heap: &'a ValueHeap) -> Option<&'a ThunkData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `vm::Value::as_thunk_ref` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ThunkData` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/core/vm.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum ThunkData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_call_expression` is never used [INFO] [stdout] --> src/core/ast/builder.rs:535:4 [INFO] [stdout] | [INFO] [stdout] 535 | fn build_call_expression(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extract_constant_value_from_expr` is never used [INFO] [stdout] --> src/core/engine.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 346 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 464 | fn extract_constant_value_from_expr(expr: &Expression) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_current_imports_mut` is never used [INFO] [stdout] --> src/core/hir_lowering/lower_stmt.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl HirBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn get_current_imports_mut(&mut self) -> Option<&mut ImportTable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_registry` is never read [INFO] [stdout] --> src/core/vm.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | type_registry: HashMap)>, // Maps type_id -> (struct_name, field_names) for pretty printing [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `format_value_kind_for_error`, `handle_hir_error`, `load_project_modules_for_lsp`, and `load_module_for_lsp` are never used [INFO] [stdout] --> src/core/compileSession.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CompileSession<'a> { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | fn format_value_kind_for_error(kind: &ValueKind) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn handle_hir_error(error: HirError) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn load_project_modules_for_lsp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn load_module_for_lsp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../examples/grade_manager/src/students.mln`: No such file or directory (os error 2) [INFO] [stdout] --> tests/test_pub_fn_exact_reproduction.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let students_mln = include_str!("../examples/grade_manager/src/students.mln"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for mutable reference `&mut Engine` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | engine.run(test_file.to_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `&mut Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cantaloop` (test "test_pub_fn_exact_reproduction") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cantaloop` (test "test_array_type_annotations") due to 1 previous error [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> tests/test_identifier_parsing.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(pairs) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine`, `FunctionSignature`, `ValueKind`, and `Value` [INFO] [stdout] --> tests/test_vm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Engine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | VM, [INFO] [stdout] 6 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | OpCode, [INFO] [stdout] 8 | FunctionSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | ValueKind, [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 variable: `negatives` [INFO] [stdout] --> tests/test_pub_fn_detailed.rs:64:73 [INFO] [stdout] | [INFO] [stdout] 64 | if let pest::error::ErrorVariant::ParsingError { positives, negatives } = &e.variant { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `negatives: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArrayIterator` is more private than the item `vm::Value::as_array_iter_mut` [INFO] [stdout] --> src/core/vm.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_array_iter_mut<'a>(&self, heap: &'a mut ValueHeap) -> Option<&'a mut ArrayIterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `vm::Value::as_array_iter_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ArrayIterator` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/core/vm.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) struct ArrayIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ThunkData` is more private than the item `vm::Value::as_thunk_ref` [INFO] [stdout] --> src/core/vm.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn as_thunk_ref<'a>(&self, heap: &'a ValueHeap) -> Option<&'a ThunkData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `vm::Value::as_thunk_ref` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ThunkData` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/core/vm.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum ThunkData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for mutable reference `&mut Engine` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | engine.run(test_file.to_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `&mut Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_call_expression` is never used [INFO] [stdout] --> src/core/ast/builder.rs:535:4 [INFO] [stdout] | [INFO] [stdout] 535 | fn build_call_expression(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extract_constant_value_from_expr` is never used [INFO] [stdout] --> src/core/engine.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 346 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 464 | fn extract_constant_value_from_expr(expr: &Expression) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_current_imports_mut` is never used [INFO] [stdout] --> src/core/hir_lowering/lower_stmt.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl HirBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn get_current_imports_mut(&mut self) -> Option<&mut ImportTable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_registry` is never read [INFO] [stdout] --> src/core/vm.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | type_registry: HashMap)>, // Maps type_id -> (struct_name, field_names) for pretty printing [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `format_value_kind_for_error`, `handle_hir_error`, `load_project_modules_for_lsp`, and `load_module_for_lsp` are never used [INFO] [stdout] --> src/core/compileSession.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CompileSession<'a> { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | fn format_value_kind_for_error(kind: &ValueKind) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn handle_hir_error(error: HirError) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn load_project_modules_for_lsp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn load_module_for_lsp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for mutable reference `&mut Engine` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | engine.run(test_file.to_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `&mut Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for mutable reference `&mut Engine` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | engine.run(test_file.to_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `&mut Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cantaloop` (test "test_integration") due to 1 previous error [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 19 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 19 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 33 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 33 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 46 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 46 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 60 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 60 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for mutable reference `&mut Engine` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | engine.run(test_file.to_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `&mut Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 75 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 75 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 90 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 90 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 104 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 104 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/test_vm.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^-------------- two arguments of type `HashMap` and `HirAst` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Arc`, found `&Engine` [INFO] [stdout] --> tests/test_vm.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let mut vm = VM::new(&engine, ops); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&Engine` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/vm.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 118 - let mut vm = VM::new(&engine, ops); [INFO] [stdout] 118 + let mut vm = VM::new(/* Arc */, /* HashMap */, /* HirAst */, ops); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_vm.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let engine = common::helpers::create_empty_engine(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build` found for struct `HirBuilder` in the current scope [INFO] [stdout] --> tests/test_bytecode.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let hir_ast = hir_builder.build(program).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `HirBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build` found for struct `HirBuilder` in the current scope [INFO] [stdout] --> tests/test_bytecode.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | let hir_ast = hir_builder.build(program).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `HirBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let program = parse_program("let x = 42;").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let program = parse_program("1 + 2 * 3;").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cantaloop` (test "test_vm") due to 9 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let program = parse_program(r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let program = parse_program(r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let program = parse_program(r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let program = parse_program(r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let program = parse_program(r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let program = parse_program("(1 + 2) * (3 - 4) / 5;").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_bytecode.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> tests/test_bytecode.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut engine = common::helpers::create_test_engine(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> tests/test_bytecode.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let program = parse_program("true && false || !true;").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cantaloop` (test "test_bytecode") due to 3 previous errors; 27 warnings emitted [INFO] [stderr] error: could not compile `cantaloop` (test "test_arrays") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4bd1e712d29803416fd82752f5dc239a9686ffa4bce58de23a346e7e32eecf0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd1e712d29803416fd82752f5dc239a9686ffa4bce58de23a346e7e32eecf0f", kill_on_drop: false }` [INFO] [stdout] 4bd1e712d29803416fd82752f5dc239a9686ffa4bce58de23a346e7e32eecf0f