[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] 5e85efd7bfb10c53e487ec44e27aff814146d6e2 [INFO] checking zxqcs/rusmachine against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxqcs%2Frusmachine" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxqcs/rusmachine on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-10/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d6310260aaca3d95e2f5ebd93ae2508f5e9047f893657d01bd8903db2f73d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7d6310260aaca3d95e2f5ebd93ae2508f5e9047f893657d01bd8903db2f73d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d6310260aaca3d95e2f5ebd93ae2508f5e9047f893657d01bd8903db2f73d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d6310260aaca3d95e2f5ebd93ae2508f5e9047f893657d01bd8903db2f73d0", kill_on_drop: false }` [INFO] [stdout] c7d6310260aaca3d95e2f5ebd93ae2508f5e9047f893657d01bd8903db2f73d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87bff88a3ce63591b8df97288036fe0f2ebcbefcdd2aaac2b38ca106571d1c59 [INFO] running `Command { std: "docker" "start" "-a" "87bff88a3ce63591b8df97288036fe0f2ebcbefcdd2aaac2b38ca106571d1c59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/basic_machine.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/basic_machine.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Objects` [INFO] [stdout] --> src/representation.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | use super::type_system::{Objects, ListObject, Pairs}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/representation.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | for i in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/representation.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut item = ListObject { [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: variable does not need to be mutable [INFO] [stdout] --> src/representation.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut y = x.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasicMachine` [INFO] [stdout] --> src/basic_machine.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BasicMachine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_stack` [INFO] [stdout] --> src/basic_machine.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn initilize_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_registers` [INFO] [stdout] --> src/basic_machine.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn initilize_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize_instruction_seq` [INFO] [stdout] --> src/basic_machine.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn initialize_instruction_seq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_basic_machine` [INFO] [stdout] --> src/basic_machine.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn initilize_basic_machine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nummber` [INFO] [stdout] --> src/representation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Nummber(f32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/representation.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Integer(i32), [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:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Item` should have a snake case name [INFO] [stdout] --> src/representation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Item: Objects, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/representation.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Index: usize, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/representation.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | for i in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/representation.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut item = ListObject { [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: variable does not need to be mutable [INFO] [stdout] --> src/representation.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut y = x.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/infrastructure.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(s: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/infrastructure.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | 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:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn set(&mut self, val: Item) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/infrastructure.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasicMachine` [INFO] [stdout] --> src/basic_machine.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BasicMachine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_stack` [INFO] [stdout] --> src/basic_machine.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn initilize_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_registers` [INFO] [stdout] --> src/basic_machine.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn initilize_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize_instruction_seq` [INFO] [stdout] --> src/basic_machine.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn initialize_instruction_seq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initilize_basic_machine` [INFO] [stdout] --> src/basic_machine.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn initilize_basic_machine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nummber` [INFO] [stdout] --> src/representation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Nummber(f32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/representation.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Integer(i32), [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:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/representation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/representation.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pairs` [INFO] [stdout] --> src/representation.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Pairs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/representation.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Item` should have a snake case name [INFO] [stdout] --> src/representation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Item: Objects, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/representation.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Index: usize, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "87bff88a3ce63591b8df97288036fe0f2ebcbefcdd2aaac2b38ca106571d1c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bff88a3ce63591b8df97288036fe0f2ebcbefcdd2aaac2b38ca106571d1c59", kill_on_drop: false }` [INFO] [stdout] 87bff88a3ce63591b8df97288036fe0f2ebcbefcdd2aaac2b38ca106571d1c59