[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] 73f0d55ec75d9df0ad19d90e58b2cc6b8ecccf63 [INFO] checking zxqcs/rusmachine against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxqcs%2Frusmachine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxqcs/rusmachine on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "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-3/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 394b60876516535929822d38f85ca37128439ea74baf938c59db0928ec4ae40c [INFO] running `Command { std: "docker" "start" "-a" "394b60876516535929822d38f85ca37128439ea74baf938c59db0928ec4ae40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394b60876516535929822d38f85ca37128439ea74baf938c59db0928ec4ae40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394b60876516535929822d38f85ca37128439ea74baf938c59db0928ec4ae40c", kill_on_drop: false }` [INFO] [stdout] 394b60876516535929822d38f85ca37128439ea74baf938c59db0928ec4ae40c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7815abf6aa06663028c706781399786a5893e99e5c3d7473f20672e231d7a27 [INFO] running `Command { std: "docker" "start" "-a" "a7815abf6aa06663028c706781399786a5893e99e5c3d7473f20672e231d7a27", kill_on_drop: false }` [INFO] [stderr] Checking machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/gc.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::register::{Item, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/memory.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::{self, write}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gc::garbage_collector::garbage_collector` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gc::garbage_collector::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory::Memory` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use memory::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/gc.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::register::{Item, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::garbage_collector` [INFO] [stdout] --> src/gc.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | use super::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/memory.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::{self, write}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gc::garbage_collector::garbage_collector` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gc::garbage_collector::garbage_collector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory::Memory` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use memory::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/gc.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut x = Item::Object(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:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | 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:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | 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: `i` [INFO] [stdout] --> src/memory.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | 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: `i` [INFO] [stdout] --> src/memory.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read(&self, i: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BROKEN_HEART` [INFO] [stdout] --> src/gc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | static BROKEN_HEART: Item = Item::Object(Object::Symbol("broken_heart")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `garbage_collector` [INFO] [stdout] --> src/gc.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn garbage_collector(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reassign_root` [INFO] [stdout] --> src/gc.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | 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:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | 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:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | 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:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | 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:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | 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:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_pair(old: &Item, memory: &Memory) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_car` [INFO] [stdout] --> src/gc.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | 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:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | 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:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | 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:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(s: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/infrastructure.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get(&self) -> &Item { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/infrastructure.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set(&mut self, val: Item) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_inner_object` [INFO] [stdout] --> src/infrastructure.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_inner_object(&self) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/infrastructure.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasicMachine` [INFO] [stdout] --> src/machine.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BasicMachine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_registers` [INFO] [stdout] --> src/machine.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | 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:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_contents` [INFO] [stdout] --> src/machine.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_register_contents(&self, name: &'static str) -> Option<&Item> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_inner_object` [INFO] [stdout] --> src/machine.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_register_inner_object(&self, name: &'static str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_register_contents` [INFO] [stdout] --> src/machine.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_register_contents(&mut self, name: &'static str, item: Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_from_one_register_to_another` [INFO] [stdout] --> src/machine.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assign_from_one_register_to_another( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_increment_by_one` [INFO] [stdout] --> src/machine.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn register_increment_by_one(&mut self, name: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/memory.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn update(&mut self, message: &'static str, item: Object, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/memory.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `car` [INFO] [stdout] --> src/memory.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn car(&self, i: usize) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cdr` [INFO] [stdout] --> src/memory.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_car` [INFO] [stdout] --> src/memory.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/memory.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read(&self, i: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/representation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Integer(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/representation.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Index(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Symbol` [INFO] [stdout] --> src/representation.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Symbol(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quote` [INFO] [stdout] --> src/representation.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Quote(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/representation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pair` [INFO] [stdout] --> src/representation.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Pair(Pair), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/representation.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/gc.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/gc.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut x = Item::Object(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:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | 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:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | 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: `i` [INFO] [stdout] --> src/memory.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | 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: `i` [INFO] [stdout] --> src/memory.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read(&self, i: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BROKEN_HEART` [INFO] [stdout] --> src/gc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | static BROKEN_HEART: Item = Item::Object(Object::Symbol("broken_heart")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `garbage_collector` [INFO] [stdout] --> src/gc.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn garbage_collector(machine: &mut BasicMachine, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reassign_root` [INFO] [stdout] --> src/gc.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | 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:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | 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:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | 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:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | 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:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | 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:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_pair(old: &Item, memory: &Memory) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_car` [INFO] [stdout] --> src/gc.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | 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:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | 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:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | 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:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn relocate_old_result_in_new_works() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_inner_object` [INFO] [stdout] --> src/infrastructure.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_inner_object(&self) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasicMachine` [INFO] [stdout] --> src/machine.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BasicMachine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_registers` [INFO] [stdout] --> src/machine.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | 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:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_contents` [INFO] [stdout] --> src/machine.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_register_contents(&self, name: &'static str) -> Option<&Item> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_inner_object` [INFO] [stdout] --> src/machine.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_register_inner_object(&self, name: &'static str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_register_contents` [INFO] [stdout] --> src/machine.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_register_contents(&mut self, name: &'static str, item: Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_from_one_register_to_another` [INFO] [stdout] --> src/machine.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assign_from_one_register_to_another( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_increment_by_one` [INFO] [stdout] --> src/machine.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn register_increment_by_one(&mut self, name: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/memory.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn update(&mut self, message: &'static str, item: Object, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/memory.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `car` [INFO] [stdout] --> src/memory.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn car(&self, i: usize) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cdr` [INFO] [stdout] --> src/memory.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_car` [INFO] [stdout] --> src/memory.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_cdr(&self, i: usize) -> Object { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/memory.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read(&self, i: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/representation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Integer(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/representation.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Index(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Symbol` [INFO] [stdout] --> src/representation.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Symbol(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/representation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pair` [INFO] [stdout] --> src/representation.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Pair(Pair), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/representation.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "a7815abf6aa06663028c706781399786a5893e99e5c3d7473f20672e231d7a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7815abf6aa06663028c706781399786a5893e99e5c3d7473f20672e231d7a27", kill_on_drop: false }` [INFO] [stdout] a7815abf6aa06663028c706781399786a5893e99e5c3d7473f20672e231d7a27