[INFO] cloning repository https://github.com/teivah/vega [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teivah/vega" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1890e5b4f7a3133461ff3bb544554fb88a691e0d [INFO] testing teivah/vega against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teivah/vega on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teivah/vega [INFO] finished tweaking git repo https://github.com/teivah/vega [INFO] tweaked toml for git repo https://github.com/teivah/vega written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/teivah/vega already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded queues v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e04c0dbc4fa8c9dfe0d3f9077864fcbe4c250a4c577d688e7350c971c80e8fe [INFO] running `Command { std: "docker" "start" "-a" "7e04c0dbc4fa8c9dfe0d3f9077864fcbe4c250a4c577d688e7350c971c80e8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e04c0dbc4fa8c9dfe0d3f9077864fcbe4c250a4c577d688e7350c971c80e8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e04c0dbc4fa8c9dfe0d3f9077864fcbe4c250a4c577d688e7350c971c80e8fe", kill_on_drop: false }` [INFO] [stdout] 7e04c0dbc4fa8c9dfe0d3f9077864fcbe4c250a4c577d688e7350c971c80e8fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304ab1eb759fc84c43325357e7b8a0d91ec7979c81c43d057aba689416c3787c [INFO] running `Command { std: "docker" "start" "-a" "304ab1eb759fc84c43325357e7b8a0d91ec7979c81c43d057aba689416c3787c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling enum-map v0.6.2 [INFO] [stderr] Compiling majorana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Once` [INFO] [stdout] --> src/mvm3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/opcodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/opcodes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CYCLES_L1_ACCESS` [INFO] [stdout] --> src/mvm3.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CYCLES_MEMORY_ACCESS` [INFO] [stdout] --> src/mvm3.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `L1I_CACHE_LINE` [INFO] [stdout] --> src/mvm3.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_CACHE_LINE: i32 = 64 * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mvm3` [INFO] [stdout] --> src/mvm3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mvm3<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max` [INFO] [stdout] --> src/mvm3.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | max: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn new(max: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/mvm3.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/mvm3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn add(&mut self, t: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/mvm3.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn get(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/mvm3.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn peek(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/mvm3.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/mvm3.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_element_in_buffer` [INFO] [stdout] --> src/mvm3.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn contains_element_in_buffer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_element_in_queue` [INFO] [stdout] --> src/mvm3.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn contains_element_in_queue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_element_in_entry` [INFO] [stdout] --> src/mvm3.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn contains_element_in_entry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/mvm3.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn connect(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/mvm3.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn run(&mut self, application: &'a Application) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/mvm3.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_complete` [INFO] [stdout] --> src/mvm3.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log` [INFO] [stdout] --> src/mvm3.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn log(&self, cycles: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `L1I` [INFO] [stdout] --> src/mvm3.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct L1I { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `present` [INFO] [stdout] --> src/mvm3.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn present(&self, pc: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/mvm3.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn fetch(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FetchUnit` [INFO] [stdout] --> src/mvm3.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct FetchUnit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/mvm3.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn cycle(&mut self, application: &Application, out_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/mvm3.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/mvm3.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DecodeUnit` [INFO] [stdout] --> src/mvm3.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | struct DecodeUnit {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/mvm3.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | fn cycle<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/mvm3.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | fn flush(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/mvm3.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ExecuteUnit` [INFO] [stdout] --> src/mvm3.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | struct ExecuteUnit<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `execution` [INFO] [stdout] --> src/mvm3.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | execution: Execution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExecutionContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mvm3.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_type` [INFO] [stdout] --> src/mvm3.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | instruction_type: InstructionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExecutionContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mvm3.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `write_registers` [INFO] [stdout] --> src/mvm3.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | write_registers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExecutionContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mvm3.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/mvm3.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn cycle( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/mvm3.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WriteUnit` [INFO] [stdout] --> src/mvm3.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | struct WriteUnit {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 417 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/mvm3.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | fn cycle(&mut self, ctx: &mut Context, write_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/mvm3.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BranchUnit` [INFO] [stdout] --> src/mvm3.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | struct BranchUnit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm3.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assert` [INFO] [stdout] --> src/mvm3.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn assert(&mut self, ctx: &mut Context, execute_bus: &mut Bus<&'a Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/mvm3.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | fn jump(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `conditional_branching` [INFO] [stdout] --> src/mvm3.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | fn conditional_branching(&mut self, expected: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pipeline_to_be_flushed` [INFO] [stdout] --> src/mvm3.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | fn pipeline_to_be_flushed(&mut self, ctx: &Context, write_bus: &Bus) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm1.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mvm2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/opcodes.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_write_registers` [INFO] [stdout] --> src/opcodes.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn add_write_registers(&mut self, registers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_write_registers` [INFO] [stdout] --> src/opcodes.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn delete_write_registers(&mut self, registers: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contain_written_registers` [INFO] [stdout] --> src/opcodes.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn contain_written_registers(&mut self, registers: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jump` [INFO] [stdout] --> src/opcodes.rs:1313:8 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn jump(instruction_type: &InstructionType) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conditional_branching` [INFO] [stdout] --> src/opcodes.rs:1320:8 [INFO] [stdout] | [INFO] [stdout] 1320 | pub fn conditional_branching(instruction_type: &InstructionType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Runner` [INFO] [stdout] --> src/opcodes.rs:1331:8 [INFO] [stdout] | [INFO] [stdout] 1331 | struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/opcodes.rs:1337:8 [INFO] [stdout] | [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/opcodes.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | fn run(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/parser.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse(s: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_args` [INFO] [stdout] --> src/parser.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn validate_args(expected: usize, args: &Vec<&str>, line: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_args_interval` [INFO] [stdout] --> src/parser.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn validate_args_interval( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `i32` [INFO] [stdout] --> src/parser.rs:375:4 [INFO] [stdout] | [INFO] [stdout] 375 | fn i32(s: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_offset_reg` [INFO] [stdout] --> src/parser.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn parse_offset_reg(s: String) -> Result<(i32, RegisterType), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_register` [INFO] [stdout] --> src/parser.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn parse_register(s: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.53s [INFO] running `Command { std: "docker" "inspect" "304ab1eb759fc84c43325357e7b8a0d91ec7979c81c43d057aba689416c3787c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304ab1eb759fc84c43325357e7b8a0d91ec7979c81c43d057aba689416c3787c", kill_on_drop: false }` [INFO] [stdout] 304ab1eb759fc84c43325357e7b8a0d91ec7979c81c43d057aba689416c3787c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b56183bdbc4cde6ef345dd1559cb09bdfad432e004d0aacc72929bb20bb8638a [INFO] running `Command { std: "docker" "start" "-a" "b56183bdbc4cde6ef345dd1559cb09bdfad432e004d0aacc72929bb20bb8638a", kill_on_drop: false }` [INFO] [stderr] Compiling majorana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/opcodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "b56183bdbc4cde6ef345dd1559cb09bdfad432e004d0aacc72929bb20bb8638a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56183bdbc4cde6ef345dd1559cb09bdfad432e004d0aacc72929bb20bb8638a", kill_on_drop: false }` [INFO] [stdout] b56183bdbc4cde6ef345dd1559cb09bdfad432e004d0aacc72929bb20bb8638a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee63cf97256d3fce14a89f69fa3bf2e44ff2ad990e1f1a2be88a93a051cd637a [INFO] running `Command { std: "docker" "start" "-a" "ee63cf97256d3fce14a89f69fa3bf2e44ff2ad990e1f1a2be88a93a051cd637a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `core::fmt` [INFO] [stderr] --> src/opcodes.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::fmt; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `majorana` (bin "majorana" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/majorana-613feb3380e99ec9) [INFO] [stdout] [INFO] [stdout] running 48 tests [INFO] [stdout] test mvm3::tests::test_pipelining_multiple ... ok [INFO] [stdout] test mvm3::tests::test_pipelining_jal ... ok [INFO] [stdout] test mvm3::tests::test_pipelining_conditional_branching_true ... ok [INFO] [stdout] test mvm3::tests::test_pipelining_simple ... ok [INFO] [stdout] test opcodes::tests::rem ... ok [INFO] [stdout] test mvm3::tests::test_pipelining_conditional_branching_false ... ok [INFO] [stdout] test opcodes::tests::test_add ... ok [INFO] [stdout] test opcodes::tests::test_addi ... ok [INFO] [stdout] test opcodes::tests::test_andi ... ok [INFO] [stdout] test opcodes::tests::test_and ... ok [INFO] [stdout] test mvm2::tests::test_prime_number ... ok [INFO] [stdout] test mvm1::tests::test_prime_number ... ok [INFO] [stdout] test opcodes::tests::test_auipc ... ok [INFO] [stdout] test opcodes::tests::test_beq ... ok [INFO] [stdout] test opcodes::tests::test_bge ... ok [INFO] [stdout] test opcodes::tests::test_blt ... ok [INFO] [stdout] test opcodes::tests::test_bgeu ... ok [INFO] [stdout] test opcodes::tests::test_bltu ... ok [INFO] [stdout] test opcodes::tests::test_bne ... ok [INFO] [stdout] test opcodes::tests::test_div ... ok [INFO] [stdout] test opcodes::tests::test_jalr ... ok [INFO] [stdout] test opcodes::tests::test_jal ... ok [INFO] [stdout] test opcodes::tests::test_lui ... ok [INFO] [stdout] test opcodes::tests::test_mul ... ok [INFO] [stdout] test opcodes::tests::test_ori ... ok [INFO] [stdout] test opcodes::tests::test_or ... ok [INFO] [stdout] test opcodes::tests::test_sb_lb ... ok [INFO] [stdout] test opcodes::tests::test_prime_number ... ok [INFO] [stdout] test opcodes::tests::test_sh_lh ... ok [INFO] [stdout] test opcodes::tests::test_sll ... ok [INFO] [stdout] test opcodes::tests::test_sltu ... ok [INFO] [stdout] test opcodes::tests::test_slli ... ok [INFO] [stdout] test opcodes::tests::test_slti ... ok [INFO] [stdout] test opcodes::tests::test_srai ... ok [INFO] [stdout] test opcodes::tests::test_slt ... ok [INFO] [stdout] test opcodes::tests::test_sra ... ok [INFO] [stdout] test opcodes::tests::test_srli ... ok [INFO] [stdout] test opcodes::tests::test_srl ... ok [INFO] [stdout] test opcodes::tests::test_xor ... ok [INFO] [stdout] test opcodes::tests::test_sub ... ok [INFO] [stdout] test opcodes::tests::test_sw_lw ... ok [INFO] [stdout] test opcodes::tests::test_xori ... ok [INFO] [stdout] test opcodes::tests::test_zero ... ok [INFO] [stdout] test tests::test_mvm2_prime_number ... ok [INFO] [stdout] test tests::test_mvm1_prime_number ... ok [INFO] [stdout] test mvm3::tests::test_prime_number_1109 ... ok [INFO] [stdout] test mvm3::tests::test_prime_number ... ok [INFO] [stdout] test tests::test_mvm3_prime_number ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 48 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee63cf97256d3fce14a89f69fa3bf2e44ff2ad990e1f1a2be88a93a051cd637a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee63cf97256d3fce14a89f69fa3bf2e44ff2ad990e1f1a2be88a93a051cd637a", kill_on_drop: false }` [INFO] [stdout] ee63cf97256d3fce14a89f69fa3bf2e44ff2ad990e1f1a2be88a93a051cd637a