[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] 292d45b446d4fe1aa96dc6b16593f007948a7a89 [INFO] checking teivah/vega against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teivah/vega on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded enum-map-derive v0.4.3 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded enum-map v0.6.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e2b6c26897e860c978e9e7d12049743e7b762bea8f3c40a262f799b9baf905c [INFO] running `Command { std: "docker" "start" "-a" "1e2b6c26897e860c978e9e7d12049743e7b762bea8f3c40a262f799b9baf905c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2b6c26897e860c978e9e7d12049743e7b762bea8f3c40a262f799b9baf905c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2b6c26897e860c978e9e7d12049743e7b762bea8f3c40a262f799b9baf905c", kill_on_drop: false }` [INFO] [stdout] 1e2b6c26897e860c978e9e7d12049743e7b762bea8f3c40a262f799b9baf905c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14f871faafc72aa1bdf37fdd98648c5bb899efc62fbd58cc7912a07df5a6112a [INFO] running `Command { std: "docker" "start" "-a" "14f871faafc72aa1bdf37fdd98648c5bb899efc62fbd58cc7912a07df5a6112a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking 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: 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: trait `VirtualMachine` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait VirtualMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_L1_ACCESS` is never used [INFO] [stdout] --> src/mvm3.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm3.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `L1I_CACHE_LINE` is never used [INFO] [stdout] --> src/mvm3.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_CACHE_LINE: i32 = 64 * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm3` is never constructed [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 `max` is never read [INFO] [stdout] --> src/mvm3.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | max: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mvm3.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Bus { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | fn new(max: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn add(&mut self, t: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn peek(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn contains_element_in_buffer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn contains_element_in_queue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn contains_element_in_entry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn connect(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `flush`, and `is_complete` are never used [INFO] [stdout] --> src/mvm3.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> Mvm3<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 114 | pub fn run(&mut self, application: &'a Application) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log` are never used [INFO] [stdout] --> src/mvm3.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> Mvm3<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 193 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn log(&self, cycles: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `L1I` is never constructed [INFO] [stdout] --> src/mvm3.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct L1I { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `present` and `fetch` are never used [INFO] [stdout] --> src/mvm3.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl L1I { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 230 | fn present(&self, pc: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn fetch(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FetchUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct FetchUnit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, `flush`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl FetchUnit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 248 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn cycle(&mut self, application: &Application, out_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodeUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | struct DecodeUnit {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, `flush`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 304 | impl DecodeUnit { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 305 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn cycle<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn flush(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 324 | [INFO] [stdout] 325 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | struct ExecuteUnit<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionContext` is never constructed [INFO] [stdout] --> src/mvm3.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | struct ExecutionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 344 | impl<'a> ExecuteUnit<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 345 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn cycle( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | struct WriteUnit {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl WriteUnit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 417 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn cycle(&mut self, ctx: &mut Context, write_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | struct BranchUnit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `assert`, `jump`, `conditional_branching`, and `pipeline_to_be_flushed` are never used [INFO] [stdout] --> src/mvm3.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a> BranchUnit { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 449 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | fn assert(&mut self, ctx: &mut Context, execute_bus: &mut Bus<&'a Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn jump(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn conditional_branching(&mut self, expected: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_MEMORY_ACCESS: f32 = 50.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm1.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm1` is never constructed [INFO] [stdout] --> src/mvm1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mvm1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_instruction`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm1.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mvm1 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_L1_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm2.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `L1I_SIZE` is never used [INFO] [stdout] --> src/mvm2.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_SIZE: i32 = 64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm2` is never constructed [INFO] [stdout] --> src/mvm2.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mvm2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_instruction`, `present_in_l1i`, `fetch_l1i`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mvm2 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn present_in_l1i(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn fetch_l1i(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Application` is never constructed [INFO] [stdout] --> src/opcodes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Application { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_registers` is never read [INFO] [stdout] --> src/opcodes.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub registers: EnumMap, [INFO] [stdout] 15 | pub read_registers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `add_write_registers`, `delete_write_registers`, and `contain_written_registers` are never used [INFO] [stdout] --> src/opcodes.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write(&mut self, execution: &Execution) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_write_registers(&mut self, registers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn delete_write_registers(&mut self, registers: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn contain_written_registers(&mut self, registers: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `register`, `value`, and `pc` are never read [INFO] [stdout] --> src/opcodes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Execution { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub register: RegisterType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub pc: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Execution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `instruction_type`, `read_registers`, and `write_registers` are never used [INFO] [stdout] --> src/opcodes.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait InstructionRunner { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 82 | fn run(&self, ctx: &mut Context, labels: &HashMap) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | fn instruction_type(&self) -> InstructionType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | fn read_registers(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 85 | fn write_registers(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cycles_per_instruction` is never used [INFO] [stdout] --> src/opcodes.rs:1263:8 [INFO] [stdout] | [INFO] [stdout] 1263 | pub fn cycles_per_instruction(instruction_type: InstructionType) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_back` is never used [INFO] [stdout] --> src/opcodes.rs:1306:8 [INFO] [stdout] | [INFO] [stdout] 1306 | pub fn write_back(instruction_type: &InstructionType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump` is never used [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 `conditional_branching` is never used [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 `Runner` is never constructed [INFO] [stdout] --> src/opcodes.rs:1331:8 [INFO] [stdout] | [INFO] [stdout] 1331 | struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/opcodes.rs:1337:8 [INFO] [stdout] | [INFO] [stdout] 1336 | impl Runner { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1344 | fn run(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [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 `validate_args` is never used [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 `validate_args_interval` is never used [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 `i32` is never used [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 `parse_offset_reg` is never used [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 `parse_register` is never used [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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 556 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 572 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm1.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 119 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm2.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 137 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1406:26 [INFO] [stdout] | [INFO] [stdout] 1406 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1407 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1419 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 65 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 79 | | .borrow() [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "14f871faafc72aa1bdf37fdd98648c5bb899efc62fbd58cc7912a07df5a6112a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f871faafc72aa1bdf37fdd98648c5bb899efc62fbd58cc7912a07df5a6112a", kill_on_drop: false }` [INFO] [stdout] 14f871faafc72aa1bdf37fdd98648c5bb899efc62fbd58cc7912a07df5a6112a [INFO] checking teivah/vega against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teivah/vega on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38536fb2f72414809e85facecc7d5a908b65d9df4d4b61019762561afa7c36c4 [INFO] running `Command { std: "docker" "start" "-a" "38536fb2f72414809e85facecc7d5a908b65d9df4d4b61019762561afa7c36c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38536fb2f72414809e85facecc7d5a908b65d9df4d4b61019762561afa7c36c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38536fb2f72414809e85facecc7d5a908b65d9df4d4b61019762561afa7c36c4", kill_on_drop: false }` [INFO] [stdout] 38536fb2f72414809e85facecc7d5a908b65d9df4d4b61019762561afa7c36c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4903fbdec5a5cad0155396ee01b29ad83790b4fc68ed9011bf70190e0396d408 [INFO] running `Command { std: "docker" "start" "-a" "4903fbdec5a5cad0155396ee01b29ad83790b4fc68ed9011bf70190e0396d408", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking 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: 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: trait `VirtualMachine` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait VirtualMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_L1_ACCESS` is never used [INFO] [stdout] --> src/mvm3.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm3.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `L1I_CACHE_LINE` is never used [INFO] [stdout] --> src/mvm3.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_CACHE_LINE: i32 = 64 * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm3` is never constructed [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 `max` is never read [INFO] [stdout] --> src/mvm3.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | max: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mvm3.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Bus { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | fn new(max: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn add(&mut self, t: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn peek(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn contains_element_in_buffer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn contains_element_in_queue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn contains_element_in_entry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn connect(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `flush`, and `is_complete` are never used [INFO] [stdout] --> src/mvm3.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> Mvm3<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 114 | pub fn run(&mut self, application: &'a Application) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log` are never used [INFO] [stdout] --> src/mvm3.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> Mvm3<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 193 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn log(&self, cycles: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `L1I` is never constructed [INFO] [stdout] --> src/mvm3.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct L1I { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `present` and `fetch` are never used [INFO] [stdout] --> src/mvm3.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl L1I { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 230 | fn present(&self, pc: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn fetch(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FetchUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct FetchUnit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, `flush`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl FetchUnit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 248 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn cycle(&mut self, application: &Application, out_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn flush(&mut self, pc: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodeUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | struct DecodeUnit {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, `flush`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 304 | impl DecodeUnit { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 305 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn cycle<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn flush(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 324 | [INFO] [stdout] 325 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | struct ExecuteUnit<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionContext` is never constructed [INFO] [stdout] --> src/mvm3.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | struct ExecutionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 344 | impl<'a> ExecuteUnit<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 345 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn cycle( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | struct WriteUnit {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cycle`, and `is_empty` are never used [INFO] [stdout] --> src/mvm3.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl WriteUnit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 417 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn cycle(&mut self, ctx: &mut Context, write_bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchUnit` is never constructed [INFO] [stdout] --> src/mvm3.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | struct BranchUnit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `assert`, `jump`, `conditional_branching`, and `pipeline_to_be_flushed` are never used [INFO] [stdout] --> src/mvm3.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a> BranchUnit { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 449 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | fn assert(&mut self, ctx: &mut Context, execute_bus: &mut Bus<&'a Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn jump(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn conditional_branching(&mut self, expected: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_MEMORY_ACCESS: f32 = 50.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm1.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm1` is never constructed [INFO] [stdout] --> src/mvm1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mvm1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_instruction`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm1.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mvm1 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_L1_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm2.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `L1I_SIZE` is never used [INFO] [stdout] --> src/mvm2.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_SIZE: i32 = 64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mvm2` is never constructed [INFO] [stdout] --> src/mvm2.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mvm2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_instruction`, `present_in_l1i`, `fetch_l1i`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mvm2 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn present_in_l1i(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn fetch_l1i(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Application` is never constructed [INFO] [stdout] --> src/opcodes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Application { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_registers` is never read [INFO] [stdout] --> src/opcodes.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub registers: EnumMap, [INFO] [stdout] 15 | pub read_registers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `add_write_registers`, `delete_write_registers`, and `contain_written_registers` are never used [INFO] [stdout] --> src/opcodes.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new(memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write(&mut self, execution: &Execution) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_write_registers(&mut self, registers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn delete_write_registers(&mut self, registers: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn contain_written_registers(&mut self, registers: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `register`, `value`, and `pc` are never read [INFO] [stdout] --> src/opcodes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Execution { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub register: RegisterType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub pc: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Execution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `instruction_type`, `read_registers`, and `write_registers` are never used [INFO] [stdout] --> src/opcodes.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait InstructionRunner { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 82 | fn run(&self, ctx: &mut Context, labels: &HashMap) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | fn instruction_type(&self) -> InstructionType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | fn read_registers(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 85 | fn write_registers(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cycles_per_instruction` is never used [INFO] [stdout] --> src/opcodes.rs:1263:8 [INFO] [stdout] | [INFO] [stdout] 1263 | pub fn cycles_per_instruction(instruction_type: InstructionType) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_back` is never used [INFO] [stdout] --> src/opcodes.rs:1306:8 [INFO] [stdout] | [INFO] [stdout] 1306 | pub fn write_back(instruction_type: &InstructionType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump` is never used [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 `conditional_branching` is never used [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 `Runner` is never constructed [INFO] [stdout] --> src/opcodes.rs:1331:8 [INFO] [stdout] | [INFO] [stdout] 1331 | struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/opcodes.rs:1337:8 [INFO] [stdout] | [INFO] [stdout] 1336 | impl Runner { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1344 | fn run(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [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 `validate_args` is never used [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 `validate_args_interval` is never used [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 `i32` is never used [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 `parse_offset_reg` is never used [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 `parse_register` is never used [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/opcodes.rs:1339:18 [INFO] [stdout] | [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1338 | Runner { [INFO] [stdout] 1339 | ctx: Context::new(memory_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `majorana` (bin "majorana") due to 2 previous errors; 60 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 556 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 572 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm1.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 119 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm2.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 137 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/opcodes.rs:1339:18 [INFO] [stdout] | [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1338 | Runner { [INFO] [stdout] 1339 | ctx: Context::new(memory_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1406:26 [INFO] [stdout] | [INFO] [stdout] 1406 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1407 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1419 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 65 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 79 | | .borrow() [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `majorana` (bin "majorana" test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4903fbdec5a5cad0155396ee01b29ad83790b4fc68ed9011bf70190e0396d408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4903fbdec5a5cad0155396ee01b29ad83790b4fc68ed9011bf70190e0396d408", kill_on_drop: false }` [INFO] [stdout] 4903fbdec5a5cad0155396ee01b29ad83790b4fc68ed9011bf70190e0396d408