[INFO] updating cached repository erickosamudera/snek-renpy-preprocessor [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/erickosamudera/snek-renpy-preprocessor [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/erickosamudera/snek-renpy-preprocessor" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/erickosamudera/snek-renpy-preprocessor"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/erickosamudera/snek-renpy-preprocessor'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/erickosamudera/snek-renpy-preprocessor" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/erickosamudera/snek-renpy-preprocessor"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/erickosamudera/snek-renpy-preprocessor'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6bb8940f78921757113926ef66b1507ae36db6f1 [INFO] sha for GitHub repo erickosamudera/snek-renpy-preprocessor: 6bb8940f78921757113926ef66b1507ae36db6f1 [INFO] validating manifest of erickosamudera/snek-renpy-preprocessor on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of erickosamudera/snek-renpy-preprocessor on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing erickosamudera/snek-renpy-preprocessor [INFO] finished frobbing erickosamudera/snek-renpy-preprocessor [INFO] frobbed toml for erickosamudera/snek-renpy-preprocessor written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/erickosamudera/snek-renpy-preprocessor/Cargo.toml [INFO] started frobbing erickosamudera/snek-renpy-preprocessor [INFO] finished frobbing erickosamudera/snek-renpy-preprocessor [INFO] frobbed toml for erickosamudera/snek-renpy-preprocessor written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/erickosamudera/snek-renpy-preprocessor/Cargo.toml [INFO] crate erickosamudera/snek-renpy-preprocessor already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking erickosamudera/snek-renpy-preprocessor against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-3/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/erickosamudera/snek-renpy-preprocessor:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c9564f9b8a7dfbb32fb3396fbc056a21f672d888b57e56f43b94f55eed3213e9 [INFO] running `"docker" "start" "-a" "c9564f9b8a7dfbb32fb3396fbc056a21f672d888b57e56f43b94f55eed3213e9"` [INFO] [stderr] Checking snek-preprocessor v0.1.0 (/opt/crater/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: 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: 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: 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: 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] 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.09s [INFO] running `"docker" "inspect" "c9564f9b8a7dfbb32fb3396fbc056a21f672d888b57e56f43b94f55eed3213e9"` [INFO] running `"docker" "rm" "-f" "c9564f9b8a7dfbb32fb3396fbc056a21f672d888b57e56f43b94f55eed3213e9"` [INFO] [stdout] c9564f9b8a7dfbb32fb3396fbc056a21f672d888b57e56f43b94f55eed3213e9