[INFO] cloning repository https://github.com/Bert-Proesmans/bobba-asset-extractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bert-Proesmans/bobba-asset-extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBert-Proesmans%2Fbobba-asset-extractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBert-Proesmans%2Fbobba-asset-extractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1017cc0b6d2f3706830eacb28a957abc7175adb9 [INFO] building Bert-Proesmans/bobba-asset-extractor against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBert-Proesmans%2Fbobba-asset-extractor" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bert-Proesmans/bobba-asset-extractor on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bert-Proesmans/bobba-asset-extractor [INFO] finished tweaking git repo https://github.com/Bert-Proesmans/bobba-asset-extractor [INFO] tweaked toml for git repo https://github.com/Bert-Proesmans/bobba-asset-extractor written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Bert-Proesmans/bobba-asset-extractor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01d2993164339622eda0d8e8b8871b0db1345016c5a0872ba96bf3851cbaee74 [INFO] running `Command { std: "docker" "start" "-a" "01d2993164339622eda0d8e8b8871b0db1345016c5a0872ba96bf3851cbaee74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01d2993164339622eda0d8e8b8871b0db1345016c5a0872ba96bf3851cbaee74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d2993164339622eda0d8e8b8871b0db1345016c5a0872ba96bf3851cbaee74", kill_on_drop: false }` [INFO] [stdout] 01d2993164339622eda0d8e8b8871b0db1345016c5a0872ba96bf3851cbaee74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba0293143d5d0aa81d591aff69397bdf8ff1b1dc726f45c08f53c1bf02047d2 [INFO] running `Command { std: "docker" "start" "-a" "8ba0293143d5d0aa81d591aff69397bdf8ff1b1dc726f45c08f53c1bf02047d2", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling humantime v2.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling pipeliner v1.0.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling deflate v0.8.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling png v0.16.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling async-compression v0.3.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling swf v0.1.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/?rev=37889c6#37889c66) [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/?rev=37889c6#37889c66) [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling bobba_asset_extractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `SeekFrom`, `Seek`, `prelude::*` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{prelude::*, BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeError`, `from_reader` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use quick_xml::de::{from_reader, DeError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatusCode`, `Url`, `header` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use reqwest::{header, StatusCode, Url}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `png` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use png; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use swf::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | .map(|x| asset_extraction::download_asset_packs()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|x| asset_extraction::extract_asset_packs()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version_pin` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub version_pin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_path` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub data_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache_time` [INFO] [stdout] --> src/cli.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub cache_time: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Runtime` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Runtime(crate::runtime::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtractorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Other(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtractorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HttpClient` [INFO] [stdout] --> src/runtime.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | HttpClient(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RuntimeData` [INFO] [stdout] --> src/runtime.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct RuntimeData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(base_data_path: PathBuf, revision: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_web_client` [INFO] [stdout] --> src/runtime.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create_web_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_path` [INFO] [stdout] --> src/runtime.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_data_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Iterator` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / options.zones [INFO] [stdout] 107 | | .clone() [INFO] [stdout] 108 | | .with_threads(io_thread_count) [INFO] [stdout] 109 | | .map(|x| { [INFO] [stdout] ... | [INFO] [stdout] 115 | | .with_threads(cpu_thread_count) [INFO] [stdout] 116 | | .map(|x| asset_extraction::extract_asset_packs()); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.90s [INFO] running `Command { std: "docker" "inspect" "8ba0293143d5d0aa81d591aff69397bdf8ff1b1dc726f45c08f53c1bf02047d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba0293143d5d0aa81d591aff69397bdf8ff1b1dc726f45c08f53c1bf02047d2", kill_on_drop: false }` [INFO] [stdout] 8ba0293143d5d0aa81d591aff69397bdf8ff1b1dc726f45c08f53c1bf02047d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acbccf5bf79b3f197fd6b7ae98d1a04b257d368b07daebcc51f03831034d45b4 [INFO] running `Command { std: "docker" "start" "-a" "acbccf5bf79b3f197fd6b7ae98d1a04b257d368b07daebcc51f03831034d45b4", kill_on_drop: false }` [INFO] [stderr] Compiling bobba_asset_extractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `SeekFrom`, `Seek`, `prelude::*` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{prelude::*, BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeError`, `from_reader` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use quick_xml::de::{from_reader, DeError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatusCode`, `Url`, `header` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use reqwest::{header, StatusCode, Url}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `png` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use png; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use swf::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | .map(|x| asset_extraction::download_asset_packs()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|x| asset_extraction::extract_asset_packs()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version_pin` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub version_pin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_path` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub data_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache_time` [INFO] [stdout] --> src/cli.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub cache_time: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Runtime` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Runtime(crate::runtime::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtractorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Other(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtractorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HttpClient` [INFO] [stdout] --> src/runtime.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | HttpClient(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RuntimeData` [INFO] [stdout] --> src/runtime.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct RuntimeData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(base_data_path: PathBuf, revision: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_web_client` [INFO] [stdout] --> src/runtime.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create_web_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_path` [INFO] [stdout] --> src/runtime.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_data_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Iterator` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / options.zones [INFO] [stdout] 107 | | .clone() [INFO] [stdout] 108 | | .with_threads(io_thread_count) [INFO] [stdout] 109 | | .map(|x| { [INFO] [stdout] ... | [INFO] [stdout] 115 | | .with_threads(cpu_thread_count) [INFO] [stdout] 116 | | .map(|x| asset_extraction::extract_asset_packs()); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.24s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bobba_asset_extractor-638a4cf4e79a1ba5) [INFO] running `Command { std: "docker" "inspect" "acbccf5bf79b3f197fd6b7ae98d1a04b257d368b07daebcc51f03831034d45b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acbccf5bf79b3f197fd6b7ae98d1a04b257d368b07daebcc51f03831034d45b4", kill_on_drop: false }` [INFO] [stdout] acbccf5bf79b3f197fd6b7ae98d1a04b257d368b07daebcc51f03831034d45b4