[INFO] fetching crate techscan 0.2.0... [INFO] testing techscan-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate techscan 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate techscan 0.2.0 [INFO] finished tweaking crates.io crate techscan 0.2.0 [INFO] tweaked toml for crates.io crate techscan 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate techscan 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate techscan 0.2.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.11.0 [INFO] [stderr] Downloaded papergrid v0.17.0 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded serde-untagged v0.1.8 [INFO] [stderr] Downloaded yaml-rust2 v0.10.3 [INFO] [stderr] Downloaded testing_table v0.3.0 [INFO] [stderr] Downloaded config v0.15.14 [INFO] [stderr] Downloaded tabled v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2e4b0f237f860ca2ea1857f2d88094f486d8a780060e1757b2061453b4565f2 [INFO] running `Command { std: "docker" "start" "-a" "f2e4b0f237f860ca2ea1857f2d88094f486d8a780060e1757b2061453b4565f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e4b0f237f860ca2ea1857f2d88094f486d8a780060e1757b2061453b4565f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e4b0f237f860ca2ea1857f2d88094f486d8a780060e1757b2061453b4565f2", kill_on_drop: false }` [INFO] [stdout] f2e4b0f237f860ca2ea1857f2d88094f486d8a780060e1757b2061453b4565f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4201229f037dcf9194c9eac763cfdcf049273582f83624b49715f7f5fe7f831 [INFO] running `Command { std: "docker" "start" "-a" "b4201229f037dcf9194c9eac763cfdcf049273582f83624b49715f7f5fe7f831", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling papergrid v0.17.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling testing_table v0.3.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tabled v0.20.0 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling serde-untagged v0.1.8 [INFO] [stderr] Compiling config v0.15.14 [INFO] [stderr] Compiling techscan v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.82s [INFO] running `Command { std: "docker" "inspect" "b4201229f037dcf9194c9eac763cfdcf049273582f83624b49715f7f5fe7f831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4201229f037dcf9194c9eac763cfdcf049273582f83624b49715f7f5fe7f831", kill_on_drop: false }` [INFO] [stdout] b4201229f037dcf9194c9eac763cfdcf049273582f83624b49715f7f5fe7f831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143cbbefce37acd1397f1e9be38d934a3a47fddb4149b576b228c0413db20425 [INFO] running `Command { std: "docker" "start" "-a" "143cbbefce37acd1397f1e9be38d934a3a47fddb4149b576b228c0413db20425", kill_on_drop: false }` [INFO] [stderr] Compiling techscan v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "143cbbefce37acd1397f1e9be38d934a3a47fddb4149b576b228c0413db20425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143cbbefce37acd1397f1e9be38d934a3a47fddb4149b576b228c0413db20425", kill_on_drop: false }` [INFO] [stdout] 143cbbefce37acd1397f1e9be38d934a3a47fddb4149b576b228c0413db20425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a803e25ecbfab3f76d2c8842332ffef52ad27e30809e7af133a0b1635dcacc01 [INFO] running `Command { std: "docker" "start" "-a" "a803e25ecbfab3f76d2c8842332ffef52ad27e30809e7af133a0b1635dcacc01", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/techscan-8ebc826834e76974) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test config::language_config::tests::detect_language::should_return_none_for_unsupported_extension ... ok [INFO] [stdout] test config::language_config::tests::detect_language::should_return_none_for_empty_extension ... ok [INFO] [stdout] test config::language_config::tests::detect_language::should_detect_rust ... ok [INFO] [stdout] test config::language_config::tests::detect_language::should_detect_multiple_variants ... ok [INFO] [stdout] test config::language_config::tests::get_language_by_name::should_return_language_when_found ... ok [INFO] [stdout] test config::language_config::tests::get_language_by_name::should_return_none_when_not_found ... ok [INFO] [stdout] test entity::file::tests::from_path::test_file_with_extension ... ok [INFO] [stdout] test entity::file::tests::from_path::test_file_with_hidden_extension ... ok [INFO] [stdout] test entity::file::tests::from_path::test_file_path_from_path ... ok [INFO] [stdout] test entity::file::tests::from_path::test_file_with_multiple_extensions ... ok [INFO] [stdout] test entity::file::tests::from_path::test_file_without_extension ... ok [INFO] [stdout] test entity::language::tests::serialize::test_serialize_multiple_extension ... ok [INFO] [stdout] test entity::language::tests::serialize::test_serialize_pretty ... ok [INFO] [stdout] test entity::language::tests::serialize::test_serialize_single_extension ... ok [INFO] [stdout] test service::reporter::tests::test_to_json_success ... ok [INFO] [stdout] test service::reporter::tests::test_validate_format_invalid ... ok [INFO] [stdout] test service::reporter::tests::test_validate_format_valid ... ok [INFO] [stdout] test service::scanner::tests::test_scan_with_multiple_exclude_patterns ... ok [INFO] [stdout] test service::scanner::tests::test_scan_with_exclude_pattern ... ok [INFO] [stdout] test service::scanner::tests::test_scan_cli_fixture ... ok [INFO] [stdout] test entity::language::tests::deserialize::test_deserialize_panics - should panic ... ok [INFO] [stdout] test service::scanner::tests::test_scanner_nonexistent_directory - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a803e25ecbfab3f76d2c8842332ffef52ad27e30809e7af133a0b1635dcacc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a803e25ecbfab3f76d2c8842332ffef52ad27e30809e7af133a0b1635dcacc01", kill_on_drop: false }` [INFO] [stdout] a803e25ecbfab3f76d2c8842332ffef52ad27e30809e7af133a0b1635dcacc01