[INFO] cloning repository https://github.com/lantos1618/compiler_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lantos1618/compiler_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fcompiler_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fcompiler_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a1923ce8c1383bafadd95d76c5f7d9ef00f9f81 [INFO] checking lantos1618/compiler_test against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fcompiler_test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lantos1618/compiler_test on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lantos1618/compiler_test [INFO] finished tweaking git repo https://github.com/lantos1618/compiler_test [INFO] tweaked toml for git repo https://github.com/lantos1618/compiler_test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lantos1618/compiler_test 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] error: failed to download `cranelift-isle v0.113.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] unable to get packages from source [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack package `cranelift-isle v0.113.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack entry at `cranelift-isle-0.113.0/src/parser.rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack `/workspace/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cranelift-isle-0.113.0/src/parser.rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack `cranelift-isle-0.113.0/src/parser.rs` into `/workspace/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cranelift-isle-0.113.0/src/parser.rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] checking lantos1618/compiler_test against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fcompiler_test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lantos1618/compiler_test on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lantos1618/compiler_test [INFO] finished tweaking git repo https://github.com/lantos1618/compiler_test [INFO] tweaked toml for git repo https://github.com/lantos1618/compiler_test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lantos1618/compiler_test 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-object v0.113.0 [INFO] [stderr] Downloaded cranelift-codegen v0.113.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c3082af3a9dace82f735c88c7c8bac6d29e5230757003699e94ae3e264783eb [INFO] running `Command { std: "docker" "start" "-a" "5c3082af3a9dace82f735c88c7c8bac6d29e5230757003699e94ae3e264783eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c3082af3a9dace82f735c88c7c8bac6d29e5230757003699e94ae3e264783eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3082af3a9dace82f735c88c7c8bac6d29e5230757003699e94ae3e264783eb", kill_on_drop: false }` [INFO] [stdout] 5c3082af3a9dace82f735c88c7c8bac6d29e5230757003699e94ae3e264783eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f4ff5c435bfa1f9b83118afa96015ffe1cd9c694ac3523e124d495323e1054 [INFO] running `Command { std: "docker" "start" "-a" "f3f4ff5c435bfa1f9b83118afa96015ffe1cd9c694ac3523e124d495323e1054", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cranelift-isle v0.113.0 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling cranelift-codegen-shared v0.113.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking cranelift-bitset v0.113.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.113.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling thiserror v1.0.67 [INFO] [stderr] Checking cranelift-entity v0.113.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking cranelift-bforest v0.113.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking cranelift-control v0.113.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v26.0.0 [INFO] [stderr] Checking regalloc2 v0.10.2 [INFO] [stderr] Compiling cranelift-codegen v0.113.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.67 [INFO] [stderr] Compiling delegate v0.13.1 [INFO] [stderr] Checking cranelift-module v0.113.0 [INFO] [stderr] Checking cranelift-native v0.113.0 [INFO] [stderr] Checking cranelift-frontend v0.113.0 [INFO] [stderr] Checking cranelift-jit v0.113.0 [INFO] [stderr] Checking cranelift-object v0.113.0 [INFO] [stderr] Checking cranelift v0.113.0 [INFO] [stderr] Checking compiler_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `control::ControlPlane` [INFO] [stdout] --> src/codegen_solo_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FloatCC` and `IntCC` [INFO] [stdout] --> src/codegen_solo_tests.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use cranelift_codegen::ir::condcodes::{FloatCC, IntCC}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::Constant` [INFO] [stdout] --> src/codegen_solo_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_codegen::ir::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::ExternalName` [INFO] [stdout] --> src/codegen_solo_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_codegen::ir::ExternalName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JITBuilder` and `JITModule` [INFO] [stdout] --> src/codegen_solo_tests.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use cranelift_jit::{JITBuilder, JITModule}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataDescription`, `DataId`, `FuncOrDataId`, `Linkage`, `ModuleDeclarations`, `ModuleResult`, and `Module` [INFO] [stdout] --> src/codegen_solo_tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DataDescription, DataId, FuncId, FuncOrDataId, Linkage, Module, ModuleDeclarations, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ModuleResult, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_object::ObjectModule` [INFO] [stdout] --> src/codegen_solo_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cranelift_object::ObjectModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delegate::delegate` [INFO] [stdout] --> src/codegen_solo_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use delegate::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FuncRef`, `Function`, and `GlobalValue` [INFO] [stdout] --> src/codegen_solo_tests.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | use ir::{FuncRef, Function, GlobalValue}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TargetFrontendConfig` and `TargetIsa` [INFO] [stdout] --> src/codegen_solo_tests.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use isa::{TargetFrontendConfig, TargetIsa}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `target_lexicon` [INFO] [stdout] --> src/codegen_solo_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use target_lexicon; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod codegen_solo_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `control::ControlPlane` [INFO] [stdout] --> src/codegen_solo_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use control::ControlPlane; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FloatCC` [INFO] [stdout] --> src/codegen_solo_tests.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use cranelift_codegen::ir::condcodes::{FloatCC, IntCC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::Constant` [INFO] [stdout] --> src/codegen_solo_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_codegen::ir::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_codegen::ir::ExternalName` [INFO] [stdout] --> src/codegen_solo_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_codegen::ir::ExternalName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataId`, `FuncOrDataId`, `Linkage`, `ModuleDeclarations`, `ModuleResult`, and `Module` [INFO] [stdout] --> src/codegen_solo_tests.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | DataDescription, DataId, FuncId, FuncOrDataId, Linkage, Module, ModuleDeclarations, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ModuleResult, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift_object::ObjectModule` [INFO] [stdout] --> src/codegen_solo_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cranelift_object::ObjectModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delegate::delegate` [INFO] [stdout] --> src/codegen_solo_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use delegate::delegate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FuncRef`, `Function`, and `GlobalValue` [INFO] [stdout] --> src/codegen_solo_tests.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | use ir::{FuncRef, Function, GlobalValue}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TargetFrontendConfig` and `TargetIsa` [INFO] [stdout] --> src/codegen_solo_tests.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use isa::{TargetFrontendConfig, TargetIsa}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/codegen_solo_tests.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | use cranelift_codegen::ir::{types, AbiParam, Function, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen.rs:118:69 [INFO] [stdout] | [INFO] [stdout] 118 | Stmt::Loop(loop_stmt) => self.compile_loop_stmt_in_func(loop_stmt, builder), [INFO] [stdout] | ------------------------- ^^^^^^^^^ expected `LoopStmt`, found `&LoopStmt` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/codegen.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn compile_loop_stmt_in_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | &mut self, [INFO] [stdout] 178 | loop_stmt: LoopStmt, [INFO] [stdout] | ------------------- [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 118 | Stmt::Loop(loop_stmt) => self.compile_loop_stmt_in_func(loop_stmt.clone(), builder), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen.rs:118:69 [INFO] [stdout] | [INFO] [stdout] 118 | Stmt::Loop(loop_stmt) => self.compile_loop_stmt_in_func(loop_stmt, builder), [INFO] [stdout] | ------------------------- ^^^^^^^^^ expected `LoopStmt`, found `&LoopStmt` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/codegen.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn compile_loop_stmt_in_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | &mut self, [INFO] [stdout] 178 | loop_stmt: LoopStmt, [INFO] [stdout] | ------------------- [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 118 | Stmt::Loop(loop_stmt) => self.compile_loop_stmt_in_func(loop_stmt.clone(), builder), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/codegen_solo_tests.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | use cranelift_module::{Linkage, Module}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 41 | self.compile_if_stmt_in_func(if_stmt, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 46 | self.compile_loop_stmt_in_func(loop_stmt.clone(), &mut builder) [INFO] [stdout] | ^^^^ second mutable borrow occurs here ------------ first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 51 | self.compile_assign(assign, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 64 | compiler_fn(self, stmt, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 96 | self.compile_stmt_in_func(stmt, &mut builder)?; [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triple` [INFO] [stdout] --> src/codegen_solo_tests.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let triple = target_lexicon::HOST; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_triple` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen_solo_tests.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut flags_builder = cranelift_codegen::settings::builder(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 41 | self.compile_if_stmt_in_func(if_stmt, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 46 | self.compile_loop_stmt_in_func(loop_stmt.clone(), &mut builder) [INFO] [stdout] | ^^^^ second mutable borrow occurs here ------------ first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 51 | self.compile_assign(assign, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] 64 | compiler_fn(self, stmt, &mut builder) [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/codegen.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut builder = FunctionBuilder::new(&mut ctx.func, &mut self.func_ctx); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 96 | self.compile_stmt_in_func(stmt, &mut builder)?; [INFO] [stdout] | ^^^^ ------------ first borrow later used here [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0499. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_test` (lib) due to 6 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0499. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_test` (lib test) due to 6 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3f4ff5c435bfa1f9b83118afa96015ffe1cd9c694ac3523e124d495323e1054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f4ff5c435bfa1f9b83118afa96015ffe1cd9c694ac3523e124d495323e1054", kill_on_drop: false }` [INFO] [stdout] f3f4ff5c435bfa1f9b83118afa96015ffe1cd9c694ac3523e124d495323e1054