[INFO] cloning repository https://github.com/memoryleak47/constraint-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memoryleak47/constraint-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fconstraint-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fconstraint-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a17e347d8fe9b30c8533ab65fc57a1288bbf5dc6 [INFO] testing memoryleak47/constraint-lang against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoryleak47%2Fconstraint-lang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/memoryleak47/constraint-lang [INFO] finished tweaking git repo https://github.com/memoryleak47/constraint-lang [INFO] tweaked toml for git repo https://github.com/memoryleak47/constraint-lang written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/memoryleak47/constraint-lang on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/memoryleak47/constraint-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77878d8c4dd4a6ef7de52173024e8274abdd750bf67589c0aa74c18fc7b3d5eb [INFO] running `Command { std: "docker" "start" "-a" "77878d8c4dd4a6ef7de52173024e8274abdd750bf67589c0aa74c18fc7b3d5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77878d8c4dd4a6ef7de52173024e8274abdd750bf67589c0aa74c18fc7b3d5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77878d8c4dd4a6ef7de52173024e8274abdd750bf67589c0aa74c18fc7b3d5eb", kill_on_drop: false }` [INFO] [stdout] 77878d8c4dd4a6ef7de52173024e8274abdd750bf67589c0aa74c18fc7b3d5eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f673bc96410a126984192b5e6c208de0f242c25e5fbd5d6904f20a16ef082c3 [INFO] running `Command { std: "docker" "start" "-a" "4f673bc96410a126984192b5e6c208de0f242c25e5fbd5d6904f20a16ef082c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling productivity-lang-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | CDef(CDef), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - CDef(CDef), [INFO] [stdout] 37 + CDef(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `body` are never read [INFO] [stdout] --> src/ast/mod.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CDef { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 50 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub body: CExpr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/ast/mod.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CBlock { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 57 | pub items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | And(Box, Box), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 - And(Box, Box), [INFO] [stdout] 62 + And((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Or(Box, Box), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - Or(Box, Box), [INFO] [stdout] 63 + Or((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | Var(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 - Var(String), [INFO] [stdout] 64 + Var(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | CBlock(CBlock) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - CBlock(CBlock) [INFO] [stdout] 65 + CBlock(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c_expr` is never read [INFO] [stdout] --> src/ast/mod.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CItem { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 71 | pub name: String, [INFO] [stdout] 72 | pub c_expr: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | PreOp(PreOp, Box), [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 147 - PreOp(PreOp, Box), [INFO] [stdout] 147 + PreOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Null`, `Array`, `Tuple`, and `Object` are never constructed [INFO] [stdout] --> src/ast/mod.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 154 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 155 | Var(String), [INFO] [stdout] 156 | Null, // the `null` expression [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | Object(HashMap>), // { f = 2 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cexpr` is never read [INFO] [stdout] --> src/ast/mod.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct VarDec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub cexpr: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cctxt` is never read [INFO] [stdout] --> src/ctxt/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Ctxt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub ast: Ast, [INFO] [stdout] 13 | pub cctxt: CCtxt [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - String(String), [INFO] [stdout] 14 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Array(Vec), [INFO] [stdout] 16 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Tuple(Vec), [INFO] [stdout] 17 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Object(HashMap>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Object(HashMap>), [INFO] [stdout] 18 + Object(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dealloc` is never used [INFO] [stdout] --> src/exec/heap.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl Heap { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn dealloc(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4f673bc96410a126984192b5e6c208de0f242c25e5fbd5d6904f20a16ef082c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f673bc96410a126984192b5e6c208de0f242c25e5fbd5d6904f20a16ef082c3", kill_on_drop: false }` [INFO] [stdout] 4f673bc96410a126984192b5e6c208de0f242c25e5fbd5d6904f20a16ef082c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfe0735aab135b14825438191e3b37ba9e4f1d80b46835a80c11d083aa437b45 [INFO] running `Command { std: "docker" "start" "-a" "cfe0735aab135b14825438191e3b37ba9e4f1d80b46835a80c11d083aa437b45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling productivity-lang-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | CDef(CDef), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - CDef(CDef), [INFO] [stdout] 37 + CDef(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `body` are never read [INFO] [stdout] --> src/ast/mod.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CDef { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 50 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub body: CExpr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/ast/mod.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CBlock { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 57 | pub items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | And(Box, Box), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 - And(Box, Box), [INFO] [stdout] 62 + And((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Or(Box, Box), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - Or(Box, Box), [INFO] [stdout] 63 + Or((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | Var(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 - Var(String), [INFO] [stdout] 64 + Var(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | CBlock(CBlock) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - CBlock(CBlock) [INFO] [stdout] 65 + CBlock(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c_expr` is never read [INFO] [stdout] --> src/ast/mod.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CItem { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 71 | pub name: String, [INFO] [stdout] 72 | pub c_expr: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast/mod.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | PreOp(PreOp, Box), [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 147 - PreOp(PreOp, Box), [INFO] [stdout] 147 + PreOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Null`, `Array`, `Tuple`, and `Object` are never constructed [INFO] [stdout] --> src/ast/mod.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 154 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 155 | Var(String), [INFO] [stdout] 156 | Null, // the `null` expression [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | Object(HashMap>), // { f = 2 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cexpr` is never read [INFO] [stdout] --> src/ast/mod.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct VarDec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub cexpr: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cctxt` is never read [INFO] [stdout] --> src/ctxt/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Ctxt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub ast: Ast, [INFO] [stdout] 13 | pub cctxt: CCtxt [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - String(String), [INFO] [stdout] 14 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Array(Vec), [INFO] [stdout] 16 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Tuple(Vec), [INFO] [stdout] 17 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/exec/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Object(HashMap>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Object(HashMap>), [INFO] [stdout] 18 + Object(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dealloc` is never used [INFO] [stdout] --> src/exec/heap.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl Heap { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn dealloc(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "cfe0735aab135b14825438191e3b37ba9e4f1d80b46835a80c11d083aa437b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe0735aab135b14825438191e3b37ba9e4f1d80b46835a80c11d083aa437b45", kill_on_drop: false }` [INFO] [stdout] cfe0735aab135b14825438191e3b37ba9e4f1d80b46835a80c11d083aa437b45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96f1891daf13991926c20520671f48a567140c0e2fd9bef8d91df28b2c4c990f [INFO] running `Command { std: "docker" "start" "-a" "96f1891daf13991926c20520671f48a567140c0e2fd9bef8d91df28b2c4c990f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | CDef(CDef), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - CDef(CDef), [INFO] [stderr] 37 + CDef(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `body` are never read [INFO] [stderr] --> src/ast/mod.rs:50:6 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct CDef { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 50 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 51 | pub body: CExpr [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `items` is never read [INFO] [stderr] --> src/ast/mod.rs:57:6 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct CBlock { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 57 | pub items: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/ast/mod.rs:62:6 [INFO] [stderr] | [INFO] [stderr] 62 | And(Box, Box), [INFO] [stderr] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 62 - And(Box, Box), [INFO] [stderr] 62 + And((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/ast/mod.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | Or(Box, Box), [INFO] [stderr] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 63 - Or(Box, Box), [INFO] [stderr] 63 + Or((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:64:6 [INFO] [stderr] | [INFO] [stderr] 64 | Var(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 64 - Var(String), [INFO] [stderr] 64 + Var(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | CBlock(CBlock) [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 65 - CBlock(CBlock) [INFO] [stderr] 65 + CBlock(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `c_expr` is never read [INFO] [stderr] --> src/ast/mod.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct CItem { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 71 | pub name: String, [INFO] [stderr] 72 | pub c_expr: Option [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/ast/mod.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | PreOp(PreOp, Box), [INFO] [stderr] | ----- ^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 147 - PreOp(PreOp, Box), [INFO] [stderr] 147 + PreOp((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `String`, `Null`, `Array`, `Tuple`, and `Object` are never constructed [INFO] [stderr] --> src/ast/mod.rs:154:2 [INFO] [stderr] | [INFO] [stderr] 146 | pub enum Expr { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 154 | String(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 155 | Var(String), [INFO] [stderr] 156 | Null, // the `null` expression [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | Array(Vec), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 160 | Tuple(Vec), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 161 | Object(HashMap>), // { f = 2 } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `cexpr` is never read [INFO] [stderr] --> src/ast/mod.rs:172:6 [INFO] [stderr] | [INFO] [stderr] 169 | pub struct VarDec { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 172 | pub cexpr: Option [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VarDec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `cctxt` is never read [INFO] [stderr] --> src/ctxt/mod.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Ctxt { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 12 | pub ast: Ast, [INFO] [stderr] 13 | pub cctxt: CCtxt [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/exec/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | String(String), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 14 - String(String), [INFO] [stderr] 14 + String(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/exec/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | Array(Vec), [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - Array(Vec), [INFO] [stderr] 16 + Array(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/exec/mod.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | Tuple(Vec), [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - Tuple(Vec), [INFO] [stderr] 17 + Tuple(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/exec/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Object(HashMap>), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - Object(HashMap>), [INFO] [stderr] 18 + Object(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `dealloc` is never used [INFO] [stderr] --> src/exec/heap.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 9 | impl Heap { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn dealloc(&mut self, index: usize) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `productivity-lang-compiler` (bin "productivity-lang-compiler" test) generated 17 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/productivity_lang_compiler-893282698f2a400a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test ast::parse::expr::fun::test_empty_fun ... ok [INFO] [stdout] test ast::parse::expr::fun_call::test1 ... ok [INFO] [stdout] test ast::parse::expr::fun::test_fun ... ok [INFO] [stdout] test ast::parse::expr::test_fun_call_expr ... ok [INFO] [stdout] test ast::parse::expr::test_fun_call_expr_statement ... ok [INFO] [stdout] test ast::parse::keyword::test_parse_keyword_good ... ok [INFO] [stdout] test ast::parse::test_fun_call ... ok [INFO] [stdout] test ast::parse::keyword::test_parse_keyword_bad - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96f1891daf13991926c20520671f48a567140c0e2fd9bef8d91df28b2c4c990f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f1891daf13991926c20520671f48a567140c0e2fd9bef8d91df28b2c4c990f", kill_on_drop: false }` [INFO] [stdout] 96f1891daf13991926c20520671f48a567140c0e2fd9bef8d91df28b2c4c990f