[INFO] cloning repository https://github.com/chengxiaohei/CCRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chengxiaohei/CCRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchengxiaohei%2FCCRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchengxiaohei%2FCCRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b25af0769c8dd13b35dc9cbf57a15145f4b555dd [INFO] checking chengxiaohei/CCRust against master#453ceafce32ef8108c604bca5e165ab41d3d6d8c for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchengxiaohei%2FCCRust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chengxiaohei/CCRust on toolchain 453ceafce32ef8108c604bca5e165ab41d3d6d8c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] finished tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] tweaked toml for git repo https://github.com/chengxiaohei/CCRust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chengxiaohei/CCRust 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" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking chengxiaohei/CCRust against try#773c42f0166e62a538b8fa36161b0c6df69a9640 for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchengxiaohei%2FCCRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chengxiaohei/CCRust on toolchain 773c42f0166e62a538b8fa36161b0c6df69a9640 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] finished tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] tweaked toml for git repo https://github.com/chengxiaohei/CCRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chengxiaohei/CCRust 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" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking chengxiaohei/CCRust against try#773c42f0166e62a538b8fa36161b0c6df69a9640 for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchengxiaohei%2FCCRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chengxiaohei/CCRust on toolchain 773c42f0166e62a538b8fa36161b0c6df69a9640 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] finished tweaking git repo https://github.com/chengxiaohei/CCRust [INFO] tweaked toml for git repo https://github.com/chengxiaohei/CCRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chengxiaohei/CCRust 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" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7065d6faa556dda62ac2b961a0941d7d772ec71185081ef3e808116eeb69e08 [INFO] running `Command { std: "docker" "start" "-a" "f7065d6faa556dda62ac2b961a0941d7d772ec71185081ef3e808116eeb69e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7065d6faa556dda62ac2b961a0941d7d772ec71185081ef3e808116eeb69e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7065d6faa556dda62ac2b961a0941d7d772ec71185081ef3e808116eeb69e08", kill_on_drop: false }` [INFO] [stdout] f7065d6faa556dda62ac2b961a0941d7d772ec71185081ef3e808116eeb69e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 410e400bc35be24e03748cef9ee963fcb9ff06036a143b33d8d588b7493307e0 [INFO] running `Command { std: "docker" "start" "-a" "410e400bc35be24e03748cef9ee963fcb9ff06036a143b33d8d588b7493307e0", kill_on_drop: false }` [INFO] [stderr] Checking ccrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::common::Endian` [INFO] [stdout] --> src/memory/memory3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::Endian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::memory3::Memory` [INFO] [stdout] --> src/cpu/cpu1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::memory::memory3::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory3::Memory` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use memory::memory3::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::cpu1::Cpu` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cpu::cpu1::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::Endian` [INFO] [stdout] --> src/memory/memory3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::Endian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::Endian` [INFO] [stdout] --> src/memory/memory3.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use crate::common::Endian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::memory3::Memory` [INFO] [stdout] --> src/cpu/cpu1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::memory::memory3::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory3::Memory` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use memory::memory3::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::cpu1::Cpu` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cpu::cpu1::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/memory3.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(size: usize, init_val: u8) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BigEndian` is never constructed [INFO] [stdout] --> src/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Endian { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 2 | SmallEndian, [INFO] [stdout] 3 | BigEndian [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu/cpu1.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modified`, `exclusived`, `shared`, and `invalid` are never read [INFO] [stdout] --> src/cache/cache1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct CacheState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | modified: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | exclusived: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | shared: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | invalid: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `state`, `byte_num`, and `bytes` are never read [INFO] [stdout] --> src/cache/cache1.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CacheLine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | state: CacheState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | byte_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache1.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl CacheLine { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | fn new(index: usize, state: CacheState, word_num: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_num`, `lines`, and `total_size` are never read [INFO] [stdout] --> src/cache/cache1.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | total_size: usize [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache1.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cache { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 43 | pub fn new(line_num: usize, words_per_line: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Level2` and `Level3` are never constructed [INFO] [stdout] --> src/cache/cache2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CacheLevel { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 3 | Level1, [INFO] [stdout] 4 | Level2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Level3 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ICache` is never constructed [INFO] [stdout] --> src/cache/cache2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum CacheType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | ICache, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level`, `type_`, `size`, `line_count`, and `set_count` are never read [INFO] [stdout] --> src/cache/cache2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | level: CacheLevel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | type_: CacheType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | size: usize, /* byte */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | line_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | set_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Cache { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(level: CacheLevel, type_: CacheType, size: usize, line_count: usize, set_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_id`, `bit_width`, `reg_num`, `icache`, and `dcache` are never read [INFO] [stdout] --> src/core/core1.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Core { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | core_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | bit_width: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | reg_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub regs: Vec, [INFO] [stdout] 11 | icache: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | dcache: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BigEndian` is never constructed [INFO] [stdout] --> src/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Endian { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 2 | SmallEndian, [INFO] [stdout] 3 | BigEndian [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu/cpu1.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modified`, `exclusived`, `shared`, and `invalid` are never read [INFO] [stdout] --> src/cache/cache1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct CacheState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | modified: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | exclusived: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | shared: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | invalid: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `state`, `byte_num`, and `bytes` are never read [INFO] [stdout] --> src/cache/cache1.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CacheLine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | state: CacheState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | byte_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache1.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl CacheLine { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | fn new(index: usize, state: CacheState, word_num: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_num`, `lines`, and `total_size` are never read [INFO] [stdout] --> src/cache/cache1.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | total_size: usize [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache1.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cache { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 43 | pub fn new(line_num: usize, words_per_line: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Level2` and `Level3` are never constructed [INFO] [stdout] --> src/cache/cache2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CacheLevel { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 3 | Level1, [INFO] [stdout] 4 | Level2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Level3 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ICache` is never constructed [INFO] [stdout] --> src/cache/cache2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum CacheType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | ICache, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level`, `type_`, `size`, `line_count`, and `set_count` are never read [INFO] [stdout] --> src/cache/cache2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | level: CacheLevel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | type_: CacheType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | size: usize, /* byte */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | line_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | set_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache/cache2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Cache { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(level: CacheLevel, type_: CacheType, size: usize, line_count: usize, set_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_id`, `bit_width`, `reg_num`, `icache`, and `dcache` are never read [INFO] [stdout] --> src/core/core1.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Core { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | core_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | bit_width: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | reg_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub regs: Vec, [INFO] [stdout] 11 | icache: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | dcache: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "410e400bc35be24e03748cef9ee963fcb9ff06036a143b33d8d588b7493307e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410e400bc35be24e03748cef9ee963fcb9ff06036a143b33d8d588b7493307e0", kill_on_drop: false }` [INFO] [stdout] 410e400bc35be24e03748cef9ee963fcb9ff06036a143b33d8d588b7493307e0