[INFO] cloning repository https://github.com/zxqcs/rusmachine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxqcs/rusmachine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxqcs%2Frusmachine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxqcs%2Frusmachine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e911e35f03dc85e5a544e30a501bb4a7fdef215 [INFO] testing zxqcs/rusmachine against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxqcs%2Frusmachine" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxqcs/rusmachine on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zxqcs/rusmachine [INFO] finished tweaking git repo https://github.com/zxqcs/rusmachine [INFO] tweaked toml for git repo https://github.com/zxqcs/rusmachine written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/zxqcs/rusmachine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7983d91dc0fe3031d49b015f1ee0696a8a047dcb837efa48715751f79410f7cf [INFO] running `Command { std: "docker" "start" "-a" "7983d91dc0fe3031d49b015f1ee0696a8a047dcb837efa48715751f79410f7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7983d91dc0fe3031d49b015f1ee0696a8a047dcb837efa48715751f79410f7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7983d91dc0fe3031d49b015f1ee0696a8a047dcb837efa48715751f79410f7cf", kill_on_drop: false }` [INFO] [stdout] 7983d91dc0fe3031d49b015f1ee0696a8a047dcb837efa48715751f79410f7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5453dbe9ded4b8ef3aa130dea2e7b00e32cd2c4f0c3d05d2f2e430799197907f [INFO] running `Command { std: "docker" "start" "-a" "5453dbe9ded4b8ef3aa130dea2e7b00e32cd2c4f0c3d05d2f2e430799197907f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::scheme_list` [INFO] [stdout] --> src/assembler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::scheme_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `append`, `set_car` [INFO] [stdout] --> src/assembler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | append, car, cdr, scheme_cons, set_car, set_cdr, Exp, Pair, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::register::Register` [INFO] [stdout] --> src/gc.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::register::Register; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `machine_case` should have an upper camel case name [INFO] [stdout] --> src/machine_cases.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct machine_case { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MachineCase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/memory.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{self, write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gc::garbage_collector::garbage_collector` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gc::garbage_collector::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register`, `stack::Stack` [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use infrastructure::{register, stack::Stack}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] | ^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] 209 | label_three => gc_flip(memory), [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 210 | label_four => update_car(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 211 | label_five => update_cdr(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 212 | _ => panic!("not a proper label!"), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insts` [INFO] [stdout] --> src/assembler.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/assembler.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `machine` [INFO] [stdout] --> src/assembler.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/assembler.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_name` [INFO] [stdout] --> src/assembler.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/gc.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut x = Object::Nil; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | Object::Pair(x) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_one` [INFO] [stdout] --> src/gc.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let label_one = Object::Symbol("reassign-root".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_two` [INFO] [stdout] --> src/gc.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let label_two = Object::Symbol("gc-loop".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_three` [INFO] [stdout] --> src/gc.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let label_three = Object::Symbol("gc_flip".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_four` [INFO] [stdout] --> src/gc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let label_four = Object::Symbol("update_car".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_five` [INFO] [stdout] --> src/gc.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let label_five = Object::Symbol("update_cdr".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_one` [INFO] [stdout] --> src/gc.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_two` [INFO] [stdout] --> src/gc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_three` [INFO] [stdout] --> src/gc.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | label_three => gc_flip(memory), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_four` [INFO] [stdout] --> src/gc.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | label_four => update_car(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_five` [INFO] [stdout] --> src/gc.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | label_five => update_cdr(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:177:72 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:181:72 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:185:52 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:185:69 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:189:69 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | x: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | y: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/machine.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | z: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | memory: &mut Memory, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/memory.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/tpfordev.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/tpfordev.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut ss = s.replace("(", " ( "); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `garbage_collector` [INFO] [stdout] --> src/gc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn garbage_collector(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reassign_root` [INFO] [stdout] --> src/gc.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn reassign_root(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `relocate_old_result_in_new` [INFO] [stdout] --> src/gc.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn relocate_old_result_in_new(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `relocate_pair` [INFO] [stdout] --> src/gc.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn relocate_pair(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assign_to_register_from_memory` [INFO] [stdout] --> src/gc.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn assign_to_register_from_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perform_memeory_set` [INFO] [stdout] --> src/gc.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn perform_memeory_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `give_a_location` [INFO] [stdout] --> src/gc.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn give_a_location(machine: &BasicMachine, name: &'static str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `already_moved` [INFO] [stdout] --> src/gc.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn already_moved(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_pair` [INFO] [stdout] --> src/gc.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn is_pair(old: &Object, memory: &Memory) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_car` [INFO] [stdout] --> src/gc.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn update_car(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_cdr` [INFO] [stdout] --> src/gc.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn update_cdr(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gc_loop` [INFO] [stdout] --> src/gc.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn gc_loop(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gc_flip` [INFO] [stdout] --> src/gc.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn gc_flip(memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `where_to_go` [INFO] [stdout] --> src/gc.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn where_to_go(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/infrastructure.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(s: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `car` [INFO] [stdout] --> src/infrastructure.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn car(&self, memory: &Memory) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cdr` [INFO] [stdout] --> src/infrastructure.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn cdr(&self, memory: &Memory) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `capacity` [INFO] [stdout] --> src/infrastructure.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | capacity: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/infrastructure.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/infrastructure.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn push(&mut self, item: Object) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/infrastructure.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/machine.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | stack: Stack, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_registers` [INFO] [stdout] --> src/machine.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn initilize_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_register_contents_as_in_memory` [INFO] [stdout] --> src/machine.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn set_register_contents_as_in_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/memory.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/memory.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_car` [INFO] [stdout] --> src/memory.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new_car(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cdr` [INFO] [stdout] --> src/memory.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new_cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/representation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_syntax_tree_into_memeory_works` [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn build_syntax_tree_into_memeory_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_register_contents_as_in_memory_works` [INFO] [stdout] --> src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_register_contents_as_in_memory_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_to_exp_works` [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn str_to_exp_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BROKEN_HEART` should have a snake case name [INFO] [stdout] --> src/gc.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BROKEN_HEART = Object::Symbol("broken_heart".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `broken_heart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "5453dbe9ded4b8ef3aa130dea2e7b00e32cd2c4f0c3d05d2f2e430799197907f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5453dbe9ded4b8ef3aa130dea2e7b00e32cd2c4f0c3d05d2f2e430799197907f", kill_on_drop: false }` [INFO] [stdout] 5453dbe9ded4b8ef3aa130dea2e7b00e32cd2c4f0c3d05d2f2e430799197907f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 191e8d603f9cf9f94826853e0a24e9da20a10f14e3f4225065d7cb71e796b762 [INFO] running `Command { std: "docker" "start" "-a" "191e8d603f9cf9f94826853e0a24e9da20a10f14e3f4225065d7cb71e796b762", kill_on_drop: false }` [INFO] [stderr] Compiling machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::scheme_list` [INFO] [stdout] --> src/assembler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::scheme_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `append`, `set_car` [INFO] [stdout] --> src/assembler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | append, car, cdr, scheme_cons, set_car, set_cdr, Exp, Pair, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::register::Register` [INFO] [stdout] --> src/gc.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::register::Register; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::garbage_collector` [INFO] [stdout] --> src/gc.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use super::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `machine_case` should have an upper camel case name [INFO] [stdout] --> src/machine_cases.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct machine_case { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MachineCase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/memory.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{self, write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gc::garbage_collector::garbage_collector` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gc::garbage_collector::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register`, `stack::Stack` [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use infrastructure::{register, stack::Stack}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] | ^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] 209 | label_three => gc_flip(memory), [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 210 | label_four => update_car(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 211 | label_five => update_cdr(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gc.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 212 | _ => panic!("not a proper label!"), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insts` [INFO] [stdout] --> src/assembler.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/assembler.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `machine` [INFO] [stdout] --> src/assembler.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/assembler.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_name` [INFO] [stdout] --> src/assembler.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/gc.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut x = Object::Nil; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | Object::Pair(x) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_one` [INFO] [stdout] --> src/gc.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let label_one = Object::Symbol("reassign-root".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_two` [INFO] [stdout] --> src/gc.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let label_two = Object::Symbol("gc-loop".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_three` [INFO] [stdout] --> src/gc.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let label_three = Object::Symbol("gc_flip".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_four` [INFO] [stdout] --> src/gc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let label_four = Object::Symbol("update_car".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_five` [INFO] [stdout] --> src/gc.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let label_five = Object::Symbol("update_cdr".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_one` [INFO] [stdout] --> src/gc.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | label_one => reassign_root(machine, memory), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_two` [INFO] [stdout] --> src/gc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | label_two => gc_loop(machine, memory), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_three` [INFO] [stdout] --> src/gc.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | label_three => gc_flip(memory), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_four` [INFO] [stdout] --> src/gc.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | label_four => update_car(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_five` [INFO] [stdout] --> src/gc.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | label_five => update_cdr(machine, memory), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_root` [INFO] [stdout] --> src/infrastructure.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let another_root = build_syntax_tree_into_memeory(&mut ttokens, &mut memory, &mut machine); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/infrastructure.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let s = String::from("(( 7 8) 9)"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:177:72 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:181:72 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:185:52 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:185:69 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:189:69 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | x: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/machine.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | y: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/machine.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | z: &'static str, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/machine.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | memory: &mut Memory, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/memory.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/tpfordev.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/tpfordev.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut ss = s.replace("(", " ( "); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `garbage_collector` [INFO] [stdout] --> src/gc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn garbage_collector(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reassign_root` [INFO] [stdout] --> src/gc.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn reassign_root(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `relocate_old_result_in_new` [INFO] [stdout] --> src/gc.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn relocate_old_result_in_new(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `relocate_pair` [INFO] [stdout] --> src/gc.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn relocate_pair(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assign_to_register_from_memory` [INFO] [stdout] --> src/gc.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn assign_to_register_from_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perform_memeory_set` [INFO] [stdout] --> src/gc.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn perform_memeory_set( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `give_a_location` [INFO] [stdout] --> src/gc.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn give_a_location(machine: &BasicMachine, name: &'static str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `already_moved` [INFO] [stdout] --> src/gc.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn already_moved(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_pair` [INFO] [stdout] --> src/gc.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn is_pair(old: &Object, memory: &Memory) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_car` [INFO] [stdout] --> src/gc.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn update_car(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_cdr` [INFO] [stdout] --> src/gc.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn update_cdr(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gc_loop` [INFO] [stdout] --> src/gc.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn gc_loop(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gc_flip` [INFO] [stdout] --> src/gc.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn gc_flip(memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `where_to_go` [INFO] [stdout] --> src/gc.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn where_to_go(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `relocate_old_result_in_new_works` [INFO] [stdout] --> src/gc.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | fn relocate_old_result_in_new_works() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `car` [INFO] [stdout] --> src/infrastructure.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn car(&self, memory: &Memory) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cdr` [INFO] [stdout] --> src/infrastructure.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn cdr(&self, memory: &Memory) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/machine.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | stack: Stack, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/memory.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/memory.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_car` [INFO] [stdout] --> src/memory.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new_car(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cdr` [INFO] [stdout] --> src/memory.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new_cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_syntax_tree_into_memeory_works` [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn build_syntax_tree_into_memeory_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_register_contents_as_in_memory_works` [INFO] [stdout] --> src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_register_contents_as_in_memory_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_to_exp_works` [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn str_to_exp_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BROKEN_HEART` should have a snake case name [INFO] [stdout] --> src/gc.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BROKEN_HEART = Object::Symbol("broken_heart".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `broken_heart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 80 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "191e8d603f9cf9f94826853e0a24e9da20a10f14e3f4225065d7cb71e796b762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191e8d603f9cf9f94826853e0a24e9da20a10f14e3f4225065d7cb71e796b762", kill_on_drop: false }` [INFO] [stdout] 191e8d603f9cf9f94826853e0a24e9da20a10f14e3f4225065d7cb71e796b762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92ab078b5e81cf52a40b8f00bfc8801285c7ee162d5a1dda9a3d0aeaa177639a [INFO] running `Command { std: "docker" "start" "-a" "92ab078b5e81cf52a40b8f00bfc8801285c7ee162d5a1dda9a3d0aeaa177639a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::scheme_list` [INFO] [stderr] --> src/assembler.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::scheme_list; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `append`, `set_car` [INFO] [stderr] --> src/assembler.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | append, car, cdr, scheme_cons, set_car, set_cdr, Exp, Pair, [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::infrastructure::register::Register` [INFO] [stderr] --> src/gc.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::infrastructure::register::Register; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::garbage_collector` [INFO] [stderr] --> src/gc.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | use super::garbage_collector; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `machine_case` should have an upper camel case name [INFO] [stderr] --> src/machine_cases.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct machine_case { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MachineCase` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `write` [INFO] [stderr] --> src/memory.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | fmt::{self, write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gc::garbage_collector::garbage_collector` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use gc::garbage_collector::garbage_collector; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `register`, `stack::Stack` [INFO] [stderr] --> src/main.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | use infrastructure::{register, stack::Stack}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gc.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | --------- matches any value [INFO] [stderr] 208 | label_two => gc_loop(machine, memory), [INFO] [stderr] | ^^^^^^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gc.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | --------- matches any value [INFO] [stderr] 208 | label_two => gc_loop(machine, memory), [INFO] [stderr] 209 | label_three => gc_flip(memory), [INFO] [stderr] | ^^^^^^^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gc.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | --------- matches any value [INFO] [stderr] ... [INFO] [stderr] 210 | label_four => update_car(machine, memory), [INFO] [stderr] | ^^^^^^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gc.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | --------- matches any value [INFO] [stderr] ... [INFO] [stderr] 211 | label_five => update_cdr(machine, memory), [INFO] [stderr] | ^^^^^^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gc.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | --------- matches any value [INFO] [stderr] ... [INFO] [stderr] 212 | _ => panic!("not a proper label!"), [INFO] [stderr] | ^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unused variable: `insts` [INFO] [stderr] --> src/assembler.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `labels` [INFO] [stderr] --> src/assembler.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `machine` [INFO] [stderr] --> src/assembler.rs:37:49 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn update_inst(insts: Exp, labels: Exp, machine: &mut BasicMachine) -> Exp { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `labels` [INFO] [stderr] --> src/assembler.rs:72:21 [INFO] [stderr] | [INFO] [stderr] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_name` [INFO] [stderr] --> src/assembler.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | fn lookup_label(labels: Exp, label_name: Exp) -> Exp { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label` [INFO] [stderr] --> src/gc.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `x` is never read [INFO] [stderr] --> src/gc.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let mut x = Object::Nil; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label` [INFO] [stderr] --> src/gc.rs:135:25 [INFO] [stderr] | [INFO] [stderr] 135 | let label = machine.get_register_contents("relocate_continue").unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/gc.rs:154:30 [INFO] [stderr] | [INFO] [stderr] 154 | Object::Pair(x) => true, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_one` [INFO] [stderr] --> src/gc.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let label_one = Object::Symbol("reassign-root".to_string()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_two` [INFO] [stderr] --> src/gc.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | let label_two = Object::Symbol("gc-loop".to_string()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_three` [INFO] [stderr] --> src/gc.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | let label_three = Object::Symbol("gc_flip".to_string()); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_four` [INFO] [stderr] --> src/gc.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | let label_four = Object::Symbol("update_car".to_string()); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_five` [INFO] [stderr] --> src/gc.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | let label_five = Object::Symbol("update_cdr".to_string()); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_one` [INFO] [stderr] --> src/gc.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | label_one => reassign_root(machine, memory), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_one` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_two` [INFO] [stderr] --> src/gc.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | label_two => gc_loop(machine, memory), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_two` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_three` [INFO] [stderr] --> src/gc.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | label_three => gc_flip(memory), [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_three` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_four` [INFO] [stderr] --> src/gc.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | label_four => update_car(machine, memory), [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_four` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `label_five` [INFO] [stderr] --> src/gc.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | label_five => update_cdr(machine, memory), [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_five` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `another_root` [INFO] [stderr] --> src/infrastructure.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | let another_root = build_syntax_tree_into_memeory(&mut ttokens, &mut memory, &mut machine); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/infrastructure.rs:259:13 [INFO] [stderr] | [INFO] [stderr] 259 | let s = String::from("(( 7 8) 9)"); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/machine.rs:177:38 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/machine.rs:177:55 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/machine.rs:177:72 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn assign_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/machine.rs:181:38 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/machine.rs:181:55 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/machine.rs:181:72 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn assign_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/machine.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/machine.rs:185:52 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/machine.rs:185:69 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn set_car(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/machine.rs:189:35 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/machine.rs:189:52 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/machine.rs:189:69 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn set_cdr(&mut self, x: &'static str, y: &'static str, memory: &mut Memory) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/machine.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | x: &'static str, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/machine.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | y: &'static str, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/machine.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | z: &'static str, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/machine.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | memory: &mut Memory, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/memory.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | for i in 0..size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lhs` [INFO] [stderr] --> src/tpfordev.rs:108:37 [INFO] [stderr] | [INFO] [stderr] 108 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/tpfordev.rs:117:42 [INFO] [stderr] | [INFO] [stderr] 117 | if let Exp::List(Pair::Cons(lhs, rhs)) = x { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let mut ss = s.replace("(", " ( "); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `garbage_collector` [INFO] [stderr] --> src/gc.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn garbage_collector(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `reassign_root` [INFO] [stderr] --> src/gc.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn reassign_root(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relocate_old_result_in_new` [INFO] [stderr] --> src/gc.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | fn relocate_old_result_in_new(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relocate_pair` [INFO] [stderr] --> src/gc.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn relocate_pair(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assign_to_register_from_memory` [INFO] [stderr] --> src/gc.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | fn assign_to_register_from_memory( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `perform_memeory_set` [INFO] [stderr] --> src/gc.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | fn perform_memeory_set( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `give_a_location` [INFO] [stderr] --> src/gc.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 117 | fn give_a_location(machine: &BasicMachine, name: &'static str) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `already_moved` [INFO] [stderr] --> src/gc.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | fn already_moved(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_pair` [INFO] [stderr] --> src/gc.rs:150:8 [INFO] [stderr] | [INFO] [stderr] 150 | fn is_pair(old: &Object, memory: &Memory) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update_car` [INFO] [stderr] --> src/gc.rs:162:8 [INFO] [stderr] | [INFO] [stderr] 162 | fn update_car(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update_cdr` [INFO] [stderr] --> src/gc.rs:171:8 [INFO] [stderr] | [INFO] [stderr] 171 | fn update_cdr(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gc_loop` [INFO] [stderr] --> src/gc.rs:178:8 [INFO] [stderr] | [INFO] [stderr] 178 | fn gc_loop(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gc_flip` [INFO] [stderr] --> src/gc.rs:191:8 [INFO] [stderr] | [INFO] [stderr] 191 | fn gc_flip(memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `where_to_go` [INFO] [stderr] --> src/gc.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | fn where_to_go(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relocate_old_result_in_new_works` [INFO] [stderr] --> src/gc.rs:224:8 [INFO] [stderr] | [INFO] [stderr] 224 | fn relocate_old_result_in_new_works() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `car` [INFO] [stderr] --> src/infrastructure.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn car(&self, memory: &Memory) -> Object { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cdr` [INFO] [stderr] --> src/infrastructure.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn cdr(&self, memory: &Memory) -> Object { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stack` [INFO] [stderr] --> src/machine.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | stack: Stack, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `capacity` [INFO] [stderr] --> src/memory.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn capacity(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `flip` [INFO] [stderr] --> src/memory.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn flip(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_car` [INFO] [stderr] --> src/memory.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn new_car(&self, i: usize) -> Object { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_cdr` [INFO] [stderr] --> src/memory.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn new_cdr(&self, i: usize) -> Object { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_syntax_tree_into_memeory_works` [INFO] [stderr] --> src/main.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn build_syntax_tree_into_memeory_works() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_register_contents_as_in_memory_works` [INFO] [stderr] --> src/main.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn set_register_contents_as_in_memory_works() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `str_to_exp_works` [INFO] [stderr] --> src/main.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | fn str_to_exp_works() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `BROKEN_HEART` should have a snake case name [INFO] [stderr] --> src/gc.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let BROKEN_HEART = Object::Symbol("broken_heart".to_string()); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `broken_heart` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 80 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/machine-0e29c276425c3161) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test gc::test::is_pair_works ... ok [INFO] [stdout] test infrastructure::test::stack_push_pop ... ok [INFO] [stdout] test infrastructure::test::register_set_works ... ok [INFO] [stdout] test parser::test::read_scheme_string_works ... ok [INFO] [stdout] test tpfordev::test::scheme_map_works ... ok [INFO] [stdout] test machine::test::set_register_contents_as_in_memory_works ... ok [INFO] [stdout] test parserfordev::test::str_to_exp_works ... ok [INFO] [stdout] test tpfordev::test::car_works ... ok [INFO] [stdout] test tpfordev::test::cdr_works ... ok [INFO] [stdout] test parser::test::tokenizer_works ... ok [INFO] [stdout] test infrastructure::test::get_list_from_memory_as_str_works ... ok [INFO] [stdout] test parser::test::read_scheme_quote_works ... ok [INFO] [stdout] test infrastructure::test::register_get_works ... ok [INFO] [stdout] test parser::test::is_end_with_double_quote_works ... ok [INFO] [stdout] test parser::test::build_syntax_tree_into_memeory_works ... ok [INFO] [stdout] test parserfordev::test::exp_to_str_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92ab078b5e81cf52a40b8f00bfc8801285c7ee162d5a1dda9a3d0aeaa177639a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ab078b5e81cf52a40b8f00bfc8801285c7ee162d5a1dda9a3d0aeaa177639a", kill_on_drop: false }` [INFO] [stdout] 92ab078b5e81cf52a40b8f00bfc8801285c7ee162d5a1dda9a3d0aeaa177639a