Nov 17 03:34:28.365 INFO testing erickosamudera/snek-renpy-preprocessor against try#2e026d6e5d7621634147ad4c8074f1d964dbb1be for pr-55982 Nov 17 03:34:28.365 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-0/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-0/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 03:34:28.903 INFO [stdout] f9443e0d8052728c8c16b503c2833be7555574b9fb27f9b3c5d220d7c36f6262 Nov 17 03:34:28.909 INFO running `"docker" "start" "-a" "f9443e0d8052728c8c16b503c2833be7555574b9fb27f9b3c5d220d7c36f6262"` Nov 17 03:34:30.291 INFO [stderr] usermod: no changes Nov 17 03:34:30.378 INFO [stderr] Compiling regex v1.0.0 Nov 17 03:34:38.639 INFO [stderr] Compiling snek-preprocessor v0.1.0 (/source) Nov 17 03:34:39.287 INFO [stderr] warning: unused import: `std::io` Nov 17 03:34:39.287 INFO [stderr] --> src/renpy/write/mod.rs:5:5 Nov 17 03:34:39.287 INFO [stderr] | Nov 17 03:34:39.287 INFO [stderr] 5 | use std::io; Nov 17 03:34:39.287 INFO [stderr] | ^^^^^^^ Nov 17 03:34:39.287 INFO [stderr] | Nov 17 03:34:39.287 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 17 03:34:39.287 INFO [stderr] Nov 17 03:34:39.287 INFO [stderr] warning: unused import: `entity::line::LineSpeech` Nov 17 03:34:39.287 INFO [stderr] --> src/renpy/mod.rs:11:5 Nov 17 03:34:39.287 INFO [stderr] | Nov 17 03:34:39.287 INFO [stderr] 11 | use entity::line::LineSpeech; Nov 17 03:34:39.287 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:39.287 INFO [stderr] Nov 17 03:34:39.507 INFO [stderr] warning: unused variable: `arguments` Nov 17 03:34:39.507 INFO [stderr] --> src/renpy/action/direction.rs:27:31 Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:39.507 INFO [stderr] | ^^^^^^^^^ help: consider using `_arguments` instead Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] = note: #[warn(unused_variables)] on by default Nov 17 03:34:39.507 INFO [stderr] Nov 17 03:34:39.507 INFO [stderr] warning: unused variable: `current_indentation` Nov 17 03:34:39.507 INFO [stderr] --> src/renpy/action/direction.rs:27:56 Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:39.507 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using `_current_indentation` instead Nov 17 03:34:39.507 INFO [stderr] Nov 17 03:34:39.507 INFO [stderr] warning: unused variable: `arguments` Nov 17 03:34:39.507 INFO [stderr] --> src/renpy/action/fx.rs:3:29 Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:39.507 INFO [stderr] | ^^^^^^^^^ help: consider using `_arguments` instead Nov 17 03:34:39.507 INFO [stderr] Nov 17 03:34:39.507 INFO [stderr] warning: unused variable: `current_indentation` Nov 17 03:34:39.507 INFO [stderr] --> src/renpy/action/fx.rs:3:54 Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:39.507 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using `_current_indentation` instead Nov 17 03:34:39.507 INFO [stderr] Nov 17 03:34:39.507 INFO [stderr] warning: unused variable: `renpy_lines` Nov 17 03:34:39.507 INFO [stderr] --> src/main.rs:17:8 Nov 17 03:34:39.507 INFO [stderr] | Nov 17 03:34:39.507 INFO [stderr] 17 | let renpy_lines = renpy::translate(bill_lines); Nov 17 03:34:39.507 INFO [stderr] | ^^^^^^^^^^^ help: consider using `_renpy_lines` instead Nov 17 03:34:39.507 INFO [stderr] Nov 17 03:34:39.531 INFO [stderr] warning: variable does not need to be mutable Nov 17 03:34:39.531 INFO [stderr] --> src/line_parser/choice.rs:6:9 Nov 17 03:34:39.531 INFO [stderr] | Nov 17 03:34:39.531 INFO [stderr] 6 | let mut cleaned_first = strip_first_char(command_string); Nov 17 03:34:39.531 INFO [stderr] | ----^^^^^^^^^^^^^ Nov 17 03:34:39.531 INFO [stderr] | | Nov 17 03:34:39.531 INFO [stderr] | help: remove this `mut` Nov 17 03:34:39.531 INFO [stderr] | Nov 17 03:34:39.531 INFO [stderr] = note: #[warn(unused_mut)] on by default Nov 17 03:34:39.531 INFO [stderr] Nov 17 03:34:39.603 INFO [stderr] warning: function is never used: `get_output_file` Nov 17 03:34:39.603 INFO [stderr] --> src/renpy/write/mod.rs:7:1 Nov 17 03:34:39.603 INFO [stderr] | Nov 17 03:34:39.603 INFO [stderr] 7 | pub fn get_output_file(file_name: &str) -> File { Nov 17 03:34:39.603 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:39.603 INFO [stderr] | Nov 17 03:34:39.603 INFO [stderr] = note: #[warn(dead_code)] on by default Nov 17 03:34:39.603 INFO [stderr] Nov 17 03:34:39.603 INFO [stderr] warning: function is never used: `translate_renpy_line_to_string` Nov 17 03:34:39.603 INFO [stderr] --> src/renpy/write/mod.rs:27:1 Nov 17 03:34:39.603 INFO [stderr] | Nov 17 03:34:39.603 INFO [stderr] 27 | pub fn translate_renpy_line_to_string(renpy_line: &RenpyLine) -> String { Nov 17 03:34:39.603 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:39.603 INFO [stderr] Nov 17 03:34:39.603 INFO [stderr] warning: function is never used: `generate_indentation` Nov 17 03:34:39.603 INFO [stderr] --> src/renpy/write/mod.rs:34:1 Nov 17 03:34:39.603 INFO [stderr] | Nov 17 03:34:39.603 INFO [stderr] 34 | fn generate_indentation(n: u32) -> String { Nov 17 03:34:39.603 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:39.603 INFO [stderr] Nov 17 03:34:39.603 INFO [stderr] warning: function is never used: `write_to_file` Nov 17 03:34:39.603 INFO [stderr] --> src/renpy/mod.rs:41:1 Nov 17 03:34:39.603 INFO [stderr] | Nov 17 03:34:39.603 INFO [stderr] 41 | pub fn write_to_file(file_name: &str, renpy_lines: &Vec) -> bool { Nov 17 03:34:39.603 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:39.603 INFO [stderr] Nov 17 03:34:41.799 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.49s Nov 17 03:34:41.815 INFO [stderr] su: No module specific data is present Nov 17 03:34:42.539 INFO running `"docker" "inspect" "f9443e0d8052728c8c16b503c2833be7555574b9fb27f9b3c5d220d7c36f6262"` Nov 17 03:34:42.807 INFO running `"docker" "rm" "-f" "f9443e0d8052728c8c16b503c2833be7555574b9fb27f9b3c5d220d7c36f6262"` Nov 17 03:34:43.146 INFO [stdout] f9443e0d8052728c8c16b503c2833be7555574b9fb27f9b3c5d220d7c36f6262 Nov 17 03:34:43.154 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-0/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-0/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 03:34:43.666 INFO [stdout] e76ee05ef33da269d2f7dee52a663b5ecd301ddbc5f4bdd94e0d1c909dc1988f Nov 17 03:34:43.668 INFO running `"docker" "start" "-a" "e76ee05ef33da269d2f7dee52a663b5ecd301ddbc5f4bdd94e0d1c909dc1988f"` Nov 17 03:34:45.941 INFO [stderr] usermod: no changes Nov 17 03:34:46.035 INFO [stderr] Compiling snek-preprocessor v0.1.0 (/source) Nov 17 03:34:46.807 INFO [stderr] warning: unused import: `std::io` Nov 17 03:34:46.808 INFO [stderr] --> src/renpy/write/mod.rs:5:5 Nov 17 03:34:46.808 INFO [stderr] | Nov 17 03:34:46.808 INFO [stderr] 5 | use std::io; Nov 17 03:34:46.808 INFO [stderr] | ^^^^^^^ Nov 17 03:34:46.809 INFO [stderr] | Nov 17 03:34:46.809 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 17 03:34:46.809 INFO [stderr] Nov 17 03:34:46.809 INFO [stderr] warning: unnecessary parentheses around `for` head expression Nov 17 03:34:46.810 INFO [stderr] --> src/renpy/write/mod.rs:62:23 Nov 17 03:34:46.810 INFO [stderr] | Nov 17 03:34:46.810 INFO [stderr] 62 | for _index in (0..20) { Nov 17 03:34:46.811 INFO [stderr] | ^^^^^^^ help: remove these parentheses Nov 17 03:34:46.811 INFO [stderr] | Nov 17 03:34:46.811 INFO [stderr] = note: #[warn(unused_parens)] on by default Nov 17 03:34:46.811 INFO [stderr] Nov 17 03:34:46.812 INFO [stderr] warning: unused import: `entity::line::LineSpeech` Nov 17 03:34:46.812 INFO [stderr] --> src/renpy/mod.rs:11:5 Nov 17 03:34:46.812 INFO [stderr] | Nov 17 03:34:46.813 INFO [stderr] 11 | use entity::line::LineSpeech; Nov 17 03:34:46.813 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:46.813 INFO [stderr] Nov 17 03:34:47.095 INFO [stderr] warning: unused variable: `arguments` Nov 17 03:34:47.095 INFO [stderr] --> src/renpy/action/direction.rs:27:31 Nov 17 03:34:47.096 INFO [stderr] | Nov 17 03:34:47.096 INFO [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:47.096 INFO [stderr] | ^^^^^^^^^ help: consider using `_arguments` instead Nov 17 03:34:47.097 INFO [stderr] | Nov 17 03:34:47.097 INFO [stderr] = note: #[warn(unused_variables)] on by default Nov 17 03:34:47.097 INFO [stderr] Nov 17 03:34:47.098 INFO [stderr] warning: unused variable: `current_indentation` Nov 17 03:34:47.098 INFO [stderr] --> src/renpy/action/direction.rs:27:56 Nov 17 03:34:47.098 INFO [stderr] | Nov 17 03:34:47.099 INFO [stderr] 27 | pub fn process_exeunt_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:47.099 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using `_current_indentation` instead Nov 17 03:34:47.099 INFO [stderr] Nov 17 03:34:47.100 INFO [stderr] warning: unused variable: `arguments` Nov 17 03:34:47.100 INFO [stderr] --> src/renpy/action/fx.rs:3:29 Nov 17 03:34:47.100 INFO [stderr] | Nov 17 03:34:47.101 INFO [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:47.101 INFO [stderr] | ^^^^^^^^^ help: consider using `_arguments` instead Nov 17 03:34:47.101 INFO [stderr] Nov 17 03:34:47.101 INFO [stderr] warning: unused variable: `current_indentation` Nov 17 03:34:47.102 INFO [stderr] --> src/renpy/action/fx.rs:3:54 Nov 17 03:34:47.102 INFO [stderr] | Nov 17 03:34:47.102 INFO [stderr] 3 | pub fn process_play_command(arguments: &Vec, current_indentation: &u32) -> Vec { Nov 17 03:34:47.103 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using `_current_indentation` instead Nov 17 03:34:47.103 INFO [stderr] Nov 17 03:34:47.103 INFO [stderr] warning: unused variable: `renpy_lines` Nov 17 03:34:47.104 INFO [stderr] --> src/main.rs:17:8 Nov 17 03:34:47.104 INFO [stderr] | Nov 17 03:34:47.104 INFO [stderr] 17 | let renpy_lines = renpy::translate(bill_lines); Nov 17 03:34:47.105 INFO [stderr] | ^^^^^^^^^^^ help: consider using `_renpy_lines` instead Nov 17 03:34:47.105 INFO [stderr] Nov 17 03:34:47.139 INFO [stderr] warning: variable does not need to be mutable Nov 17 03:34:47.139 INFO [stderr] --> src/line_parser/choice.rs:6:9 Nov 17 03:34:47.139 INFO [stderr] | Nov 17 03:34:47.139 INFO [stderr] 6 | let mut cleaned_first = strip_first_char(command_string); Nov 17 03:34:47.139 INFO [stderr] | ----^^^^^^^^^^^^^ Nov 17 03:34:47.139 INFO [stderr] | | Nov 17 03:34:47.139 INFO [stderr] | help: remove this `mut` Nov 17 03:34:47.139 INFO [stderr] | Nov 17 03:34:47.139 INFO [stderr] = note: #[warn(unused_mut)] on by default Nov 17 03:34:47.139 INFO [stderr] Nov 17 03:34:47.227 INFO [stderr] warning: function is never used: `get_output_file` Nov 17 03:34:47.227 INFO [stderr] --> src/renpy/write/mod.rs:7:1 Nov 17 03:34:47.227 INFO [stderr] | Nov 17 03:34:47.227 INFO [stderr] 7 | pub fn get_output_file(file_name: &str) -> File { Nov 17 03:34:47.227 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:47.227 INFO [stderr] | Nov 17 03:34:47.227 INFO [stderr] = note: #[warn(dead_code)] on by default Nov 17 03:34:47.227 INFO [stderr] Nov 17 03:34:47.227 INFO [stderr] warning: function is never used: `write_to_file` Nov 17 03:34:47.227 INFO [stderr] --> src/renpy/mod.rs:41:1 Nov 17 03:34:47.227 INFO [stderr] | Nov 17 03:34:47.227 INFO [stderr] 41 | pub fn write_to_file(file_name: &str, renpy_lines: &Vec) -> bool { Nov 17 03:34:47.227 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 17 03:34:47.227 INFO [stderr] Nov 17 03:34:49.035 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.06s Nov 17 03:34:49.035 INFO [stderr] su: No module specific data is present Nov 17 03:34:50.075 INFO running `"docker" "inspect" "e76ee05ef33da269d2f7dee52a663b5ecd301ddbc5f4bdd94e0d1c909dc1988f"` Nov 17 03:34:50.355 INFO running `"docker" "rm" "-f" "e76ee05ef33da269d2f7dee52a663b5ecd301ddbc5f4bdd94e0d1c909dc1988f"` Nov 17 03:34:50.700 INFO [stdout] e76ee05ef33da269d2f7dee52a663b5ecd301ddbc5f4bdd94e0d1c909dc1988f Nov 17 03:34:50.709 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55982/worker-0/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-0/pr-55982/try#2e026d6e5d7621634147ad4c8074f1d964dbb1be:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +2e026d6e5d7621634147ad4c8074f1d964dbb1be-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 17 03:34:51.119 INFO [stdout] 57f743ee0683f8ffd97052834f795d9f7fd67ca543f8b3106aa6359939cabd2e Nov 17 03:34:51.121 INFO running `"docker" "start" "-a" "57f743ee0683f8ffd97052834f795d9f7fd67ca543f8b3106aa6359939cabd2e"` Nov 17 03:34:52.642 INFO [stderr] usermod: no changes Nov 17 03:34:52.735 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s Nov 17 03:34:52.744 INFO [stderr] Running /target/debug/deps/snek_preprocessor-5bf789422661b5f2 Nov 17 03:34:52.755 INFO [stdout] Nov 17 03:34:52.755 INFO [stdout] running 13 tests Nov 17 03:34:52.797 INFO [stdout] test line_parser::utility::tests::strip_last_char_should_strip_last_char_in_word ... ok Nov 17 03:34:52.797 INFO [stdout] test line_parser::utility::tests::strip_first_char_should_strip_first_char_in_word ... ok Nov 17 03:34:52.797 INFO [stdout] test renpy::speech::speed::tests::process_slow_down_should_fasten_line_until_line_end ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::speech::speed::tests::process_slow_down_should_slow_line_until_tag_end ... ok Nov 17 03:34:52.811 INFO [stdout] test input::tests::get_processed_files_should_return_args_without_first_element ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::speech::speed::tests::process_speed_up_should_fasten_line_until_line_end ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::speech::style::tests::process_emphasis_should_format_line_into_emphasis ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::write::tests::generate_indentation_should_generate_correct_amount_of_space ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::write::tests::translate_renpy_line_to_string_should_return_line_with_correct_indentation ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::speech::style::tests::process_bold_should_format_line_into_bold ... ok Nov 17 03:34:52.811 INFO [stdout] test renpy::speech::style::tests::process_downsized_should_downsize_tagged_words ... ok Nov 17 03:34:52.812 INFO [stdout] test renpy::speech::speed::tests::process_speed_up_should_fasten_line_until_tag_end ... ok Nov 17 03:34:52.819 INFO [stdout] test renpy::speech::style::tests::process_upsized_should_upsize_tagged_words ... ok Nov 17 03:34:52.819 INFO [stdout] Nov 17 03:34:52.819 INFO [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Nov 17 03:34:52.819 INFO [stdout] Nov 17 03:34:52.835 INFO [stderr] su: No module specific data is present Nov 17 03:34:53.600 INFO running `"docker" "inspect" "57f743ee0683f8ffd97052834f795d9f7fd67ca543f8b3106aa6359939cabd2e"` Nov 17 03:34:53.905 INFO running `"docker" "rm" "-f" "57f743ee0683f8ffd97052834f795d9f7fd67ca543f8b3106aa6359939cabd2e"` Nov 17 03:34:54.265 INFO [stdout] 57f743ee0683f8ffd97052834f795d9f7fd67ca543f8b3106aa6359939cabd2e