[INFO] cloning repository https://github.com/swen128/compiler-book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swen128/compiler-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fcompiler-book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fcompiler-book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3be9db71115e5a101d3d30432db385c311abfd6f
[INFO] checking swen128/compiler-book against try#1bd50d4315eb15970d395b6be5823f9384707693 for pr-140151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fcompiler-book" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/swen128/compiler-book on toolchain 1bd50d4315eb15970d395b6be5823f9384707693
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/swen128/compiler-book
[INFO] finished tweaking git repo https://github.com/swen128/compiler-book
[INFO] tweaked toml for git repo https://github.com/swen128/compiler-book written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/swen128/compiler-book 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" "+1bd50d4315eb15970d395b6be5823f9384707693" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1eab0f187790065b0b907e52ad6e30e501ce73a420723bb8df268f6c39c41521
[INFO] running `Command { std: "docker" "start" "-a" "1eab0f187790065b0b907e52ad6e30e501ce73a420723bb8df268f6c39c41521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1eab0f187790065b0b907e52ad6e30e501ce73a420723bb8df268f6c39c41521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1eab0f187790065b0b907e52ad6e30e501ce73a420723bb8df268f6c39c41521", kill_on_drop: false }`
[INFO] [stdout] 1eab0f187790065b0b907e52ad6e30e501ce73a420723bb8df268f6c39c41521
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87e611bac42f1b5cb580fb7609b72165fe6fc179e48a99d9ec998ec8406b6b35
[INFO] running `Command { std: "docker" "start" "-a" "87e611bac42f1b5cb580fb7609b72165fe6fc179e48a99d9ec998ec8406b6b35", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]    Compiling logos-codegen v0.13.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling logos-derive v0.13.0
[INFO] [stderr]     Checking logos v0.13.0
[INFO] [stderr]     Checking compiler-book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::symbol::symbol`
[INFO] [stdout]    --> src/types.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     use crate::symbol::symbol;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/flow/graph.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Table<T> {
[INFO] [stdout]    |                  ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/flow/graph.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Table<T> {
[INFO] [stdout]    |                  ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/temp.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn named(name: &str) -> Self {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `level`
[INFO] [stdout]   --> src/translate/level.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn formals<F: Frame + Clone + PartialEq>(level: Level<F>) -> Vec<Access<F>> {
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/frame/risc_v.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn proc_entry_exit1(&self, body: crate::ir::Statement) -> crate::ir::Statement {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/frame/risc_v.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn external_call(name: &str, args: Vec<crate::ir::Expr>) -> crate::ir::Expr {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/frame/risc_v.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn external_call(name: &str, args: Vec<crate::ir::Expr>) -> crate::ir::Expr {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame_pointer`
[INFO] [stdout]   --> src/frame/risc_v.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     fn expr(&self, frame_pointer: &Temp) -> Expr {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_pointer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]  --> src/codegen/risc_v.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn codegen(&self, frame: &mut RiscVFrame, statements: Vec<Statement>) -> Vec<Instruction> {
[INFO] [stdout]   |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statements`
[INFO] [stdout]  --> src/codegen/risc_v.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn codegen(&self, frame: &mut RiscVFrame, statements: Vec<Statement>) -> Vec<Instruction> {
[INFO] [stdout]   |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statement`
[INFO] [stdout]   --> src/codegen/risc_v.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn munch_statement(statement: Statement) -> Vec<Instruction> {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/codegen/risc_v.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn munch_expr(expr: Expr) -> Vec<Instruction> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `register_map`
[INFO] [stdout]   --> src/assembly.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn format(&self, register_map: impl FnOnce(Temp) -> String) -> String {
[INFO] [stdout]    |                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/flow/graph.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn make_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/flow/graph.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn make_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/flow/graph.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn remove_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/flow/graph.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn remove_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/graph.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn associate(&self, node: Node, value: T) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/flow/graph.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn associate(&self, node: Node, value: T) {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/graph.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn get(&self, node: Node) -> Option<T> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instructions`
[INFO] [stdout]   --> src/flow/flow_graph.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/flow/liveness.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn from(graph: FlowGraph) -> Self {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp`
[INFO] [stdout]   --> src/flow/liveness.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn is_live(&self, temp: Temp, node: Node) -> bool {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_temp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/liveness.rs:60:39
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn is_live(&self, temp: Temp, node: Node) -> bool {
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local data `set.live_temporaries`
[INFO] [stdout]   --> src/flow/liveness.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|set: LiveSet| set.live_temporaries.as_slice())
[INFO] [stdout]    |                                 --------------------^^^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 returns a value referencing data owned by the current function
[INFO] [stdout]    |                                 `set.live_temporaries` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0392, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0392`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler-book` (lib) due to 2 previous errors; 22 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/temp.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn named(name: &str) -> Self {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `level`
[INFO] [stdout]   --> src/translate/level.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn formals<F: Frame + Clone + PartialEq>(level: Level<F>) -> Vec<Access<F>> {
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/frame/risc_v.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn proc_entry_exit1(&self, body: crate::ir::Statement) -> crate::ir::Statement {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/frame/risc_v.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn external_call(name: &str, args: Vec<crate::ir::Expr>) -> crate::ir::Expr {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/frame/risc_v.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn external_call(name: &str, args: Vec<crate::ir::Expr>) -> crate::ir::Expr {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame_pointer`
[INFO] [stdout]   --> src/frame/risc_v.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     fn expr(&self, frame_pointer: &Temp) -> Expr {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_pointer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]  --> src/codegen/risc_v.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn codegen(&self, frame: &mut RiscVFrame, statements: Vec<Statement>) -> Vec<Instruction> {
[INFO] [stdout]   |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statements`
[INFO] [stdout]  --> src/codegen/risc_v.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn codegen(&self, frame: &mut RiscVFrame, statements: Vec<Statement>) -> Vec<Instruction> {
[INFO] [stdout]   |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statement`
[INFO] [stdout]   --> src/codegen/risc_v.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn munch_statement(statement: Statement) -> Vec<Instruction> {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/codegen/risc_v.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn munch_expr(expr: Expr) -> Vec<Instruction> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `register_map`
[INFO] [stdout]   --> src/assembly.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn format(&self, register_map: impl FnOnce(Temp) -> String) -> String {
[INFO] [stdout]    |                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/flow/graph.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn make_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/flow/graph.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn make_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/flow/graph.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn remove_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/flow/graph.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn remove_edge(&self, from: Node, to: Node) {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/graph.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn associate(&self, node: Node, value: T) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/flow/graph.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn associate(&self, node: Node, value: T) {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/graph.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn get(&self, node: Node) -> Option<T> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instructions`
[INFO] [stdout]   --> src/flow/flow_graph.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/flow/liveness.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn from(graph: FlowGraph) -> Self {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp`
[INFO] [stdout]   --> src/flow/liveness.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn is_live(&self, temp: Temp, node: Node) -> bool {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_temp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/flow/liveness.rs:60:39
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn is_live(&self, temp: Temp, node: Node) -> bool {
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local data `set.live_temporaries`
[INFO] [stdout]   --> src/flow/liveness.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|set: LiveSet| set.live_temporaries.as_slice())
[INFO] [stdout]    |                                 --------------------^^^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 returns a value referencing data owned by the current function
[INFO] [stdout]    |                                 `set.live_temporaries` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0392, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0392`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler-book` (lib test) due to 2 previous errors; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "87e611bac42f1b5cb580fb7609b72165fe6fc179e48a99d9ec998ec8406b6b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87e611bac42f1b5cb580fb7609b72165fe6fc179e48a99d9ec998ec8406b6b35", kill_on_drop: false }`
[INFO] [stdout] 87e611bac42f1b5cb580fb7609b72165fe6fc179e48a99d9ec998ec8406b6b35
