[INFO] cloning repository https://github.com/actions-marketplace-validations/ajmwagar_laat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/actions-marketplace-validations/ajmwagar_laat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fajmwagar_laat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fajmwagar_laat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8957e10b2de0709cd8389ba25909f87b0260bb1 [INFO] checking actions-marketplace-validations/ajmwagar_laat against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fajmwagar_laat" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/actions-marketplace-validations/ajmwagar_laat [INFO] finished tweaking git repo https://github.com/actions-marketplace-validations/ajmwagar_laat [INFO] tweaked toml for git repo https://github.com/actions-marketplace-validations/ajmwagar_laat written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/actions-marketplace-validations/ajmwagar_laat on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/actions-marketplace-validations/ajmwagar_laat 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded instant v0.1.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded structopt-derive v0.4.15 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded ogg v0.5.1 [INFO] [stderr] Downloaded ogg_metadata v0.4.1 [INFO] [stderr] Downloaded peg v0.5.7 [INFO] [stderr] Downloaded indexmap v1.7.0 [INFO] [stderr] Downloaded structopt v0.3.22 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded openssl-sys v0.9.65 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded handlebars v4.1.0 [INFO] [stderr] Downloaded tracing-subscriber v0.2.19 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded openssl v0.10.35 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cbbaf07cb524c55a999847e4924892f20063a22dfb86134ef623b075d8408cd [INFO] running `Command { std: "docker" "start" "-a" "8cbbaf07cb524c55a999847e4924892f20063a22dfb86134ef623b075d8408cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cbbaf07cb524c55a999847e4924892f20063a22dfb86134ef623b075d8408cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbbaf07cb524c55a999847e4924892f20063a22dfb86134ef623b075d8408cd", kill_on_drop: false }` [INFO] [stdout] 8cbbaf07cb524c55a999847e4924892f20063a22dfb86134ef623b075d8408cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b74d012861f2377e7849c5201bf5ed3f479ea451959e47f97541dc3e20630b9 [INFO] running `Command { std: "docker" "start" "-a" "8b74d012861f2377e7849c5201bf5ed3f479ea451959e47f97541dc3e20630b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking ogg v0.5.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ogg_metadata v0.4.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling armake2 v0.3.0 (/opt/rustwide/workdir/armake2) [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:79:924 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:79:1600 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:86:1077 [INFO] [stdout] | [INFO] [stdout] 86 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | 'a' ... 'f' | 'A' ... 'F' => Matched ( __next , ( ) ) , _ => __state . mark_fa... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:86:1091 [INFO] [stdout] | [INFO] [stdout] 86 | ...ut , __pos ) ; match __ch { '0' ... '9' | 'a' ... 'f' | 'A' ... 'F' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:86:1105 [INFO] [stdout] | [INFO] [stdout] 86 | ... match __ch { '0' ... '9' | 'a' ... 'f' | 'A' ... 'F' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9a-fA-F]... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:86:1844 [INFO] [stdout] | [INFO] [stdout] 86 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:152:521 [INFO] [stdout] | [INFO] [stdout] 152 | ...nge_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . m... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:152:535 [INFO] [stdout] | [INFO] [stdout] 152 | ...ut , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/config_grammar.rs:152:549 [INFO] [stdout] | [INFO] [stdout] 152 | ... match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/preprocess_grammar.rs:79:460 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . m... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/preprocess_grammar.rs:79:474 [INFO] [stdout] | [INFO] [stdout] 79 | ...ut , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/armake2-c709318120ba354d/out/preprocess_grammar.rs:79:488 [INFO] [stdout] | [INFO] [stdout] 79 | ... match __ch { 'a' ... 'z' | 'A' ... 'Z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> armake2/src/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking handlebars v4.1.0 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stdout] warning: fields `cmd_paa2img`, `cmd_img2paa`, `flag_force`, `flag_compress`, `flag_type`, and `arg_wname` are never read [INFO] [stdout] --> armake2/src/run.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | cmd_paa2img: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | cmd_img2paa: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | flag_verbose: bool, [INFO] [stdout] 93 | flag_force: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | flag_compress: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 103 | flag_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 104 | flag_version: bool, [INFO] [stdout] 105 | arg_wname: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is 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: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if WARNINGS_MUTED.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | if WARNINGS_RAISED.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let raised = WARNINGS_RAISED.as_ref().unwrap().get(name).unwrap_or(&0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | WARNINGS_RAISED.as_mut().unwrap().insert(name.to_string(), raised + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | if raised >= &WARNINGS_MAXIMUM { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 121 | if raised >= &raw const WARNINGS_MAXIMUM { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if WARNINGS_MUTED.as_ref().unwrap().contains(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if WARNINGS_MUTED.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | if WARNINGS_MUTED.as_ref().unwrap().contains(name.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if WARNINGS_RAISED.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | let raised = WARNINGS_RAISED.as_ref().unwrap().get(name.unwrap()).unwrap_or(&0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | raised >= &WARNINGS_MAXIMUM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 165 | raised >= &raw const WARNINGS_MAXIMUM [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | if WARNINGS_RAISED.is_none() || WARNINGS_MUTED.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:174:41 [INFO] [stdout] | [INFO] [stdout] 174 | if WARNINGS_RAISED.is_none() || WARNINGS_MUTED.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | for (name, raised) in WARNINGS_RAISED.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> armake2/src/error.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | if WARNINGS_MUTED.as_ref().unwrap().contains(name) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking laat v1.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/plugins/addons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::task::JoinHandle; [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: `io` [INFO] [stdout] --> src/plugins/addons.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/plugins/addons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::task::JoinHandle; [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: `io` [INFO] [stdout] --> src/plugins/addons.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_path` [INFO] [stdout] --> src/plugins/music.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let new_path = manager.add_asset(track.path, Some("data/Music".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/customs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/plugins/customs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_path` [INFO] [stdout] --> src/plugins/music.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let new_path = manager.add_asset(track.path, Some("data/Music".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/kits.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/plugins/kits.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/customs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/plugins/customs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addon_manager` [INFO] [stdout] --> src/plugins/missions.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addon_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mission_files_path` [INFO] [stdout] --> src/plugins/missions.rs:127:62 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mission_files_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/kits.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/plugins/kits.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut manager = AddonManager::from_context(ADDON_NAME.to_string(), build_config); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/missions.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut class = self.sqm.inner_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addon_manager` [INFO] [stdout] --> src/plugins/missions.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addon_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mission_files_path` [INFO] [stdout] --> src/plugins/missions.rs:127:62 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mission_files_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_mission_files` is never used [INFO] [stdout] --> src/plugins/missions.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missions_folder` is never read [INFO] [stdout] --> src/plugins/missions.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct MissionSettings { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | missions_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MissionSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/plugins/missions.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | struct Composition { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 205 | header: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_offset` is never used [INFO] [stdout] --> src/plugins/missions.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Composition { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn set_offset(&mut self, offset: (f32, f32, f32)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugins/missions.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut class = self.sqm.inner_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_mission_files` is never used [INFO] [stdout] --> src/plugins/missions.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn add_mission_files(addon_manager: &mut AddonManager, mission_files_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missions_folder` is never read [INFO] [stdout] --> src/plugins/missions.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct MissionSettings { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | missions_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MissionSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/plugins/missions.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | struct Composition { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 205 | header: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_offset` is never used [INFO] [stdout] --> src/plugins/missions.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Composition { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn set_offset(&mut self, offset: (f32, f32, f32)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.58s [INFO] running `Command { std: "docker" "inspect" "8b74d012861f2377e7849c5201bf5ed3f479ea451959e47f97541dc3e20630b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b74d012861f2377e7849c5201bf5ed3f479ea451959e47f97541dc3e20630b9", kill_on_drop: false }` [INFO] [stdout] 8b74d012861f2377e7849c5201bf5ed3f479ea451959e47f97541dc3e20630b9