[INFO] cloning repository https://github.com/tecywiz121/earworm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tecywiz121/earworm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecywiz121%2Fearworm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecywiz121%2Fearworm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9ff760462f2f1ee153815c66ab438240596fd53 [INFO] testing tecywiz121/earworm against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecywiz121%2Fearworm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tecywiz121/earworm [INFO] finished tweaking git repo https://github.com/tecywiz121/earworm [INFO] tweaked toml for git repo https://github.com/tecywiz121/earworm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tecywiz121/earworm on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tecywiz121/earworm 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_builder v0.7.1 [INFO] [stderr] Downloaded derive_builder_core v0.4.1 [INFO] [stderr] Downloaded id3 v0.3.0 [INFO] [stderr] Downloaded slog v2.4.1 [INFO] [stderr] Downloaded snafu v0.2.3 [INFO] [stderr] Downloaded snafu-derive v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76da2663fd4ef0ba5aa6ac3c6c5a076de8adbf5743ff21886c19fd80229fe42b [INFO] running `Command { std: "docker" "start" "-a" "76da2663fd4ef0ba5aa6ac3c6c5a076de8adbf5743ff21886c19fd80229fe42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76da2663fd4ef0ba5aa6ac3c6c5a076de8adbf5743ff21886c19fd80229fe42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76da2663fd4ef0ba5aa6ac3c6c5a076de8adbf5743ff21886c19fd80229fe42b", kill_on_drop: false }` [INFO] [stdout] 76da2663fd4ef0ba5aa6ac3c6c5a076de8adbf5743ff21886c19fd80229fe42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86f4019fee2d82f23c9761937fb0117d4eeb3ef9a874a9c993ba5d336c331a65 [INFO] running `Command { std: "docker" "start" "-a" "86f4019fee2d82f23c9761937fb0117d4eeb3ef9a874a9c993ba5d336c331a65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling glib-sys v0.8.0 [INFO] [stderr] Compiling gobject-sys v0.8.0 [INFO] [stderr] Compiling gio-sys v0.8.0 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling cairo-sys-rs v0.8.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.8.0 [INFO] [stderr] Compiling pango-sys v0.8.0 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling gdk-sys v0.8.0 [INFO] [stderr] Compiling atk-sys v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling gio v0.6.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling gtk-sys v0.8.0 [INFO] [stderr] Compiling pango v0.6.0 [INFO] [stderr] Compiling cairo-rs v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling gdk-pixbuf v0.6.0 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling derive_builder v0.7.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling gdk v0.10.0 [INFO] [stderr] Compiling atk v0.6.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling slice-deque v0.1.16 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling gtk v0.6.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling glib v0.7.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling cgmath v0.14.1 [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_jitter v0.1.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling claxon v0.3.2 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling minimp3 v0.3.2 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling snafu-derive v0.2.3 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling snafu v0.2.3 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_builder_core v0.4.1 [INFO] [stderr] Compiling id3 v0.3.0 [INFO] [stderr] Compiling earworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `snafu::Snafu` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use snafu::Snafu; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/game.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/media.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | fn try_from_file(path: PathBuf, logger: &Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct QuizButton { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 33 | button: gtk::Button, [INFO] [stdout] 34 | image: gtk::Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuizButton` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mime_type` and `data` are never used [INFO] [stdout] --> src/media.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 28 | pub fn mime_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cover` is never used [INFO] [stdout] --> src/media.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Track { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cover(&self) -> Option<&Image> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/main.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | std::mem::drop(round); [INFO] [stdout] | ^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 294 - std::mem::drop(round); [INFO] [stdout] 294 + let _ = round; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "86f4019fee2d82f23c9761937fb0117d4eeb3ef9a874a9c993ba5d336c331a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f4019fee2d82f23c9761937fb0117d4eeb3ef9a874a9c993ba5d336c331a65", kill_on_drop: false }` [INFO] [stdout] 86f4019fee2d82f23c9761937fb0117d4eeb3ef9a874a9c993ba5d336c331a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f719b906a3befc9675757555f56e47e29ec697a07372e0ea0949d424d79eff0 [INFO] running `Command { std: "docker" "start" "-a" "9f719b906a3befc9675757555f56e47e29ec697a07372e0ea0949d424d79eff0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `snafu::Snafu` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use snafu::Snafu; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/game.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling earworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/media.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | fn try_from_file(path: PathBuf, logger: &Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct QuizButton { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 33 | button: gtk::Button, [INFO] [stdout] 34 | image: gtk::Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuizButton` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mime_type` and `data` are never used [INFO] [stdout] --> src/media.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 28 | pub fn mime_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cover` is never used [INFO] [stdout] --> src/media.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Track { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cover(&self) -> Option<&Image> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/main.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | std::mem::drop(round); [INFO] [stdout] | ^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 294 - std::mem::drop(round); [INFO] [stdout] 294 + let _ = round; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "9f719b906a3befc9675757555f56e47e29ec697a07372e0ea0949d424d79eff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f719b906a3befc9675757555f56e47e29ec697a07372e0ea0949d424d79eff0", kill_on_drop: false }` [INFO] [stdout] 9f719b906a3befc9675757555f56e47e29ec697a07372e0ea0949d424d79eff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad0d5b356f214759d2df3c1aaf263984b23f19d558209cc1a46b938d9547f396 [INFO] running `Command { std: "docker" "start" "-a" "ad0d5b356f214759d2df3c1aaf263984b23f19d558209cc1a46b938d9547f396", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `snafu::Snafu` [INFO] [stderr] --> src/game.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use snafu::Snafu; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DirEntry` [INFO] [stderr] --> src/game.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | use walkdir::{DirEntry, WalkDir}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> src/media.rs:93:37 [INFO] [stderr] | [INFO] [stderr] 93 | fn try_from_file(path: PathBuf, logger: &Logger) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `image` is never read [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 32 | struct QuizButton { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 33 | button: gtk::Button, [INFO] [stderr] 34 | image: gtk::Image, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QuizButton` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `mime_type` and `data` are never used [INFO] [stderr] --> src/media.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Image { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 28 | pub fn mime_type(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn data(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `cover` is never used [INFO] [stderr] --> src/media.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 48 | impl Track { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn cover(&self) -> Option<&Image> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/main.rs:294:25 [INFO] [stderr] | [INFO] [stderr] 294 | std::mem::drop(round); [INFO] [stderr] | ^^^^^^^^^^^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Round` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 294 - std::mem::drop(round); [INFO] [stderr] 294 + let _ = round; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `earworm` (bin "earworm" test) generated 8 warnings (run `cargo fix --bin "earworm" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/earworm-e0aabd7efb7124fc) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test media::tests::from_file_full_id3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad0d5b356f214759d2df3c1aaf263984b23f19d558209cc1a46b938d9547f396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0d5b356f214759d2df3c1aaf263984b23f19d558209cc1a46b938d9547f396", kill_on_drop: false }` [INFO] [stdout] ad0d5b356f214759d2df3c1aaf263984b23f19d558209cc1a46b938d9547f396