[INFO] updating cached repository https://github.com/rjacobs31/algebra-against-humanity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92cdc236f29762df7163ee45eec497cc40ed854f [INFO] testing rjacobs31/algebra-against-humanity against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falgebra-against-humanity" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjacobs31/algebra-against-humanity on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjacobs31/algebra-against-humanity [INFO] finished tweaking git repo https://github.com/rjacobs31/algebra-against-humanity [INFO] tweaked toml for git repo https://github.com/rjacobs31/algebra-against-humanity written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/rjacobs31/algebra-against-humanity already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 797c1ccb5fca44f4a289e44b084e89a0dbb2667607981b6868d99bb26d32fa4e [INFO] running `Command { std: "docker" "start" "-a" "797c1ccb5fca44f4a289e44b084e89a0dbb2667607981b6868d99bb26d32fa4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "797c1ccb5fca44f4a289e44b084e89a0dbb2667607981b6868d99bb26d32fa4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797c1ccb5fca44f4a289e44b084e89a0dbb2667607981b6868d99bb26d32fa4e", kill_on_drop: false }` [INFO] [stdout] 797c1ccb5fca44f4a289e44b084e89a0dbb2667607981b6868d99bb26d32fa4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd9db4310a1c44b055839431d0f37788990495838a2d730459c68b2bc505051 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5cd9db4310a1c44b055839431d0f37788990495838a2d730459c68b2bc505051", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling arc-swap v0.3.7 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling v_escape v0.3.2 [INFO] [stderr] Compiling v_htmlescape v0.3.2 [INFO] [stderr] Compiling actix-web v0.7.18 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling tokio-sync v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling signal-hook v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling algebra-against-humanity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Hand` [INFO] [stdout] --> src/game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Hand { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/game.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gain_card` [INFO] [stdout] --> src/game.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn gain_card(&mut self, card: AnswerCard) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_card` [INFO] [stdout] --> src/game.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn remove_card(&mut self, card_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_card` [INFO] [stdout] --> src/game.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn play_card(&mut self, card_id: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_in_play` [INFO] [stdout] --> src/game.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn remove_in_play(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deck` [INFO] [stdout] --> src/game.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | deck: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discard_pile` [INFO] [stdout] --> src/game.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | discard_pile: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/game.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn init(&mut self, iter: I) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_only` [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn draw_only(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/game.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn draw(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard` [INFO] [stdout] --> src/game.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn discard(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `QuestionDeck` [INFO] [stdout] --> src/game.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | type QuestionDeck = Deck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnswerDeck` [INFO] [stdout] --> src/game.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | type AnswerDeck = Deck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Game` [INFO] [stdout] --> src/game.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn start(&mut self, questions: IQ, answers: IA) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_discard` [INFO] [stdout] --> src/game.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn player_discard(&mut self, player_id: usize, card_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_draw` [INFO] [stdout] --> src/game.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn player_draw(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard_in_play` [INFO] [stdout] --> src/game.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn discard_in_play(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_question` [INFO] [stdout] --> src/game.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn next_question(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "5cd9db4310a1c44b055839431d0f37788990495838a2d730459c68b2bc505051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd9db4310a1c44b055839431d0f37788990495838a2d730459c68b2bc505051", kill_on_drop: false }` [INFO] [stdout] 5cd9db4310a1c44b055839431d0f37788990495838a2d730459c68b2bc505051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7219051fbadf655df3193e4c4d474069baa5bbaf74d3337cd1cea4e3896aa8b [INFO] running `Command { std: "docker" "start" "-a" "f7219051fbadf655df3193e4c4d474069baa5bbaf74d3337cd1cea4e3896aa8b", kill_on_drop: false }` [INFO] [stderr] Compiling algebra-against-humanity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Hand` [INFO] [stdout] --> src/game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Hand { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/game.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gain_card` [INFO] [stdout] --> src/game.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn gain_card(&mut self, card: AnswerCard) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_card` [INFO] [stdout] --> src/game.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn remove_card(&mut self, card_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_card` [INFO] [stdout] --> src/game.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn play_card(&mut self, card_id: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_in_play` [INFO] [stdout] --> src/game.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn remove_in_play(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deck` [INFO] [stdout] --> src/game.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | deck: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discard_pile` [INFO] [stdout] --> src/game.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | discard_pile: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/game.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn init(&mut self, iter: I) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_only` [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn draw_only(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/game.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn draw(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard` [INFO] [stdout] --> src/game.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn discard(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `QuestionDeck` [INFO] [stdout] --> src/game.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | type QuestionDeck = Deck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnswerDeck` [INFO] [stdout] --> src/game.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | type AnswerDeck = Deck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Game` [INFO] [stdout] --> src/game.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn start(&mut self, questions: IQ, answers: IA) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_discard` [INFO] [stdout] --> src/game.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn player_discard(&mut self, player_id: usize, card_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_draw` [INFO] [stdout] --> src/game.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn player_draw(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard_in_play` [INFO] [stdout] --> src/game.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn discard_in_play(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_question` [INFO] [stdout] --> src/game.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn next_question(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "f7219051fbadf655df3193e4c4d474069baa5bbaf74d3337cd1cea4e3896aa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7219051fbadf655df3193e4c4d474069baa5bbaf74d3337cd1cea4e3896aa8b", kill_on_drop: false }` [INFO] [stdout] f7219051fbadf655df3193e4c4d474069baa5bbaf74d3337cd1cea4e3896aa8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efd0ff88205c16a86bd9dd06b956d28a59ba921e0942044e30177cbd65d618be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efd0ff88205c16a86bd9dd06b956d28a59ba921e0942044e30177cbd65d618be", kill_on_drop: false }` [INFO] [stderr] warning: struct is never constructed: `Hand` [INFO] [stderr] --> src/game.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Hand { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `count` [INFO] [stderr] --> src/game.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn count(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `gain_card` [INFO] [stderr] --> src/game.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | fn gain_card(&mut self, card: AnswerCard) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_card` [INFO] [stderr] --> src/game.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn remove_card(&mut self, card_id: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `play_card` [INFO] [stderr] --> src/game.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | fn play_card(&mut self, card_id: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_in_play` [INFO] [stderr] --> src/game.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn remove_in_play(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `deck` [INFO] [stderr] --> src/game.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | deck: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `discard_pile` [INFO] [stderr] --> src/game.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | discard_pile: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `init` [INFO] [stderr] --> src/game.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | fn init(&mut self, iter: I) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `draw_only` [INFO] [stderr] --> src/game.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | fn draw_only(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `draw` [INFO] [stderr] --> src/game.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | fn draw(&mut self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `discard` [INFO] [stderr] --> src/game.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | fn discard(&mut self, item: T) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `QuestionDeck` [INFO] [stderr] --> src/game.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | type QuestionDeck = Deck; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `AnswerDeck` [INFO] [stderr] --> src/game.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | type AnswerDeck = Deck; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Game` [INFO] [stderr] --> src/game.rs:116:8 [INFO] [stderr] | [INFO] [stderr] 116 | struct Game { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `start` [INFO] [stderr] --> src/game.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | fn start(&mut self, questions: IQ, answers: IA) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `player_discard` [INFO] [stderr] --> src/game.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | fn player_discard(&mut self, player_id: usize, card_id: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `player_draw` [INFO] [stderr] --> src/game.rs:145:8 [INFO] [stderr] | [INFO] [stderr] 145 | fn player_draw(&mut self, player_id: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `discard_in_play` [INFO] [stderr] --> src/game.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | fn discard_in_play(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_question` [INFO] [stderr] --> src/game.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 163 | fn next_question(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/algebra_against_humanity-956880574db980ac [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "efd0ff88205c16a86bd9dd06b956d28a59ba921e0942044e30177cbd65d618be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd0ff88205c16a86bd9dd06b956d28a59ba921e0942044e30177cbd65d618be", kill_on_drop: false }` [INFO] [stdout] efd0ff88205c16a86bd9dd06b956d28a59ba921e0942044e30177cbd65d618be