[INFO] fetching crate mocksmith 0.2.1... [INFO] testing mocksmith-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mocksmith 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mocksmith 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mocksmith 0.2.1 [INFO] tweaked toml for crates.io crate mocksmith 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mocksmith 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mocksmith 0.2.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f183c0080d2fe1a412e6d45636454aafbcdb19aebff2f0ebb79413fcc68b31e [INFO] running `Command { std: "docker" "start" "-a" "9f183c0080d2fe1a412e6d45636454aafbcdb19aebff2f0ebb79413fcc68b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f183c0080d2fe1a412e6d45636454aafbcdb19aebff2f0ebb79413fcc68b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f183c0080d2fe1a412e6d45636454aafbcdb19aebff2f0ebb79413fcc68b31e", kill_on_drop: false }` [INFO] [stdout] 9f183c0080d2fe1a412e6d45636454aafbcdb19aebff2f0ebb79413fcc68b31e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc561b35f52b158ee4eddda2ab21356c35dde1f32bed1424ba127496eb922591 [INFO] running `Command { std: "docker" "start" "-a" "cc561b35f52b158ee4eddda2ab21356c35dde1f32bed1424ba127496eb922591", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling capitalize v0.3.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling mocksmith v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.97s [INFO] running `Command { std: "docker" "inspect" "cc561b35f52b158ee4eddda2ab21356c35dde1f32bed1424ba127496eb922591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc561b35f52b158ee4eddda2ab21356c35dde1f32bed1424ba127496eb922591", kill_on_drop: false }` [INFO] [stdout] cc561b35f52b158ee4eddda2ab21356c35dde1f32bed1424ba127496eb922591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 638b51396849a615d6c66aa3139eee4f6b77655bf5eee5135a3a771d753220e2 [INFO] running `Command { std: "docker" "start" "-a" "638b51396849a615d6c66aa3139eee4f6b77655bf5eee5135a3a771d753220e2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling cargo-platform v0.3.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling mocksmith v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cargo-util-schemas v0.8.2 [INFO] [stderr] Compiling cargo_metadata v0.22.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 42.78s [INFO] running `Command { std: "docker" "inspect" "638b51396849a615d6c66aa3139eee4f6b77655bf5eee5135a3a771d753220e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638b51396849a615d6c66aa3139eee4f6b77655bf5eee5135a3a771d753220e2", kill_on_drop: false }` [INFO] [stdout] 638b51396849a615d6c66aa3139eee4f6b77655bf5eee5135a3a771d753220e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b6a4b7a77106374d86b3febad38ef2b25fc04d0c992e94622d659b27b8a198c [INFO] running `Command { std: "docker" "start" "-a" "3b6a4b7a77106374d86b3febad38ef2b25fc04d0c992e94622d659b27b8a198c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mocksmith-f134146cbd1cd808) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test log::tests::macro_evalutes_args_when_enabled ... ok [INFO] [stdout] test naming::tests::default_name_output_file_falls_back_to_mock_h_if_different_source_files ... ok [INFO] [stdout] test naming::tests::default_name_output_file_falls_back_to_mock_h_when_no_source_file ... ok [INFO] [stdout] test naming::tests::default_name_output_file_falls_back_to_mocks_h_when_no_mocks ... ok [INFO] [stdout] test naming::tests::default_name_output_file_uses_extension_from_source_file ... ok [INFO] [stdout] test naming::tests::default_name_output_file_uses_mock_name_when_only_one_mock ... ok [INFO] [stdout] test naming::tests::default_name_output_file_uses_source_file_with_suffix_when_several_mocks ... ok [INFO] [stdout] test headerpath::tests::test_header_path_under_include_paths ... ok [INFO] [stdout] test headerpath::tests::test_header_path_outside_include_paths ... ok [INFO] [stdout] test log::tests::macro_doesnt_evaluate_args_if_verbose_disabled ... ok [INFO] [stdout] test naming::tests::invalid_sed_style_causes_error ... ok [INFO] [stdout] test naming::tests::sed_namer_defaults_to_prefix ... ok [INFO] [stdout] test naming::tests::test_default_name_mock ... ok [INFO] [stdout] test naming::tests::sed_namer_replaces_matches ... ok [INFO] [stdout] test tests::test_new_with_threads ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mocksmith-3eef3e45b9686129) [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] [stderr] Running tests/app_integration_tests.rs (/opt/rustwide/target/debug/deps/app_integration_tests-8cc2a22ce91c11d2) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stdout] test input_from_file_produces_mock_only_when_output_to_stdout ... ok [INFO] [stdout] test files_can_be_named_with_sed_style_regex ... ok [INFO] [stdout] test input_from_file_produces_complete_header_when_output_to_dir ... ok [INFO] [stdout] test input_from_file_produces_complete_header_when_output_to_file ... ok [INFO] [stdout] test class_filter_option_affects_which_classes_are_mocked ... ok [INFO] [stdout] test input_from_stdin_produces_mock_only ... ok [INFO] [stdout] test additional_clang_args_are_passed_to_parser ... ok [INFO] [stdout] test cpp_standard_affects_namespace_nesting ... ok [INFO] [stdout] test multiple_classes_in_file_produce_single_header_when_output_to_dir ... ok [INFO] [stdout] test mocks_can_be_named_with_sed_style_regex ... ok [INFO] [stdout] test cpp_standard_affects_parsing ... ok [INFO] [stdout] test multiple_classes_in_file_produce_single_header_when_output_to_file ... ok [INFO] [stdout] test multiple_files_produce_multiple_headers_when_output_to_dir ... ok [INFO] [stdout] test multiple_files_produce_single_header_when_output_to_file ... ok [INFO] [stdout] test pragma_added_when_allowing_overriding_deprecated ... ok [INFO] [stdout] test no_files_are_written_to_dir_if_failing_to_mock_one_source_file ... ok [INFO] [stdout] test output_file_is_not_written_if_unchanged_unless_forced ... ok [INFO] [stdout] test method_filter_option_affects_which_methods_are_mocked ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.98s [INFO] [stdout] [INFO] [stderr] Running tests/app_invalid_args_tests.rs (/opt/rustwide/target/debug/deps/app_invalid_args_tests-88d6da52c24a4732) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] test cant_allow_deprecated_when_not_generating_header ... ok [INFO] [stdout] test cant_specify_illegal_cpp_standard ... ok [INFO] [stdout] test cant_be_verbose_when_silent ... ok [INFO] [stdout] test cant_specify_illegal_method_filter_value ... ok [INFO] [stdout] test files_cant_be_named_with_sed_style_regex_when_output_to_file ... ok [INFO] [stdout] test cant_specify_both_output_file_and_dir ... ok [INFO] [stdout] test input_from_stdin_doesnt_work_when_output_to_file_or_dir ... ok [INFO] [stdout] test cant_specify_invalid_class_filter_regex ... ok [INFO] [stdout] test cant_specify_nonexisting_dir ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.81s [INFO] [stdout] [INFO] [stderr] Running tests/app_logging_tests.rs (/opt/rustwide/target/debug/deps/app_logging_tests-8cbf9dc27691edee) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] test logging_to_stdout_when_writing_to_file ... ok [INFO] [stdout] test warning_is_logged_with_verbose ... ok [INFO] [stdout] test warning_is_not_logged_without_verbose ... ok [INFO] [stderr] Running tests/lib_integration_tests.rs (/opt/rustwide/target/debug/deps/lib_integration_tests-8f41ce289dbbb608) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.89s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test class_filter_avoids_mocking_unwanted_class ... ok [INFO] [stdout] test configured_mock_name_function_is_used ... ok [INFO] [stdout] test configured_indent_level_is_used ... ok [INFO] [stdout] test generate_all_methods_mocks_non_virtual_methods ... ok [INFO] [stdout] test error_in_included_file_is_reported_in_correct_file ... ok [INFO] [stdout] test generate_all_virtual_methods_mocks_virtual_methods_only ... ok [INFO] [stdout] test configured_nested_namespace_style_is_used ... ok [INFO] [stdout] test generate_pure_virtual_methods_mocks_pure_virtual_methods_only ... ok [INFO] [stdout] test mocks_can_be_generated_from_file ... ok [INFO] [stdout] test noexcept_and_const_qualifiers_are_added_when_needed ... ok [INFO] [stdout] test protected_and_private_methods_are_mocked_as_public ... ok [INFO] [stdout] test ref_qualifiers_are_added_when_needed ... ok [INFO] [stdout] test setting_include_path_finds_types_in_headers ... ok [INFO] [stdout] test simple_non_virtual_method_is_ignored ... ok [INFO] [stdout] test simple_pure_virtual_method_can_be_mocked ... ok [INFO] [stdout] test types_with_commas_are_wrapped_with_parenthesis ... ok [INFO] [stdout] test unknown_argument_type_is_treated_as_error ... ok [INFO] [stdout] test unknown_return_type_is_treated_as_error ... ok [INFO] [stdout] test various_return_types_and_argument_types_can_be_mocked ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.24s [INFO] [stdout] [INFO] [stderr] Doc-tests mocksmith [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" "3b6a4b7a77106374d86b3febad38ef2b25fc04d0c992e94622d659b27b8a198c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6a4b7a77106374d86b3febad38ef2b25fc04d0c992e94622d659b27b8a198c", kill_on_drop: false }` [INFO] [stdout] 3b6a4b7a77106374d86b3febad38ef2b25fc04d0c992e94622d659b27b8a198c