[INFO] cloning repository https://github.com/maddymakesgames/mixolumia-mod-installer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maddymakesgames/mixolumia-mod-installer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaddymakesgames%2Fmixolumia-mod-installer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaddymakesgames%2Fmixolumia-mod-installer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a468a63048604ffcfde3022d0d1d45cc54fb36a [INFO] checking maddymakesgames/mixolumia-mod-installer/7a468a63048604ffcfde3022d0d1d45cc54fb36a against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaddymakesgames%2Fmixolumia-mod-installer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maddymakesgames/mixolumia-mod-installer on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maddymakesgames/mixolumia-mod-installer [INFO] finished tweaking git repo https://github.com/maddymakesgames/mixolumia-mod-installer [INFO] tweaked toml for git repo https://github.com/maddymakesgames/mixolumia-mod-installer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maddymakesgames/mixolumia-mod-installer 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v1.1.3 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding memchr v2.7.4 [INFO] [stderr] Adding regex v1.11.1 [INFO] [stderr] Adding regex-automata v0.4.9 [INFO] [stderr] Adding regex-syntax v0.8.5 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.6 [INFO] [stderr] Downloaded configparser v1.0.0 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c94dab4ce32595c75019d5cfeabee493e56a9010e562e036acec198d487cb65 [INFO] running `Command { std: "docker" "start" "-a" "1c94dab4ce32595c75019d5cfeabee493e56a9010e562e036acec198d487cb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c94dab4ce32595c75019d5cfeabee493e56a9010e562e036acec198d487cb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c94dab4ce32595c75019d5cfeabee493e56a9010e562e036acec198d487cb65", kill_on_drop: false }` [INFO] [stdout] 1c94dab4ce32595c75019d5cfeabee493e56a9010e562e036acec198d487cb65 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93eff04e5fbf4ae758f103cfef57ea709ea0596bf9ef5d2eef4f5ff123029cbf [INFO] running `Command { std: "docker" "start" "-a" "93eff04e5fbf4ae758f103cfef57ea709ea0596bf9ef5d2eef4f5ff123029cbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling mixolumia_mod_installer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking configparser v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{read, create_dir_all, File, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::DataContainer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::data::DataContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `mixolumia_mod_installer` [INFO] [stdout] --> src/main.rs:331:2 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{read, create_dir_all, File, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::DataContainer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::data::DataContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txtr_chunk` [INFO] [stdout] --> src/data.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | let txtr_chunk = container.chunk_map.get("txtr").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txtr_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txtr_chunk` [INFO] [stdout] --> src/data.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | let txtr_chunk = container.chunk_map.get("txtr").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txtr_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mixolumia_mod_installer` (bin "mixolumia_mod_installer") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/main.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 25 | struct ModMeta { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | texture: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextureResource` is never constructed [INFO] [stdout] --> src/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TextureResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddedTexture` is never constructed [INFO] [stdout] --> src/texture.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct EmbeddedTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_buf` is never used [INFO] [stdout] --> src/texture.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | impl EmbeddedTexture { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn from_buf(buf: &mut Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ImageData` is never used [INFO] [stdout] --> src/texture.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub type ImageData = Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataFile` is never constructed [INFO] [stdout] --> src/data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct DataFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | impl DataFile { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(mut file: File) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_map` and `chunks` are never read [INFO] [stdout] --> src/data.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DataContainer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 43 | pub chunk_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | chunks: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataContainer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | impl DataContainer { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 48 | pub fn new(contents: Vec) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/data.rs:135:2 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct DataChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 134 | type_id: String, [INFO] [stdout] 135 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | impl DataChunk { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(id: String, contents: Vec, offset: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/data.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | file.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = file.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "93eff04e5fbf4ae758f103cfef57ea709ea0596bf9ef5d2eef4f5ff123029cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93eff04e5fbf4ae758f103cfef57ea709ea0596bf9ef5d2eef4f5ff123029cbf", kill_on_drop: false }` [INFO] [stdout] 93eff04e5fbf4ae758f103cfef57ea709ea0596bf9ef5d2eef4f5ff123029cbf