[INFO] cloning repository https://github.com/montaglue/Lambda-Rubiks-Cube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/montaglue/Lambda-Rubiks-Cube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontaglue%2FLambda-Rubiks-Cube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontaglue%2FLambda-Rubiks-Cube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 437e4ca9404ca63c3906fee446610eede95e89c5 [INFO] checking montaglue/Lambda-Rubiks-Cube against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontaglue%2FLambda-Rubiks-Cube" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/montaglue/Lambda-Rubiks-Cube on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/montaglue/Lambda-Rubiks-Cube [INFO] finished tweaking git repo https://github.com/montaglue/Lambda-Rubiks-Cube [INFO] tweaked toml for git repo https://github.com/montaglue/Lambda-Rubiks-Cube written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/montaglue/Lambda-Rubiks-Cube 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7047b3db9e2b7b1837addcc36267e9f2b408a8888a3a95d07cd07fec940ff5f [INFO] running `Command { std: "docker" "start" "-a" "a7047b3db9e2b7b1837addcc36267e9f2b408a8888a3a95d07cd07fec940ff5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7047b3db9e2b7b1837addcc36267e9f2b408a8888a3a95d07cd07fec940ff5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7047b3db9e2b7b1837addcc36267e9f2b408a8888a3a95d07cd07fec940ff5f", kill_on_drop: false }` [INFO] [stdout] a7047b3db9e2b7b1837addcc36267e9f2b408a8888a3a95d07cd07fec940ff5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bb69ff5e49407958e0dbb51f3f6a33e3bbccde5f83d14461518efce02d1e462 [INFO] running `Command { std: "docker" "start" "-a" "7bb69ff5e49407958e0dbb51f3f6a33e3bbccde5f83d14461518efce02d1e462", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling Lambda-Rubiks-Cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/typechecker/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | RawTerm::Lam(body) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/typechecker/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/typechecker/mod.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/error/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, 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: variants `Global` and `Local` are never constructed [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum EName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 43 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EName` 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: method `eval` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl EName { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn eval(&self) -> VName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subst` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ExtendedTerm { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 57 | pub fn subst(&self, sub: Rc, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universe` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn universe() -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typ` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn typ(te: Rc, ty: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pi` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn pi(arg_type: Rc, res_type: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lam` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn lam(body: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `si` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn si(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn pair(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn proj(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bounded` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn bounded(ind: usize) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn free(n: EName) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/interpreter/evaluation.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eval(term: &ExtendedTerm, env: Rc>>) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/interpreter/value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Neutral { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quote`, `Global`, and `Local` are never constructed [INFO] [stdout] --> src/interpreter/value.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum VName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Quote(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VName` 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: struct `Closure` is never constructed [INFO] [stdout] --> src/interpreter/value.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Closure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply` are never used [INFO] [stdout] --> src/interpreter/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Closure { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new(term: Rc, env: Rc>>) -> Closure { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn apply(&self, x: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 53 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Neutral { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 78 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_eq` is never used [INFO] [stdout] --> src/interpreter/value.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 92 | pub fn is_eq(&self, another: Rc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_universe` is never used [INFO] [stdout] --> src/interpreter/value.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) fn v_universe() -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_lam` is never used [INFO] [stdout] --> src/interpreter/value.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn v_lam(c: Closure) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pi` is never used [INFO] [stdout] --> src/interpreter/value.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn v_pi(arg_type: Rc, res_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_si` is never used [INFO] [stdout] --> src/interpreter/value.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn v_si(first_type: Rc, second_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn v_pair(first: Rc, second: Rc) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn v_neutral(n: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_free` is never used [INFO] [stdout] --> src/interpreter/value.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn n_free(n: VName) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn n_pair(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_app` is never used [INFO] [stdout] --> src/interpreter/value.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn n_app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parse/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(s: &str) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminate_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn eliminate_type(term: &ExtendedTerm, ctx: TypeContext) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_type(term: &ExtendedTerm, ty: Rc, ctx: TypeContext) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeContext` is never constructed [INFO] [stdout] --> src/typechecker/type_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_decl`, `lookup_ty`, `push_binder`, and `get_fresh` are never used [INFO] [stdout] --> src/typechecker/type_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push_decl(&self, n: EName, ty: Rc) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn lookup_ty(&self, n: &EName) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push_binder(&self) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_fresh(&self) -> (EName, TypeContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/utils/list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/utils/list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get(&self, ind: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_ty` is never used [INFO] [stdout] --> src/utils/list.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl List<(A, B)> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 29 | pub fn lookup_ty(&self, key: &A) -> Option<&B> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/typechecker/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | RawTerm::Lam(body) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/typechecker/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/typechecker/mod.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/error/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, 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: variants `Global` and `Local` are never constructed [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum EName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 43 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EName` 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: method `eval` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl EName { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn eval(&self) -> VName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subst` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ExtendedTerm { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 57 | pub fn subst(&self, sub: Rc, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universe` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn universe() -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typ` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn typ(te: Rc, ty: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pi` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn pi(arg_type: Rc, res_type: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lam` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn lam(body: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `si` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn si(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn pair(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn proj(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bounded` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn bounded(ind: usize) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn free(n: EName) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/interpreter/evaluation.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eval(term: &ExtendedTerm, env: Rc>>) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/interpreter/value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Neutral { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quote`, `Global`, and `Local` are never constructed [INFO] [stdout] --> src/interpreter/value.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum VName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Quote(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VName` 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: struct `Closure` is never constructed [INFO] [stdout] --> src/interpreter/value.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Closure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply` are never used [INFO] [stdout] --> src/interpreter/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Closure { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new(term: Rc, env: Rc>>) -> Closure { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn apply(&self, x: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 53 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Neutral { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 78 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_eq` is never used [INFO] [stdout] --> src/interpreter/value.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 92 | pub fn is_eq(&self, another: Rc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_universe` is never used [INFO] [stdout] --> src/interpreter/value.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) fn v_universe() -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_lam` is never used [INFO] [stdout] --> src/interpreter/value.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn v_lam(c: Closure) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pi` is never used [INFO] [stdout] --> src/interpreter/value.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn v_pi(arg_type: Rc, res_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_si` is never used [INFO] [stdout] --> src/interpreter/value.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn v_si(first_type: Rc, second_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn v_pair(first: Rc, second: Rc) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn v_neutral(n: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_free` is never used [INFO] [stdout] --> src/interpreter/value.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn n_free(n: VName) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn n_pair(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_app` is never used [INFO] [stdout] --> src/interpreter/value.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn n_app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parse/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(s: &str) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminate_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn eliminate_type(term: &ExtendedTerm, ctx: TypeContext) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_type(term: &ExtendedTerm, ty: Rc, ctx: TypeContext) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeContext` is never constructed [INFO] [stdout] --> src/typechecker/type_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_decl`, `lookup_ty`, `push_binder`, and `get_fresh` are never used [INFO] [stdout] --> src/typechecker/type_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push_decl(&self, n: EName, ty: Rc) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn lookup_ty(&self, n: &EName) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push_binder(&self) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_fresh(&self) -> (EName, TypeContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/utils/list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/utils/list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get(&self, ind: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_ty` is never used [INFO] [stdout] --> src/utils/list.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl List<(A, B)> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 29 | pub fn lookup_ty(&self, key: &A) -> Option<&B> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.6 [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" "7bb69ff5e49407958e0dbb51f3f6a33e3bbccde5f83d14461518efce02d1e462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb69ff5e49407958e0dbb51f3f6a33e3bbccde5f83d14461518efce02d1e462", kill_on_drop: false }` [INFO] [stdout] 7bb69ff5e49407958e0dbb51f3f6a33e3bbccde5f83d14461518efce02d1e462 [INFO] checking montaglue/Lambda-Rubiks-Cube against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontaglue%2FLambda-Rubiks-Cube" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/montaglue/Lambda-Rubiks-Cube on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/montaglue/Lambda-Rubiks-Cube [INFO] finished tweaking git repo https://github.com/montaglue/Lambda-Rubiks-Cube [INFO] tweaked toml for git repo https://github.com/montaglue/Lambda-Rubiks-Cube written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/montaglue/Lambda-Rubiks-Cube 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031b213e36de8035b3f0ce8d787527589d8c6dea5bf20d33877a5898663890be [INFO] running `Command { std: "docker" "start" "-a" "031b213e36de8035b3f0ce8d787527589d8c6dea5bf20d33877a5898663890be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031b213e36de8035b3f0ce8d787527589d8c6dea5bf20d33877a5898663890be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031b213e36de8035b3f0ce8d787527589d8c6dea5bf20d33877a5898663890be", kill_on_drop: false }` [INFO] [stdout] 031b213e36de8035b3f0ce8d787527589d8c6dea5bf20d33877a5898663890be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abe9c194dc1247b60a0d7dff9880b3bbf7ebff72c41f4b2dfd995a25097262f8 [INFO] running `Command { std: "docker" "start" "-a" "abe9c194dc1247b60a0d7dff9880b3bbf7ebff72c41f4b2dfd995a25097262f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling Lambda-Rubiks-Cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/typechecker/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | RawTerm::Lam(body) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/typechecker/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/typechecker/mod.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/error/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, 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: variants `Global` and `Local` are never constructed [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum EName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 43 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EName` 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: method `eval` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl EName { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn eval(&self) -> VName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subst` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ExtendedTerm { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 57 | pub fn subst(&self, sub: Rc, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/typechecker/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | RawTerm::Lam(body) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/typechecker/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/typechecker/mod.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | RawTerm::Pair(f, s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universe` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn universe() -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typ` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn typ(te: Rc, ty: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pi` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn pi(arg_type: Rc, res_type: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lam` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn lam(body: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `si` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn si(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn pair(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn proj(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bounded` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn bounded(ind: usize) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn free(n: EName) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/interpreter/evaluation.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eval(term: &ExtendedTerm, env: Rc>>) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/interpreter/value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/error/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, 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: enum `Neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Neutral { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quote`, `Global`, and `Local` are never constructed [INFO] [stdout] --> src/interpreter/value.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum VName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Quote(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VName` 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: variants `Global` and `Local` are never constructed [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum EName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 43 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EName` 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: struct `Closure` is never constructed [INFO] [stdout] --> src/interpreter/value.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Closure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl EName { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn eval(&self) -> VName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply` are never used [INFO] [stdout] --> src/interpreter/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Closure { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new(term: Rc, env: Rc>>) -> Closure { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn apply(&self, x: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 53 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subst` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ExtendedTerm { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 57 | pub fn subst(&self, sub: Rc, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Neutral { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 78 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universe` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn universe() -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_eq` is never used [INFO] [stdout] --> src/interpreter/value.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 92 | pub fn is_eq(&self, another: Rc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_universe` is never used [INFO] [stdout] --> src/interpreter/value.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) fn v_universe() -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typ` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn typ(te: Rc, ty: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_lam` is never used [INFO] [stdout] --> src/interpreter/value.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn v_lam(c: Closure) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pi` is never used [INFO] [stdout] --> src/interpreter/value.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn v_pi(arg_type: Rc, res_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pi` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn pi(arg_type: Rc, res_type: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_si` is never used [INFO] [stdout] --> src/interpreter/value.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn v_si(first_type: Rc, second_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lam` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn lam(body: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn v_pair(first: Rc, second: Rc) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn v_neutral(n: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_free` is never used [INFO] [stdout] --> src/interpreter/value.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn n_free(n: VName) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn n_pair(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `si` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn si(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_app` is never used [INFO] [stdout] --> src/interpreter/value.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn n_app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn pair(f: Rc, s: Rc) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parse/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(s: &str) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminate_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn eliminate_type(term: &ExtendedTerm, ctx: TypeContext) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn proj(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_type(term: &ExtendedTerm, ty: Rc, ctx: TypeContext) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bounded` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn bounded(ind: usize) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeContext` is never constructed [INFO] [stdout] --> src/typechecker/type_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/interior_representation/abstract_syntax_tree.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn free(n: EName) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/interpreter/evaluation.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eval(term: &ExtendedTerm, env: Rc>>) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_decl`, `lookup_ty`, `push_binder`, and `get_fresh` are never used [INFO] [stdout] --> src/typechecker/type_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push_decl(&self, n: EName, ty: Rc) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn lookup_ty(&self, n: &EName) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push_binder(&self) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_fresh(&self) -> (EName, TypeContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/interpreter/value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/utils/list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Neutral { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/utils/list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get(&self, ind: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_ty` is never used [INFO] [stdout] --> src/utils/list.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl List<(A, B)> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 29 | pub fn lookup_ty(&self, key: &A) -> Option<&B> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quote`, `Global`, and `Local` are never constructed [INFO] [stdout] --> src/interpreter/value.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum VName { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Quote(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Global(Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Local(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VName` 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: struct `Closure` is never constructed [INFO] [stdout] --> src/interpreter/value.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Closure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply` are never used [INFO] [stdout] --> src/interpreter/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Closure { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new(term: Rc, env: Rc>>) -> Closure { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn apply(&self, x: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 53 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quote` is never used [INFO] [stdout] --> src/interpreter/value.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Neutral { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 78 | pub fn quote(&self, ind: usize) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_eq` is never used [INFO] [stdout] --> src/interpreter/value.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 92 | pub fn is_eq(&self, another: Rc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_universe` is never used [INFO] [stdout] --> src/interpreter/value.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) fn v_universe() -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_lam` is never used [INFO] [stdout] --> src/interpreter/value.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn v_lam(c: Closure) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pi` is never used [INFO] [stdout] --> src/interpreter/value.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn v_pi(arg_type: Rc, res_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_si` is never used [INFO] [stdout] --> src/interpreter/value.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn v_si(first_type: Rc, second_type: Closure) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn v_pair(first: Rc, second: Rc) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v_neutral` is never used [INFO] [stdout] --> src/interpreter/value.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn v_neutral(n: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_free` is never used [INFO] [stdout] --> src/interpreter/value.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn n_free(n: VName) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_pair` is never used [INFO] [stdout] --> src/interpreter/value.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn n_pair(t: Rc, p: usize) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_app` is never used [INFO] [stdout] --> src/interpreter/value.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn n_app(fun: Rc, arg: Rc) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parse/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(s: &str) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminate_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn eliminate_type(term: &ExtendedTerm, ctx: TypeContext) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> src/typechecker/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_type(term: &ExtendedTerm, ty: Rc, ctx: TypeContext) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeContext` is never constructed [INFO] [stdout] --> src/typechecker/type_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_decl`, `lookup_ty`, `push_binder`, and `get_fresh` are never used [INFO] [stdout] --> src/typechecker/type_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push_decl(&self, n: EName, ty: Rc) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn lookup_ty(&self, n: &EName) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push_binder(&self) -> TypeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_fresh(&self) -> (EName, TypeContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/utils/list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/utils/list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get(&self, ind: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_ty` is never used [INFO] [stdout] --> src/utils/list.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl List<(A, B)> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 29 | pub fn lookup_ty(&self, key: &A) -> Option<&B> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.6 [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" "abe9c194dc1247b60a0d7dff9880b3bbf7ebff72c41f4b2dfd995a25097262f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe9c194dc1247b60a0d7dff9880b3bbf7ebff72c41f4b2dfd995a25097262f8", kill_on_drop: false }` [INFO] [stdout] abe9c194dc1247b60a0d7dff9880b3bbf7ebff72c41f4b2dfd995a25097262f8