[INFO] cloning repository https://github.com/shmor3/magi-lang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shmor3/magi-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmor3%2Fmagi-lang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmor3%2Fmagi-lang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b7489992f6027e8915d9f439853b62a88873aa8
[INFO] checking shmor3/magi-lang against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmor3%2Fmagi-lang" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/shmor3/magi-lang
[INFO] finished tweaking git repo https://github.com/shmor3/magi-lang
[INFO] tweaked toml for git repo https://github.com/shmor3/magi-lang written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shmor3/magi-lang on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shmor3/magi-lang 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35
[INFO] running `Command { std: "docker" "start" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling inkwell v0.5.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling magi-lang v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling openssl-src v300.5.5+3.5.5
[INFO] [stderr]    Compiling llvm-sys v180.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling libz-sys v1.1.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling inkwell_internals v0.10.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stdout] warning: unused imports: `DataSection`, `ElementSection`, `NameMap`, `NameSection`, and `TableSection`
[INFO] [stdout]     --> src/compiler/wasm_runtime.rs:1091:56
[INFO] [stdout]      |
[INFO] [stdout] 1091 |         self as wb, BlockType, CodeSection, ConstExpr, DataSection, ElementSection, TypeSection,
[INFO] [stdout]      |                                                        ^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 1092 |         EntityType, ExportKind, ExportSection, FunctionSection, GlobalSection,
[INFO] [stdout] 1093 |         GlobalType, ImportSection, Inst, MemArg, MemorySection, MemoryType, NameMap,
[INFO] [stdout]      |                                                                             ^^^^^^^
[INFO] [stdout] 1094 |         NameSection, TableSection, ValType, Function,
[INFO] [stdout]      |         ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `write` symbol used by the standard library
[INFO] [stdout]      --> src/syntax/interpreter.rs:15588:5
[INFO] [stdout]       |
[INFO] [stdout] 15588 |     fn write(fd: i32, buf: *const u8, count: usize) -> isize;
[INFO] [stdout]       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]       |
[INFO] [stdout]       = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found    `unsafe extern "C" fn(i32, *const u8, usize) -> isize`
[INFO] [stdout]       = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stdout]       = help: allow this lint if the signature is compatible
[INFO] [stdout]       = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]      --> src/syntax/interpreter.rs:15592:18
[INFO] [stdout]       |
[INFO] [stdout] 15592 |     extern "C" { fn read(fd: i32, buf: *mut u8, count: usize) -> isize; }
[INFO] [stdout]       |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]       |
[INFO] [stdout]       = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found    `unsafe extern "C" fn(i32, *mut u8, usize) -> isize`
[INFO] [stdout]       = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]       = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]   --> src/platform.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn read(fd: i32, buf: *mut u8, count: usize) -> isize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]            found    `unsafe extern "C" fn(i32, *mut u8, usize) -> isize`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx_id`
[INFO] [stdout]      --> src/syntax/interpreter.rs:17071:14
[INFO] [stdout]       |
[INFO] [stdout] 17071 |         let (tx_id, rx_id) = channel_ids();
[INFO] [stdout]       |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id`
[INFO] [stdout]       |
[INFO] [stdout]       = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/bin/magi.rs:7861:9
[INFO] [stdout]      |
[INFO] [stdout] 7494 |         "build" => {
[INFO] [stdout]      |         ------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 7861 |         "build" => {
[INFO] [stdout]      |         ^^^^^^^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/bin/magi.rs:7861:9
[INFO] [stdout]      |
[INFO] [stdout] 7494 |         "build" => {
[INFO] [stdout]      |         ------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 7861 |         "build" => {
[INFO] [stdout]      |         ^^^^^^^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_tagged_value` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9856:4
[INFO] [stdout]      |
[INFO] [stdout] 9856 | fn format_tagged_value(val: i64, data: &[u8]) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TAGGED_DEPTH` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9860:7
[INFO] [stdout]      |
[INFO] [stdout] 9860 | const MAX_TAGGED_DEPTH: usize = 32;
[INFO] [stdout]      |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_tagged_value_depth` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9862:4
[INFO] [stdout]      |
[INFO] [stdout] 9862 | fn format_tagged_value_depth(val: i64, data: &[u8], depth: usize) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_WASM_FILE_SIZE` is never used
[INFO] [stdout]      --> src/bin/magi.rs:10003:7
[INFO] [stdout]       |
[INFO] [stdout] 10003 | const MAX_WASM_FILE_SIZE: u64 = 256 * 1024 * 1024;
[INFO] [stdout]       |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmd_run_wasm` is never used
[INFO] [stdout]      --> src/bin/magi.rs:10005:4
[INFO] [stdout]       |
[INFO] [stdout] 10005 | fn cmd_run_wasm(path: &str) {
[INFO] [stdout]       |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_tagged_value` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9856:4
[INFO] [stdout]      |
[INFO] [stdout] 9856 | fn format_tagged_value(val: i64, data: &[u8]) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TAGGED_DEPTH` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9860:7
[INFO] [stdout]      |
[INFO] [stdout] 9860 | const MAX_TAGGED_DEPTH: usize = 32;
[INFO] [stdout]      |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_tagged_value_depth` is never used
[INFO] [stdout]     --> src/bin/magi.rs:9862:4
[INFO] [stdout]      |
[INFO] [stdout] 9862 | fn format_tagged_value_depth(val: i64, data: &[u8], depth: usize) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_WASM_FILE_SIZE` is never used
[INFO] [stdout]      --> src/bin/magi.rs:10003:7
[INFO] [stdout]       |
[INFO] [stdout] 10003 | const MAX_WASM_FILE_SIZE: u64 = 256 * 1024 * 1024;
[INFO] [stdout]       |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmd_run_wasm` is never used
[INFO] [stdout]      --> src/bin/magi.rs:10005:4
[INFO] [stdout]       |
[INFO] [stdout] 10005 | fn cmd_run_wasm(path: &str) {
[INFO] [stdout]       |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/runtime/vm.rs:495:13
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let result = compile_and_run("output 1 + 2;").unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `write` symbol used by the standard library
[INFO] [stdout]      --> src/syntax/interpreter.rs:15588:5
[INFO] [stdout]       |
[INFO] [stdout] 15588 |     fn write(fd: i32, buf: *const u8, count: usize) -> isize;
[INFO] [stdout]       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]       |
[INFO] [stdout]       = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found    `unsafe extern "C" fn(i32, *const u8, usize) -> isize`
[INFO] [stdout]       = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stdout]       = help: allow this lint if the signature is compatible
[INFO] [stdout]       = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]      --> src/syntax/interpreter.rs:15592:18
[INFO] [stdout]       |
[INFO] [stdout] 15592 |     extern "C" { fn read(fd: i32, buf: *mut u8, count: usize) -> isize; }
[INFO] [stdout]       |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]       |
[INFO] [stdout]       = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found    `unsafe extern "C" fn(i32, *mut u8, usize) -> isize`
[INFO] [stdout]       = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]       = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]   --> src/platform.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn read(fd: i32, buf: *mut u8, count: usize) -> isize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]            found    `unsafe extern "C" fn(i32, *mut u8, usize) -> isize`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 51s
[INFO] running `Command { std: "docker" "inspect" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35", kill_on_drop: false }`
[INFO] [stdout] 49712d6f7e82f240c2088ca326e632c83ffaabc151d13d273ad4b7d404c71d35
