[INFO] updating cached repository https://github.com/erickosamudera/snek-renpy-preprocessor [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6bb8940f78921757113926ef66b1507ae36db6f1 [INFO] testing erickosamudera/snek-renpy-preprocessor against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickosamudera%2Fsnek-renpy-preprocessor" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erickosamudera/snek-renpy-preprocessor on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/erickosamudera/snek-renpy-preprocessor [INFO] finished tweaking git repo https://github.com/erickosamudera/snek-renpy-preprocessor [INFO] tweaked toml for git repo https://github.com/erickosamudera/snek-renpy-preprocessor written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/erickosamudera/snek-renpy-preprocessor already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 31a3dcdc3440d6c8df9654d1b9a5da5589972fa652f350eddc1d44f75dfd2f50 [INFO] running `"docker" "start" "-a" "31a3dcdc3440d6c8df9654d1b9a5da5589972fa652f350eddc1d44f75dfd2f50"` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling snek-preprocessor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/renpy/write/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `entity::line::LineSpeech` [INFO] [stderr] --> src/renpy/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use entity::line::LineSpeech; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_BOLD: &'static str = r"(?:\*\*)(?P.*?)(?:\*\*)"; [INFO] [stderr] 6 | | static ref BOLD_REG: Regex = Regex::new(&GET_BOLD).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_BOLD: &'static str = r"(?:\*\*)(?P.*?)(?:\*\*)"; [INFO] [stderr] 6 | | static ref BOLD_REG: Regex = Regex::new(&GET_BOLD).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_EMP: &'static str = r"(?:\*)(?P.*?)(?:\*)"; [INFO] [stderr] 15 | | static ref EMP_REG: Regex = Regex::new(&GET_EMP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_EMP: &'static str = r"(?:\*)(?P.*?)(?:\*)"; [INFO] [stderr] 15 | | static ref EMP_REG: Regex = Regex::new(&GET_EMP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref GET_UPSIZE: &'static str = r"(?:\+\+\+)(?P.*?)(?:\+\+\+)"; [INFO] [stderr] 24 | | static ref UPSIZE_REG: Regex = Regex::new(&GET_UPSIZE).unwrap(); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref GET_UPSIZE: &'static str = r"(?:\+\+\+)(?P.*?)(?:\+\+\+)"; [INFO] [stderr] 24 | | static ref UPSIZE_REG: Regex = Regex::new(&GET_UPSIZE).unwrap(); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / lazy_static! { [INFO] [stderr] 32 | | static ref GET_DOWNSIZE: &'static str = r"(?:\-\-\-)(?P.*?)(?:\-\-\-)"; [INFO] [stderr] 33 | | static ref DOWNSIZE_REG: Regex = Regex::new(&GET_DOWNSIZE).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / lazy_static! { [INFO] [stderr] 32 | | static ref GET_DOWNSIZE: &'static str = r"(?:\-\-\-)(?P.*?)(?:\-\-\-)"; [INFO] [stderr] 33 | | static ref DOWNSIZE_REG: Regex = Regex::new(&GET_DOWNSIZE).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_SPEED: &'static str = r"(?:>>>)(?P.*?)(?:>>>|$)"; [INFO] [stderr] 6 | | static ref SPEED_REG: Regex = Regex::new(&GET_SPEED).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_SPEED: &'static str = r"(?:>>>)(?P.*?)(?:>>>|$)"; [INFO] [stderr] 6 | | static ref SPEED_REG: Regex = Regex::new(&GET_SPEED).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_SLOW: &'static str = r"(?:<<<)(?P.*?)(?:<<<|$)"; [INFO] [stderr] 15 | | static ref SLOW_REG: Regex = Regex::new(&GET_SLOW).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_SLOW: &'static str = r"(?:<<<)(?P.*?)(?:<<<|$)"; [INFO] [stderr] 15 | | static ref SLOW_REG: Regex = Regex::new(&GET_SLOW).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_CHINESE: &'static str = r"(?:\^cn)(?P.*?)(?:\^cn|$)"; [INFO] [stderr] 6 | | static ref CHINESE_REG: Regex = Regex::new(&GET_CHINESE).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_CHINESE: &'static str = r"(?:\^cn)(?P.*?)(?:\^cn|$)"; [INFO] [stderr] 6 | | static ref CHINESE_REG: Regex = Regex::new(&GET_CHINESE).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_ESP: &'static str = r"(?:\^esp)(?P.*?)(?:\^esp|$)"; [INFO] [stderr] 15 | | static ref ESP_REG: Regex = Regex::new(&GET_ESP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_ESP: &'static str = r"(?:\^esp)(?P.*?)(?:\^esp|$)"; [INFO] [stderr] 15 | | static ref ESP_REG: Regex = Regex::new(&GET_ESP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renpy_lines` [INFO] [stderr] --> src/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | let renpy_lines = renpy::translate(bill_lines); [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_renpy_lines` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> src/renpy/action/direction.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_indentation` [INFO] [stderr] --> src/renpy/action/direction.rs:27:56 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_current_indentation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> src/renpy/action/fx.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_indentation` [INFO] [stderr] --> src/renpy/action/fx.rs:3:54 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_current_indentation` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/line_parser/choice.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut cleaned_first = strip_first_char(command_string); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_output_file` [INFO] [stderr] --> src/renpy/write/mod.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get_output_file(file_name: &str) -> File { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `translate_renpy_line_to_string` [INFO] [stderr] --> src/renpy/write/mod.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn translate_renpy_line_to_string(renpy_line: &RenpyLine) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_indentation` [INFO] [stderr] --> src/renpy/write/mod.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | fn generate_indentation(n: u32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_to_file` [INFO] [stderr] --> src/renpy/mod.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn write_to_file(file_name: &str, renpy_lines: &Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `"docker" "inspect" "31a3dcdc3440d6c8df9654d1b9a5da5589972fa652f350eddc1d44f75dfd2f50"` [INFO] running `"docker" "rm" "-f" "31a3dcdc3440d6c8df9654d1b9a5da5589972fa652f350eddc1d44f75dfd2f50"` [INFO] [stdout] 31a3dcdc3440d6c8df9654d1b9a5da5589972fa652f350eddc1d44f75dfd2f50 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 9f1998dfc25eb09346ae06c3100a045b0f9fb53da22786130f99d14f9171e251 [INFO] running `"docker" "start" "-a" "9f1998dfc25eb09346ae06c3100a045b0f9fb53da22786130f99d14f9171e251"` [INFO] [stderr] Compiling snek-preprocessor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/renpy/write/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/renpy/write/mod.rs:62:23 [INFO] [stderr] | [INFO] [stderr] 62 | for _index in (0..20) { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `entity::line::LineSpeech` [INFO] [stderr] --> src/renpy/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use entity::line::LineSpeech; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_BOLD: &'static str = r"(?:\*\*)(?P.*?)(?:\*\*)"; [INFO] [stderr] 6 | | static ref BOLD_REG: Regex = Regex::new(&GET_BOLD).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_BOLD: &'static str = r"(?:\*\*)(?P.*?)(?:\*\*)"; [INFO] [stderr] 6 | | static ref BOLD_REG: Regex = Regex::new(&GET_BOLD).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_EMP: &'static str = r"(?:\*)(?P.*?)(?:\*)"; [INFO] [stderr] 15 | | static ref EMP_REG: Regex = Regex::new(&GET_EMP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_EMP: &'static str = r"(?:\*)(?P.*?)(?:\*)"; [INFO] [stderr] 15 | | static ref EMP_REG: Regex = Regex::new(&GET_EMP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref GET_UPSIZE: &'static str = r"(?:\+\+\+)(?P.*?)(?:\+\+\+)"; [INFO] [stderr] 24 | | static ref UPSIZE_REG: Regex = Regex::new(&GET_UPSIZE).unwrap(); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref GET_UPSIZE: &'static str = r"(?:\+\+\+)(?P.*?)(?:\+\+\+)"; [INFO] [stderr] 24 | | static ref UPSIZE_REG: Regex = Regex::new(&GET_UPSIZE).unwrap(); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / lazy_static! { [INFO] [stderr] 32 | | static ref GET_DOWNSIZE: &'static str = r"(?:\-\-\-)(?P.*?)(?:\-\-\-)"; [INFO] [stderr] 33 | | static ref DOWNSIZE_REG: Regex = Regex::new(&GET_DOWNSIZE).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/style.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / lazy_static! { [INFO] [stderr] 32 | | static ref GET_DOWNSIZE: &'static str = r"(?:\-\-\-)(?P.*?)(?:\-\-\-)"; [INFO] [stderr] 33 | | static ref DOWNSIZE_REG: Regex = Regex::new(&GET_DOWNSIZE).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_SPEED: &'static str = r"(?:>>>)(?P.*?)(?:>>>|$)"; [INFO] [stderr] 6 | | static ref SPEED_REG: Regex = Regex::new(&GET_SPEED).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_SPEED: &'static str = r"(?:>>>)(?P.*?)(?:>>>|$)"; [INFO] [stderr] 6 | | static ref SPEED_REG: Regex = Regex::new(&GET_SPEED).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_SLOW: &'static str = r"(?:<<<)(?P.*?)(?:<<<|$)"; [INFO] [stderr] 15 | | static ref SLOW_REG: Regex = Regex::new(&GET_SLOW).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/speed.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_SLOW: &'static str = r"(?:<<<)(?P.*?)(?:<<<|$)"; [INFO] [stderr] 15 | | static ref SLOW_REG: Regex = Regex::new(&GET_SLOW).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_CHINESE: &'static str = r"(?:\^cn)(?P.*?)(?:\^cn|$)"; [INFO] [stderr] 6 | | static ref CHINESE_REG: Regex = Regex::new(&GET_CHINESE).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref GET_CHINESE: &'static str = r"(?:\^cn)(?P.*?)(?:\^cn|$)"; [INFO] [stderr] 6 | | static ref CHINESE_REG: Regex = Regex::new(&GET_CHINESE).unwrap(); [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_ESP: &'static str = r"(?:\^esp)(?P.*?)(?:\^esp|$)"; [INFO] [stderr] 15 | | static ref ESP_REG: Regex = Regex::new(&GET_ESP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/renpy/speech/language.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref GET_ESP: &'static str = r"(?:\^esp)(?P.*?)(?:\^esp|$)"; [INFO] [stderr] 15 | | static ref ESP_REG: Regex = Regex::new(&GET_ESP).unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renpy_lines` [INFO] [stderr] --> src/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | let renpy_lines = renpy::translate(bill_lines); [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_renpy_lines` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> src/renpy/action/direction.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_indentation` [INFO] [stderr] --> src/renpy/action/direction.rs:27:56 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_current_indentation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> src/renpy/action/fx.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_indentation` [INFO] [stderr] --> src/renpy/action/fx.rs:3:54 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_current_indentation` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/line_parser/choice.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut cleaned_first = strip_first_char(command_string); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_output_file` [INFO] [stderr] --> src/renpy/write/mod.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get_output_file(file_name: &str) -> File { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_to_file` [INFO] [stderr] --> src/renpy/mod.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn write_to_file(file_name: &str, renpy_lines: &Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `"docker" "inspect" "9f1998dfc25eb09346ae06c3100a045b0f9fb53da22786130f99d14f9171e251"` [INFO] running `"docker" "rm" "-f" "9f1998dfc25eb09346ae06c3100a045b0f9fb53da22786130f99d14f9171e251"` [INFO] [stdout] 9f1998dfc25eb09346ae06c3100a045b0f9fb53da22786130f99d14f9171e251 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] 466434a7148fe797b0e6f1bf1cf469b76a93841d36660132446e158a2951412c [INFO] running `"docker" "start" "-a" "466434a7148fe797b0e6f1bf1cf469b76a93841d36660132446e158a2951412c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/snek_preprocessor-bc2445f0902250f4 [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test renpy::write::tests::translate_renpy_line_to_string_should_return_line_with_correct_indentation ... ok [INFO] [stdout] test renpy::write::tests::generate_indentation_should_generate_correct_amount_of_space ... ok [INFO] [stdout] test renpy::speech::style::tests::process_downsized_should_downsize_tagged_words ... ok [INFO] [stdout] test line_parser::utility::tests::strip_last_char_should_strip_last_char_in_word ... ok [INFO] [stdout] test line_parser::utility::tests::strip_first_char_should_strip_first_char_in_word ... ok [INFO] [stdout] test input::tests::get_processed_files_should_return_args_without_first_element ... ok [INFO] [stdout] test renpy::speech::style::tests::process_bold_should_format_line_into_bold ... ok [INFO] [stdout] test renpy::speech::style::tests::process_upsized_should_upsize_tagged_words ... ok [INFO] [stdout] test renpy::speech::style::tests::process_emphasis_should_format_line_into_emphasis ... ok [INFO] [stdout] test renpy::speech::speed::tests::process_speed_up_should_fasten_line_until_line_end ... ok [INFO] [stdout] test renpy::speech::speed::tests::process_speed_up_should_fasten_line_until_tag_end ... ok [INFO] [stdout] test renpy::speech::speed::tests::process_slow_down_should_slow_line_until_tag_end ... ok [INFO] [stdout] test renpy::speech::speed::tests::process_slow_down_should_fasten_line_until_line_end ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "466434a7148fe797b0e6f1bf1cf469b76a93841d36660132446e158a2951412c"` [INFO] running `"docker" "rm" "-f" "466434a7148fe797b0e6f1bf1cf469b76a93841d36660132446e158a2951412c"` [INFO] [stdout] 466434a7148fe797b0e6f1bf1cf469b76a93841d36660132446e158a2951412c