[INFO] fetching crate mocksmith 0.2.1... [INFO] testing mocksmith-0.2.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate mocksmith 0.2.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mocksmith 0.2.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0692fba8908da677e3d4006887df5a99b8bc4471734aec30fcab254ee9fb8e98 [INFO] running `Command { std: "docker" "start" "-a" "0692fba8908da677e3d4006887df5a99b8bc4471734aec30fcab254ee9fb8e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0692fba8908da677e3d4006887df5a99b8bc4471734aec30fcab254ee9fb8e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0692fba8908da677e3d4006887df5a99b8bc4471734aec30fcab254ee9fb8e98", kill_on_drop: false }` [INFO] [stdout] 0692fba8908da677e3d4006887df5a99b8bc4471734aec30fcab254ee9fb8e98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10e2b15de6e39e6da31fc558ba550dc115e4af83f4d80fa330a31faa1b10e6cd [INFO] running `Command { std: "docker" "start" "-a" "10e2b15de6e39e6da31fc558ba550dc115e4af83f4d80fa330a31faa1b10e6cd", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling capitalize v0.3.4 [INFO] [stderr] Compiling syn v2.0.101 [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_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror v2.0.16 [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 12.22s [INFO] running `Command { std: "docker" "inspect" "10e2b15de6e39e6da31fc558ba550dc115e4af83f4d80fa330a31faa1b10e6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e2b15de6e39e6da31fc558ba550dc115e4af83f4d80fa330a31faa1b10e6cd", kill_on_drop: false }` [INFO] [stdout] 10e2b15de6e39e6da31fc558ba550dc115e4af83f4d80fa330a31faa1b10e6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b38b671b81006915aee52007928bea30db730f306beb478109116e98988562f [INFO] running `Command { std: "docker" "start" "-a" "3b38b671b81006915aee52007928bea30db730f306beb478109116e98988562f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling mocksmith v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [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 cargo-util-schemas v0.8.2 [INFO] [stderr] Compiling cargo_metadata v0.22.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.11s [INFO] running `Command { std: "docker" "inspect" "3b38b671b81006915aee52007928bea30db730f306beb478109116e98988562f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b38b671b81006915aee52007928bea30db730f306beb478109116e98988562f", kill_on_drop: false }` [INFO] [stdout] 3b38b671b81006915aee52007928bea30db730f306beb478109116e98988562f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2abf6818fd8fb2ee597895465ac973208982af02c183e900902a6318024f50f2 [INFO] running `Command { std: "docker" "start" "-a" "2abf6818fd8fb2ee597895465ac973208982af02c183e900902a6318024f50f2", 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-88e686c8e93d2bb0) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test headerpath::tests::test_header_path_under_include_paths ... ok [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_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_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_outside_include_paths ... ok [INFO] [stdout] test naming::tests::default_name_output_file_uses_extension_from_source_file ... 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 log::tests::macro_doesnt_evaluate_args_if_verbose_disabled ... 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::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.49s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mocksmith-06995ef96b441e1b) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/app_integration_tests.rs (/opt/rustwide/target/debug/deps/app_integration_tests-0985a8c761437e11) [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 18 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] test multiple_files_produce_multiple_headers_when_output_to_dir ... ok [INFO] [stdout] test multiple_classes_in_file_produce_single_header_when_output_to_dir ... ok [INFO] [stdout] test input_from_file_produces_mock_only_when_output_to_stdout ... ok [INFO] [stdout] test input_from_file_produces_complete_header_when_output_to_file ... ok [INFO] [stdout] test input_from_stdin_produces_mock_only ... ok [INFO] [stdout] test class_filter_option_affects_which_classes_are_mocked ... ok [INFO] [stdout] test mocks_can_be_named_with_sed_style_regex ... ok [INFO] [stdout] test multiple_files_produce_single_header_when_output_to_file ... ok [INFO] [stdout] test multiple_classes_in_file_produce_single_header_when_output_to_file ... 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 no_files_are_written_to_dir_if_failing_to_mock_one_source_file ... ok [INFO] [stdout] test pragma_added_when_allowing_overriding_deprecated ... ok [INFO] [stdout] test cpp_standard_affects_parsing ... ok [INFO] [stdout] test additional_clang_args_are_passed_to_parser ... ok [INFO] [stdout] test cpp_standard_affects_namespace_nesting ... 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 7.48s [INFO] [stdout] [INFO] [stderr] Running tests/app_invalid_args_tests.rs (/opt/rustwide/target/debug/deps/app_invalid_args_tests-6ebf4fe20eb89411) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] test cant_specify_illegal_method_filter_value ... ok [INFO] [stdout] test cant_specify_both_output_file_and_dir ... ok [INFO] [stdout] test files_cant_be_named_with_sed_style_regex_when_output_to_file ... ok [INFO] [stdout] test input_from_stdin_doesnt_work_when_output_to_file_or_dir ... ok [INFO] [stdout] test cant_allow_deprecated_when_not_generating_header ... ok [INFO] [stdout] test cant_be_verbose_when_silent ... ok [INFO] [stdout] test cant_specify_illegal_cpp_standard ... ok [INFO] [stdout] test cant_specify_invalid_class_filter_regex ... ok [INFO] [stdout] test cant_specify_nonexisting_dir ... ok [INFO] [stderr] Running tests/app_logging_tests.rs (/opt/rustwide/target/debug/deps/app_logging_tests-e8402c2874b0acfb) [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] test logging_to_stdout_when_writing_to_file ... ok [INFO] [stdout] test warning_is_not_logged_without_verbose ... ok [INFO] [stdout] test warning_is_logged_with_verbose ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.29s [INFO] [stdout] [INFO] [stderr] Running tests/lib_integration_tests.rs (/opt/rustwide/target/debug/deps/lib_integration_tests-729063655f672139) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test configured_mock_name_function_is_used ... ok [INFO] [stdout] test class_filter_avoids_mocking_unwanted_class ... 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 types_with_commas_are_wrapped_with_parenthesis ... ok [INFO] [stdout] test error_in_included_file_is_reported_in_correct_file ... ok [INFO] [stdout] test generate_all_methods_mocks_non_virtual_methods ... 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 simple_non_virtual_method_is_ignored ... ok [INFO] [stdout] test simple_pure_virtual_method_can_be_mocked ... ok [INFO] [stdout] test configured_indent_level_is_used ... ok [INFO] [stdout] test setting_include_path_finds_types_in_headers ... 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 14.39s [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" "2abf6818fd8fb2ee597895465ac973208982af02c183e900902a6318024f50f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abf6818fd8fb2ee597895465ac973208982af02c183e900902a6318024f50f2", kill_on_drop: false }` [INFO] [stdout] 2abf6818fd8fb2ee597895465ac973208982af02c183e900902a6318024f50f2