[INFO] cloning repository https://github.com/ZephOne/smart_rack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZephOne/smart_rack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZephOne%2Fsmart_rack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZephOne%2Fsmart_rack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ade1d57f076b313ff63ff4348da49ccab87be89 [INFO] building ZephOne/smart_rack against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZephOne%2Fsmart_rack" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZephOne/smart_rack on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZephOne/smart_rack [INFO] finished tweaking git repo https://github.com/ZephOne/smart_rack [INFO] tweaked toml for git repo https://github.com/ZephOne/smart_rack written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ZephOne/smart_rack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e74451c4c717d29416254272d43db8a30c9a9216327fda55ae937fc4ff5354 [INFO] running `Command { std: "docker" "start" "-a" "27e74451c4c717d29416254272d43db8a30c9a9216327fda55ae937fc4ff5354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e74451c4c717d29416254272d43db8a30c9a9216327fda55ae937fc4ff5354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e74451c4c717d29416254272d43db8a30c9a9216327fda55ae937fc4ff5354", kill_on_drop: false }` [INFO] [stdout] 27e74451c4c717d29416254272d43db8a30c9a9216327fda55ae937fc4ff5354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43a20dca15ac69773ab4410113e337f07b07665ea7a679d49c62850186a03df4 [INFO] running `Command { std: "docker" "start" "-a" "43a20dca15ac69773ab4410113e337f07b07665ea7a679d49c62850186a03df4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling glib v0.6.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.12 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling pango v0.5.0 [INFO] [stderr] Compiling hyper v0.12.16 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling smart_rack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> src/model.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gen_code` is never read [INFO] [stdout] --> src/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | gen_code: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderList` is never constructed [INFO] [stdout] --> src/model.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct OrderList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rack` is never constructed [INFO] [stdout] --> src/model.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rack { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set_items_to_pick(&mut self, items_to_pick: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_items_to_pick(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_picked` is never used [INFO] [stdout] --> src/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set_items_picked(&mut self, items_picked: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_picked` is never used [INFO] [stdout] --> src/model.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_items_picked(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_order_list` is never used [INFO] [stdout] --> src/model.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_order_list(&mut self, order_list: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn update(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_current_order` is never used [INFO] [stdout] --> src/model.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn set_current_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `state_changed` is never used [INFO] [stdout] --> src/model.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn state_changed(&mut self, item_number: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smart_rack::model` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use smart_rack::model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "43a20dca15ac69773ab4410113e337f07b07665ea7a679d49c62850186a03df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a20dca15ac69773ab4410113e337f07b07665ea7a679d49c62850186a03df4", kill_on_drop: false }` [INFO] [stdout] 43a20dca15ac69773ab4410113e337f07b07665ea7a679d49c62850186a03df4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d61982cd7402dea22c49836aadb08afec127c7d38ea55e8eacfae3d6304a78 [INFO] running `Command { std: "docker" "start" "-a" "a4d61982cd7402dea22c49836aadb08afec127c7d38ea55e8eacfae3d6304a78", kill_on_drop: false }` [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> src/model.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gen_code` is never read [INFO] [stdout] --> src/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | gen_code: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderList` is never constructed [INFO] [stdout] --> src/model.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct OrderList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rack` is never constructed [INFO] [stdout] --> src/model.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rack { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set_items_to_pick(&mut self, items_to_pick: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_items_to_pick(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_picked` is never used [INFO] [stdout] --> src/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set_items_picked(&mut self, items_picked: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_picked` is never used [INFO] [stdout] --> src/model.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_items_picked(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_order_list` is never used [INFO] [stdout] --> src/model.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_order_list(&mut self, order_list: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn update(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_current_order` is never used [INFO] [stdout] --> src/model.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn set_current_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `state_changed` is never used [INFO] [stdout] --> src/model.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn state_changed(&mut self, item_number: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smart_rack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `smart_rack::model` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use smart_rack::model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> src/model.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gen_code` is never read [INFO] [stdout] --> src/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | gen_code: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderList` is never constructed [INFO] [stdout] --> src/model.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct OrderList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rack` is never constructed [INFO] [stdout] --> src/model.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rack { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set_items_to_pick(&mut self, items_to_pick: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_to_pick` is never used [INFO] [stdout] --> src/model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_items_to_pick(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_items_picked` is never used [INFO] [stdout] --> src/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set_items_picked(&mut self, items_picked: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_items_picked` is never used [INFO] [stdout] --> src/model.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_items_picked(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_gen_code` is never used [INFO] [stdout] --> src/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_gen_code(&mut self, gen_code: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gen_code` is never used [INFO] [stdout] --> src/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_gen_code(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_order_list` is never used [INFO] [stdout] --> src/model.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_order_list(&mut self, order_list: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn update(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_current_order` is never used [INFO] [stdout] --> src/model.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn set_current_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `state_changed` is never used [INFO] [stdout] --> src/model.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn state_changed(&mut self, item_number: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "a4d61982cd7402dea22c49836aadb08afec127c7d38ea55e8eacfae3d6304a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d61982cd7402dea22c49836aadb08afec127c7d38ea55e8eacfae3d6304a78", kill_on_drop: false }` [INFO] [stdout] a4d61982cd7402dea22c49836aadb08afec127c7d38ea55e8eacfae3d6304a78