[INFO] cloning repository https://github.com/adamziel/php-to-native-compiler-128c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamziel/php-to-native-compiler-128c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamziel%2Fphp-to-native-compiler-128c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamziel%2Fphp-to-native-compiler-128c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d84a294e652894ca0e4c68083732d4ac1dfd6fd4 [INFO] testing adamziel/php-to-native-compiler-128c against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamziel%2Fphp-to-native-compiler-128c" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adamziel/php-to-native-compiler-128c [INFO] finished tweaking git repo https://github.com/adamziel/php-to-native-compiler-128c [INFO] tweaked toml for git repo https://github.com/adamziel/php-to-native-compiler-128c written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adamziel/php-to-native-compiler-128c on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adamziel/php-to-native-compiler-128c 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3 [INFO] running `Command { std: "docker" "start" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling phpc_core v0.1.0 (/opt/rustwide/workdir/crates/phpc_core) [INFO] [stderr] Compiling php_runtime v0.1.0 (/opt/rustwide/workdir/crates/php_runtime) [INFO] [stderr] Compiling phpc v0.1.0 (/opt/rustwide/workdir/crates/phpc) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling phpc v0.1.0 (/opt/rustwide/workdir/crates/phpc) [INFO] [stderr] Compiling php_runtime v0.1.0 (/opt/rustwide/workdir/crates/php_runtime) [INFO] [stderr] Compiling phpc_core v0.1.0 (/opt/rustwide/workdir/crates/phpc_core) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/php_runtime-8642a58711159346) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test tests::array_handle_is_runtime_owned_until_free ... ok [INFO] [stdout] test tests::binary_string_handle_owns_a_byte_copy ... ok [INFO] [stdout] test tests::binary_string_rejects_null_pointer_with_nonzero_len ... ok [INFO] [stdout] test tests::boolean_handle_is_runtime_owned_until_free ... ok [INFO] [stdout] test tests::boolean_value_rejects_null_out_pointer ... ok [INFO] [stdout] test tests::boolean_value_reports_invalid_handles ... ok [INFO] [stdout] test tests::c_abi_exposes_request_header_storage ... ok [INFO] [stdout] test tests::cloned_binary_string_owns_independent_bytes ... ok [INFO] [stdout] test tests::cloned_boolean_handle_has_independent_ownership ... ok [INFO] [stdout] test tests::array_append_clones_value_into_array_storage ... ok [INFO] [stdout] test tests::array_value_at_returns_new_owned_handle ... ok [INFO] [stdout] test tests::binary_string_data_reports_invalid_handles ... ok [INFO] [stdout] test tests::c_abi_reports_request_header_errors ... ok [INFO] [stdout] test tests::cloned_null_handle_has_independent_ownership ... ok [INFO] [stdout] test tests::integer_handle_is_runtime_owned_until_free ... ok [INFO] [stdout] test tests::cloned_integer_handle_has_independent_ownership ... ok [INFO] [stdout] test tests::clone_rejects_invalid_handles ... ok [INFO] [stdout] test tests::array_helpers_report_invalid_handles ... ok [INFO] [stdout] test tests::integer_value_rejects_null_out_pointer ... ok [INFO] [stdout] test tests::integer_value_reports_invalid_handles ... ok [INFO] [stdout] test tests::invalid_and_double_free_are_reported ... ok [INFO] [stdout] test tests::request_headers_replace_by_case_insensitive_name ... ok [INFO] [stdout] test tests::request_headers_can_keep_duplicate_names ... ok [INFO] [stdout] test tests::request_headers_reject_empty_and_line_breaks ... ok [INFO] [stdout] test tests::request_headers_reject_mutation_after_sent ... ok [INFO] [stdout] test tests::null_handle_is_runtime_owned_until_free ... ok [INFO] [stdout] test tests::request_headers_append_in_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/phpc-1c0c276c6954e7af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/bootstrap_cli.rs (/opt/rustwide/target/release/deps/bootstrap_cli-85216ed83ab1ca5d) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test cli_compile_emit_exe_rejects_non_literal_include_before_runtime_link_setup ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_require_once_before_runtime_link_setup ... ok [INFO] [stdout] test cli_compile_emit_exe_requires_output_path ... ok [INFO] [stdout] test cli_compile_emit_exe_removes_stale_output_when_runtime_archive_is_missing ... ok [INFO] [stdout] test cli_compile_emit_ir_rejects_include_once_without_claiming_native_include_once ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_non_literal_require_before_runtime_link_setup ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_missing_literal_include_before_file_execution ... ok [INFO] [stdout] test cli_compile_emit_ir_rejects_include_with_truthful_native_diagnostic ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_include_once_before_runtime_link_setup ... ok [INFO] [stdout] test cli_compile_emit_asm_rejects_non_literal_require_before_assembly_gap ... ok [INFO] [stdout] test cli_compile_emit_ir_rejects_non_literal_require_path_expression ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_require_before_runtime_link_setup ... ok [INFO] [stdout] test cli_compile_emit_ir_rejects_non_literal_include_path_expression ... ok [INFO] [stdout] test cli_compile_emit_exe_rejects_extra_arguments_after_output_path ... ok [INFO] [stdout] test cli_compile_emits_ir_for_boolean_and_null_echo ... ok [INFO] [stdout] test cli_compile_emit_ir_rejects_require_once_without_claiming_native_require_once ... ok [INFO] [stdout] test cli_compile_rejects_conflicting_emit_flags ... ok [INFO] [stdout] test cli_compile_requires_input_file ... ok [INFO] [stdout] test cli_phpt_run_resolves_relative_require_from_phpt_directory ... ok [INFO] [stdout] test cli_rejects_native_assembly_emission_until_m3_exists ... ok [INFO] [stdout] test cli_rejects_unknown_command_without_stdout ... ok [INFO] [stdout] test cli_reports_wordpress_bootstrap_general_php_gap ... ok [INFO] [stdout] test cli_help_aliases_print_usage_successfully ... ok [INFO] [stdout] test cli_run_requires_input_file ... ok [INFO] [stdout] test cli_runs_bootstrap_echo ... ok [INFO] [stdout] test cli_without_command_prints_help_and_usage_exit ... ok [INFO] [stdout] test cli_run_rejects_trailing_arguments ... ok [INFO] [stdout] test cli_run_executes_literal_require_sibling_file ... ok [INFO] [stdout] test cli_runs_minimal_phpt_with_phpc_runner ... ok [INFO] [stdout] test cli_wordpress_bootstrap_check_requires_root_argument ... ok [INFO] [stdout] test cli_wordpress_bootstrap_check_rejects_trailing_arguments ... ok [INFO] [stdout] test cli_emits_linked_native_executable_for_boolean_and_null_echo ... ok [INFO] [stdout] test cli_emits_linked_native_executable_without_semicolon_before_closing_tag ... ok [INFO] [stdout] test cli_emits_linked_native_executable_for_bootstrap_echo ... ok [INFO] [stdout] test cli_emits_linked_native_executable_without_trailing_newline ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/phpc_core-1f33d17b80a981c9) [INFO] [stdout] [INFO] [stdout] running 87 tests [INFO] [stdout] test parser::tests::parses_echo_after_leading_block_comment ... ok [INFO] [stdout] test parser::tests::parses_echo_after_line_comments ... ok [INFO] [stdout] test parser::tests::parses_echo_boolean_literals_case_insensitively ... ok [INFO] [stdout] test parser::tests::parses_echo ... ok [INFO] [stdout] test parser::tests::parses_closing_tag_with_trailing_whitespace_after_statement ... ok [INFO] [stdout] test parser::tests::does_not_parse_literal_keyword_prefixes ... ok [INFO] [stdout] test parser::tests::parses_double_quoted_string_newline_escape ... ok [INFO] [stdout] test parser::tests::parses_define_after_leading_block_comment ... ok [INFO] [stdout] test parser::tests::does_not_classify_include_keyword_prefixes_as_include_statements ... ok [INFO] [stdout] test parser::tests::parses_echo_null_literal_case_insensitively ... ok [INFO] [stdout] test parser::tests::parses_top_level_global_declaration ... ok [INFO] [stdout] test parser::tests::parses_global_after_define_and_comments ... ok [INFO] [stdout] test parser::tests::parses_integer_echo ... ok [INFO] [stdout] test parser::tests::rejects_function_call_without_semicolon ... ok [INFO] [stdout] test parser::tests::parses_top_level_define_call_with_string_literals ... ok [INFO] [stdout] test parser::tests::parses_final_echo_before_closing_tag_without_semicolon ... ok [INFO] [stdout] test parser::tests::rejects_global_without_semicolon ... ok [INFO] [stdout] test parser::tests::parses_literal_include_statement ... ok [INFO] [stdout] test parser::tests::parses_literal_require_statement ... ok [INFO] [stdout] test parser::tests::rejects_global_without_variable_name ... ok [INFO] [stdout] test parser::tests::parses_single_quoted_string_escapes_like_php ... ok [INFO] [stdout] test parser::tests::rejects_unterminated_block_comment ... ok [INFO] [stdout] test parser::tests::rejects_include_once_with_precise_unsupported_diagnostic ... ok [INFO] [stdout] test parser::tests::rejects_literal_include_require_without_semicolon ... ok [INFO] [stdout] test parser::tests::rejects_variable_echo_with_explicit_diagnostic ... ok [INFO] [stdout] test phpt::tests::classifies_matching_xfail_as_unexpected_pass ... ok [INFO] [stdout] test phpt::tests::builds_harness_input_with_fileeof_source ... ok [INFO] [stdout] test parser::tests::rejects_non_php_source ... ok [INFO] [stdout] test phpt::tests::builds_harness_input_with_non_exact_expectation ... ok [INFO] [stdout] test parser::tests::rejects_require_once_with_precise_unsupported_diagnostic ... ok [INFO] [stdout] test parser::tests::rejects_require_with_precise_unsupported_diagnostic ... ok [INFO] [stdout] test phpt::tests::classifies_mismatched_xfail ... ok [INFO] [stdout] test phpt::tests::builds_harness_input_with_static_metadata ... ok [INFO] [stdout] test phpt::tests::classifies_matching_expectf_xfail_as_unexpected_pass ... ok [INFO] [stdout] test phpt::tests::classifies_mismatched_expectf_xfail ... ok [INFO] [stdout] test phpt::tests::expectf_whitespace_token_allows_empty_match ... ok [INFO] [stdout] test phpt::tests::classifies_skipif_output_as_skipped ... ok [INFO] [stdout] test phpt::tests::continues_when_skipif_output_is_empty ... ok [INFO] [stdout] test phpt::tests::expectf_directory_separator_and_nul_tokens_match_literals ... ok [INFO] [stdout] test phpt::tests::exposes_skip_metadata_without_executing_skipif ... ok [INFO] [stdout] test phpt::tests::parses_format_expectation_section ... ok [INFO] [stdout] test phpt::tests::parses_regex_expectation_section ... ok [INFO] [stdout] test phpt::tests::parses_required_core_sections ... ok [INFO] [stdout] test phpt::tests::parses_skipif_section ... ok [INFO] [stdout] test phpt::tests::rejects_duplicate_sections ... ok [INFO] [stdout] test phpt::tests::parses_xfail_metadata_reason ... ok [INFO] [stdout] test phpt::tests::expectf_lowercase_string_tokens_reject_empty_matches ... ok [INFO] [stdout] test phpt::tests::rejects_content_before_first_section ... ok [INFO] [stdout] test phpt::tests::expectf_uppercase_string_tokens_allow_empty_matches ... ok [INFO] [stdout] test phpt::tests::rejects_harness_input_without_expected_output ... ok [INFO] [stdout] test phpt::tests::rejects_harness_input_without_source_file ... ok [INFO] [stdout] test phpt::tests::expectf_float_token_uses_php_run_tests_shape ... ok [INFO] [stdout] test phpt::tests::parses_fileeof_source_section ... ok [INFO] [stdout] test phpt::tests::reports_expectf_mismatch_as_failure ... ok [INFO] [stdout] test phpt::tests::reports_phpc_parse_errors_as_phpt_run_errors ... ok [INFO] [stdout] test phpt::tests::rejects_multiple_expectation_sections ... ok [INFO] [stdout] test phpt::tests::reports_skipif_phpc_errors_as_phpt_run_errors ... ok [INFO] [stdout] test phpt::tests::rejects_multiple_source_file_sections ... ok [INFO] [stdout] test phpt::tests::reports_unsupported_expectation_matchers ... ok [INFO] [stdout] test phpt::tests::runs_exact_expectation_with_phpc ... ok [INFO] [stdout] test phpt::tests::runs_fileeof_exact_expectation_with_phpc ... ok [INFO] [stdout] test phpt::tests::runs_fileeof_expectf_expectation_with_phpc ... ok [INFO] [stdout] test phpt::tests::trims_run_tests_section_newline_before_comparing_exact_expectation ... ok [INFO] [stdout] test tests::compile_emits_ir_for_boolean_and_null_literals ... ok [INFO] [stdout] test tests::compile_emits_ir_for_define_string_literal_statement ... ok [INFO] [stdout] test tests::compile_emits_ir_for_echo ... ok [INFO] [stdout] test tests::compile_emits_ir_for_global_declaration_no_op ... ok [INFO] [stdout] test tests::linkable_ir_accepts_global_declaration_as_no_output ... ok [INFO] [stdout] test tests::linkable_ir_calls_runtime_echo_for_supported_literals ... ok [INFO] [stdout] test tests::linkable_ir_calls_runtime_echo_without_semicolon_before_closing_tag ... ok [INFO] [stdout] test tests::rejects_define_with_non_string_value ... ok [INFO] [stdout] test tests::run_echoes_boolean_and_null_literals_like_php ... ok [INFO] [stdout] test phpt::tests::runs_expectf_expectation_with_phpc ... ok [INFO] [stdout] test tests::run_echoes_integer_literal ... ok [INFO] [stdout] test tests::run_echoes_string_literal ... ok [INFO] [stdout] test phpt::tests::runs_file_body_with_relative_require_from_base_dir ... ok [INFO] [stdout] test tests::compile_emits_ir_for_integer_echo ... ok [INFO] [stdout] test tests::run_preserves_single_quoted_backslash_n ... ok [INFO] [stdout] test tests::run_reports_missing_literal_require_path ... ok [INFO] [stdout] test tests::compile_rejects_literal_include_with_truthful_native_diagnostic ... ok [INFO] [stdout] test tests::linkable_ir_accepts_define_string_literal_statement_as_no_output ... ok [INFO] [stdout] test phpt::tests::normalizes_line_endings_before_comparing_exact_expectation ... ok [INFO] [stdout] test tests::run_requires_literal_sibling_file ... ok [INFO] [stdout] test tests::run_includes_literal_sibling_file ... ok [INFO] [stdout] test tests::run_interprets_define_string_literal_statement_without_output ... ok [INFO] [stdout] test tests::run_treats_top_level_global_declaration_as_no_op ... ok [INFO] [stdout] test tests::run_echoes_final_literal_before_closing_tag_without_semicolon ... ok [INFO] [stderr] Doc-tests php_runtime [INFO] [stdout] [INFO] [stdout] test result: ok. 87 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests phpc_core [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3", kill_on_drop: false }` [INFO] [stdout] 593b1788d828d14fa6a0be97f00730a6954a03694a514603281d56b1ffc9ebf3