[INFO] cloning repository https://github.com/lucques/flanelly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucques/flanelly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucques%2Fflanelly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucques%2Fflanelly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6ffd9e84ec2463c2c3910ffcc609b2d09abef07 [INFO] checking lucques/flanelly against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucques%2Fflanelly" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucques/flanelly on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lucques/flanelly [INFO] finished tweaking git repo https://github.com/lucques/flanelly [INFO] tweaked toml for git repo https://github.com/lucques/flanelly written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/lucques/flanelly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8927dc53b144c2da8dbea1f30dd3d1b4cd8de41b9b9d730a3d5c7171c696100a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8927dc53b144c2da8dbea1f30dd3d1b4cd8de41b9b9d730a3d5c7171c696100a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8927dc53b144c2da8dbea1f30dd3d1b4cd8de41b9b9d730a3d5c7171c696100a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8927dc53b144c2da8dbea1f30dd3d1b4cd8de41b9b9d730a3d5c7171c696100a", kill_on_drop: false }` [INFO] [stdout] 8927dc53b144c2da8dbea1f30dd3d1b4cd8de41b9b9d730a3d5c7171c696100a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bc55cc9d8ce83e9e8e2485e6ef233c7183ef8d09014c1fffa396bda524fb92 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8bc55cc9d8ce83e9e8e2485e6ef233c7183ef8d09014c1fffa396bda524fb92", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking vec1 v1.6.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking flanelly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bexp::BExp::*` [INFO] [stdout] --> src/interpreter.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ast::{Prog, ProgAtom, ProgAtom::*}, aexp::AExp, aexp::AExp::*, bexp::BExp::*, common::VarName, bexp::BExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bexp::BExp::*` [INFO] [stdout] --> src/interpreter.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ast::{Prog, ProgAtom, ProgAtom::*}, aexp::AExp, aexp::AExp::*, bexp::BExp::*, common::VarName, bexp::BExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `while` expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | while todo!() { [INFO] [stdout] | ___________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 31 | | // Take a node out of worklist [INFO] [stdout] 32 | | let n = todo!(); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ unreachable block in `while` expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/flow_analysis/mfp.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let n = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 35 | let predecs: Vec1<&L> = cfg.predecessors(n).unwrap().mapped(|n_pre| &cfg.graph[n_pre].annot.post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | cfg.graph[n].annot.pre = todo!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if todo!() { [INFO] [stdout] | ____________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 43 | | // ...update and... [INFO] [stdout] 44 | | todo!(); [INFO] [stdout] 45 | | // ...mark successors [INFO] [stdout] 46 | | todo!(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ unreachable block in `if` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/flow_analysis/mfp.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 44 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 45 | // ...mark successors [INFO] [stdout] 46 | todo!(); [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/aexp.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn contains_var(&self, x: &VarName) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/cfg.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn map(self: &Cfg, f: F) -> Cfg [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/interpreter.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/interpreter.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | While(b, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/interpreter.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | While(b, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn eval_bexp(a: &BExp, mem: &MemConfig) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/interpreter.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn eval_bexp(a: &BExp, mem: &MemConfig) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/interpreter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let MemConfig(map) = self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn lookup(&self, x: &VarName) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/interpreter.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let MemConfig(map) = self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn assign(&mut self, x: &VarName, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/interpreter.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn assign(&mut self, x: &VarName, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow_analysis/mfp.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let n = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predecs` [INFO] [stdout] --> src/flow_analysis/mfp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let predecs: Vec1<&L> = cfg.predecessors(n).unwrap().mapped(|n_pre| &cfg.graph[n_pre].annot.post); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_in_n` [INFO] [stdout] --> src/flow_analysis/mfp.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let f_in_n = todo!(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_in_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn join_bin(self: &Self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | Node::Assign(v, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Node::Assign(v, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow_analysis/avail_exp.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | fn eval_transfer_function(n: &Node, set: &Self) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/flow_analysis/avail_exp.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn eval_transfer_function(n: &Node, set: &Self) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `while` expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | while todo!() { [INFO] [stdout] | ___________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 31 | | // Take a node out of worklist [INFO] [stdout] 32 | | let n = todo!(); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ unreachable block in `while` expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/flow_analysis/mfp.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let n = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 35 | let predecs: Vec1<&L> = cfg.predecessors(n).unwrap().mapped(|n_pre| &cfg.graph[n_pre].annot.post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | cfg.graph[n].annot.pre = todo!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` expression [INFO] [stdout] --> src/flow_analysis/mfp.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if todo!() { [INFO] [stdout] | ____________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 43 | | // ...update and... [INFO] [stdout] 44 | | todo!(); [INFO] [stdout] 45 | | // ...mark successors [INFO] [stdout] 46 | | todo!(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ unreachable block in `if` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/flow_analysis/mfp.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 44 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 45 | // ...mark successors [INFO] [stdout] 46 | todo!(); [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/aexp.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn contains_var(&self, x: &VarName) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/cfg.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn map(self: &Cfg, f: F) -> Cfg [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/interpreter.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/interpreter.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Cond(b, p1, p2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | While(b, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/interpreter.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | While(b, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn eval_bexp(a: &BExp, mem: &MemConfig) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/interpreter.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn eval_bexp(a: &BExp, mem: &MemConfig) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/interpreter.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let MemConfig(map) = self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn lookup(&self, x: &VarName) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/interpreter.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let MemConfig(map) = self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/interpreter.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn assign(&mut self, x: &VarName, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/interpreter.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn assign(&mut self, x: &VarName, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow_analysis/mfp.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let n = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predecs` [INFO] [stdout] --> src/flow_analysis/mfp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let predecs: Vec1<&L> = cfg.predecessors(n).unwrap().mapped(|n_pre| &cfg.graph[n_pre].annot.post); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_in_n` [INFO] [stdout] --> src/flow_analysis/mfp.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let f_in_n = todo!(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_in_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn join_bin(self: &Self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | Node::Assign(v, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Node::Assign(v, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow_analysis/avail_exp.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | fn eval_transfer_function(n: &Node, set: &Self) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/flow_analysis/avail_exp.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn eval_transfer_function(n: &Node, set: &Self) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_aexp` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn eval_aexp(self: &MultiConstLat, a: &AExp) -> ConstLat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_bin_op` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn eval_bin_op(self: ConstLat, f: F, other: ConstLat) -> ConstLat [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_aexp` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn eval_aexp(self: &MultiConstLat, a: &AExp) -> ConstLat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_bin_op` [INFO] [stdout] --> src/flow_analysis/const_prop.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn eval_bin_op(self: ConstLat, f: F, other: ConstLat) -> ConstLat [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.00s [INFO] running `Command { std: "docker" "inspect" "a8bc55cc9d8ce83e9e8e2485e6ef233c7183ef8d09014c1fffa396bda524fb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bc55cc9d8ce83e9e8e2485e6ef233c7183ef8d09014c1fffa396bda524fb92", kill_on_drop: false }` [INFO] [stdout] a8bc55cc9d8ce83e9e8e2485e6ef233c7183ef8d09014c1fffa396bda524fb92