[INFO] cloning repository https://github.com/ausbin/smoky [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ausbin/smoky" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fausbin%2Fsmoky", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fausbin%2Fsmoky'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16f018fb379bf4ebc5bc17f0ae16fecee6de871d [INFO] building ausbin/smoky against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fausbin%2Fsmoky" "/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/ausbin/smoky on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ausbin/smoky [INFO] finished tweaking git repo https://github.com/ausbin/smoky [INFO] tweaked toml for git repo https://github.com/ausbin/smoky written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ausbin/smoky 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e53eed75f100170d696b32df953d62a5a79ab0909aa1ec36b97f7821d417911 [INFO] running `Command { std: "docker" "start" "-a" "5e53eed75f100170d696b32df953d62a5a79ab0909aa1ec36b97f7821d417911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e53eed75f100170d696b32df953d62a5a79ab0909aa1ec36b97f7821d417911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e53eed75f100170d696b32df953d62a5a79ab0909aa1ec36b97f7821d417911", kill_on_drop: false }` [INFO] [stdout] 5e53eed75f100170d696b32df953d62a5a79ab0909aa1ec36b97f7821d417911 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8402cccf1399e59ad4efabcb922b9ceaecd4d6dbd4d0aa9736d5c83652678b2f [INFO] running `Command { std: "docker" "start" "-a" "8402cccf1399e59ad4efabcb922b9ceaecd4d6dbd4d0aa9736d5c83652678b2f", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling smoky v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ERR` is never constructed [INFO] [stdout] --> sim/sim.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum WireValue { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | ERR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentRef` is never constructed [INFO] [stdout] --> sim/sim.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct ComponentRef(Rc); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pin` is never constructed [INFO] [stdout] --> sim/sim.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Pin(ComponentRef, usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Push` is never constructed [INFO] [stdout] --> sim/sim.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Push(usize, WireValue); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Net` is never constructed [INFO] [stdout] --> sim/sim.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct Net(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Netlist` is never constructed [INFO] [stdout] --> sim/sim.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Netlist { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Netlist { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimState` is never constructed [INFO] [stdout] --> sim/sim.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct SimState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl SimState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 91 | fn get(&self, pin: Pin) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentState` is never constructed [INFO] [stdout] --> sim/sim.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct ComponentState<'a>(Rc, &'a SimState); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl ComponentState<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 99 | fn get(&self, pin_idx: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simulator` is never constructed [INFO] [stdout] --> sim/sim.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Simulator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> sim/sim.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Simulator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 109 | fn new(netlist: Netlist) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> sim/sim.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Location(usize, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PinLoc` is never constructed [INFO] [stdout] --> sim/sim.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct PinLoc(usize, Location); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Component` is never used [INFO] [stdout] --> sim/sim.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | trait Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NAND` is never constructed [INFO] [stdout] --> sim/sim.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct NAND { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NANDPin` is never used [INFO] [stdout] --> sim/sim.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | enum NANDPin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl NAND { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 156 | fn new(loc: Location) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.02s [INFO] running `Command { std: "docker" "inspect" "8402cccf1399e59ad4efabcb922b9ceaecd4d6dbd4d0aa9736d5c83652678b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8402cccf1399e59ad4efabcb922b9ceaecd4d6dbd4d0aa9736d5c83652678b2f", kill_on_drop: false }` [INFO] [stdout] 8402cccf1399e59ad4efabcb922b9ceaecd4d6dbd4d0aa9736d5c83652678b2f [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae646b612a9e18e04f192d3d9af78e59f52b61c4e29be293ba44fd2ebc489e9a [INFO] running `Command { std: "docker" "start" "-a" "ae646b612a9e18e04f192d3d9af78e59f52b61c4e29be293ba44fd2ebc489e9a", kill_on_drop: false }` [INFO] [stdout] warning: variant `ERR` is never constructed [INFO] [stdout] --> sim/sim.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum WireValue { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | ERR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentRef` is never constructed [INFO] [stdout] --> sim/sim.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct ComponentRef(Rc); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pin` is never constructed [INFO] [stdout] --> sim/sim.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Pin(ComponentRef, usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Push` is never constructed [INFO] [stdout] --> sim/sim.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Push(usize, WireValue); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Net` is never constructed [INFO] [stdout] --> sim/sim.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct Net(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Netlist` is never constructed [INFO] [stdout] --> sim/sim.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Netlist { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Netlist { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimState` is never constructed [INFO] [stdout] --> sim/sim.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct SimState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl SimState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 91 | fn get(&self, pin: Pin) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentState` is never constructed [INFO] [stdout] --> sim/sim.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct ComponentState<'a>(Rc, &'a SimState); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl ComponentState<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 99 | fn get(&self, pin_idx: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simulator` is never constructed [INFO] [stdout] --> sim/sim.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Simulator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> sim/sim.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Simulator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 109 | fn new(netlist: Netlist) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> sim/sim.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Location(usize, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PinLoc` is never constructed [INFO] [stdout] --> sim/sim.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct PinLoc(usize, Location); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smoky v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Component` is never used [INFO] [stdout] --> sim/sim.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | trait Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NAND` is never constructed [INFO] [stdout] --> sim/sim.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct NAND { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NANDPin` is never used [INFO] [stdout] --> sim/sim.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | enum NANDPin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl NAND { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 156 | fn new(loc: Location) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ERR` is never constructed [INFO] [stdout] --> sim/sim.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum WireValue { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | ERR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentRef` is never constructed [INFO] [stdout] --> sim/sim.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct ComponentRef(Rc); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pin` is never constructed [INFO] [stdout] --> sim/sim.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Pin(ComponentRef, usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Push` is never constructed [INFO] [stdout] --> sim/sim.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Push(usize, WireValue); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Net` is never constructed [INFO] [stdout] --> sim/sim.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct Net(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Netlist` is never constructed [INFO] [stdout] --> sim/sim.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Netlist { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Netlist { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimState` is never constructed [INFO] [stdout] --> sim/sim.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct SimState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl SimState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 91 | fn get(&self, pin: Pin) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentState` is never constructed [INFO] [stdout] --> sim/sim.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct ComponentState<'a>(Rc, &'a SimState); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> sim/sim.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl ComponentState<'_> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 99 | fn get(&self, pin_idx: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simulator` is never constructed [INFO] [stdout] --> sim/sim.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Simulator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> sim/sim.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Simulator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 109 | fn new(netlist: Netlist) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> sim/sim.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Location(usize, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PinLoc` is never constructed [INFO] [stdout] --> sim/sim.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct PinLoc(usize, Location); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Component` is never used [INFO] [stdout] --> sim/sim.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | trait Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NAND` is never constructed [INFO] [stdout] --> sim/sim.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct NAND { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NANDPin` is never used [INFO] [stdout] --> sim/sim.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | enum NANDPin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sim/sim.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl NAND { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 156 | fn new(loc: Location) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "ae646b612a9e18e04f192d3d9af78e59f52b61c4e29be293ba44fd2ebc489e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae646b612a9e18e04f192d3d9af78e59f52b61c4e29be293ba44fd2ebc489e9a", kill_on_drop: false }` [INFO] [stdout] ae646b612a9e18e04f192d3d9af78e59f52b61c4e29be293ba44fd2ebc489e9a