[INFO] cloning repository https://github.com/alan-j-hu/nonstandard-ml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alan-j-hu/nonstandard-ml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-j-hu%2Fnonstandard-ml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-j-hu%2Fnonstandard-ml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6219eb3cf4a991ce1b7d8b7b7af61e09acb36f1e [INFO] checking alan-j-hu/nonstandard-ml/6219eb3cf4a991ce1b7d8b7b7af61e09acb36f1e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan-j-hu%2Fnonstandard-ml" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alan-j-hu/nonstandard-ml on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alan-j-hu/nonstandard-ml [INFO] finished tweaking git repo https://github.com/alan-j-hu/nonstandard-ml [INFO] tweaked toml for git repo https://github.com/alan-j-hu/nonstandard-ml written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alan-j-hu/nonstandard-ml 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fxhash v0.2.1 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded lexgen_util v0.12.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded bit-set v0.5.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.32 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded string_cache v0.8.4 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded thiserror v1.0.32 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded lexgen v0.12.0 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded fixedbitset v0.4.2 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded libc v0.2.131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1516834016cf032112937249c869c434ea8897d3f92d39b1a27499ba665e5785 [INFO] running `Command { std: "docker" "start" "-a" "1516834016cf032112937249c869c434ea8897d3f92d39b1a27499ba665e5785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1516834016cf032112937249c869c434ea8897d3f92d39b1a27499ba665e5785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1516834016cf032112937249c869c434ea8897d3f92d39b1a27499ba665e5785", kill_on_drop: false }` [INFO] [stdout] 1516834016cf032112937249c869c434ea8897d3f92d39b1a27499ba665e5785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c35091a4bfa5d49eab51fdda88a32f5f9425f9c69c400f65fa214a7437775c37 [INFO] running `Command { std: "docker" "start" "-a" "c35091a4bfa5d49eab51fdda88a32f5f9425f9c69c400f65fa214a7437775c37", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking bumpalo v3.10.0 [INFO] [stderr] Checking lexgen_util v0.12.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling lexgen v0.12.0 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Compiling nonstandard-ml v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockIndex(u16); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BlockIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FunIndex(u16); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FunIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct LocalIndex(u16); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LocalIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StackMapIndex(u16); [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StackMapIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StringPoolIndex(u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StringPoolIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funs` is never read [INFO] [stdout] --> core/src/bytecode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 28 | funs: Box<[Fun]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `local_count`, `blocks`, and `stack_maps` are never read [INFO] [stdout] --> core/src/bytecode.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Fun { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 32 | local_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | stack_maps: Box<[StackMap]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrs` is never read [INFO] [stdout] --> core/src/bytecode.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | instrs: Box<[Instr]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `funs`, `string_lits`, and `string_pool` are never read [INFO] [stdout] --> core/src/bytecode/convert.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Context<'pool> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | funs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | fun_map: HashMap, [INFO] [stdout] 11 | string_lits: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | string_pool: &'pool StringPool<'pool>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks` is never read [INFO] [stdout] --> core/src/bytecode/convert.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FnBuilder<'ssa> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | blocks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/cps.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AUse<'a>(&'a ADef<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> core/src/elab/typed.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Var<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] 8 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mlc v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockIndex(u16); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BlockIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FunIndex(u16); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FunIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct LocalIndex(u16); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LocalIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StackMapIndex(u16); [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StackMapIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/bytecode.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StringPoolIndex(u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StringPoolIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funs` is never read [INFO] [stdout] --> core/src/bytecode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 28 | funs: Box<[Fun]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `local_count`, `blocks`, and `stack_maps` are never read [INFO] [stdout] --> core/src/bytecode.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Fun { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 32 | local_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | stack_maps: Box<[StackMap]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrs` is never read [INFO] [stdout] --> core/src/bytecode.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | instrs: Box<[Instr]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `funs`, `string_lits`, and `string_pool` are never read [INFO] [stdout] --> core/src/bytecode/convert.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Context<'pool> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | funs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | fun_map: HashMap, [INFO] [stdout] 11 | string_lits: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | string_pool: &'pool StringPool<'pool>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks` is never read [INFO] [stdout] --> core/src/bytecode/convert.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FnBuilder<'ssa> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | blocks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> core/src/cps.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AUse<'a>(&'a ADef<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> core/src/elab/typed.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Var<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] 8 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `program` does not live long enough [INFO] [stdout] --> core/tests/main.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 57 | let mut program = ssa::compile(&ssa, ret_addr, &cexp).unwrap(); [INFO] [stdout] | ----------- binding `program` declared here [INFO] [stdout] 58 | ssa::liveness::analyze(&mut program); [INFO] [stdout] | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 59 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `program` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `program` is dropped and runs the destructor for type `Program<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nonstandard-ml` (test "main") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c35091a4bfa5d49eab51fdda88a32f5f9425f9c69c400f65fa214a7437775c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35091a4bfa5d49eab51fdda88a32f5f9425f9c69c400f65fa214a7437775c37", kill_on_drop: false }` [INFO] [stdout] c35091a4bfa5d49eab51fdda88a32f5f9425f9c69c400f65fa214a7437775c37