[INFO] fetching crate licenses 0.2.0... [INFO] testing licenses-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate licenses 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate licenses 0.2.0 [INFO] finished tweaking crates.io crate licenses 0.2.0 [INFO] tweaked toml for crates.io crate licenses 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate licenses 0.2.0 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 licenses 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c3778cbc00d81ae8a3ed92c297be943548e5259142f51f06215a47df621854f4 [INFO] running `Command { std: "docker" "start" "-a" "c3778cbc00d81ae8a3ed92c297be943548e5259142f51f06215a47df621854f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3778cbc00d81ae8a3ed92c297be943548e5259142f51f06215a47df621854f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3778cbc00d81ae8a3ed92c297be943548e5259142f51f06215a47df621854f4", kill_on_drop: false }` [INFO] [stdout] c3778cbc00d81ae8a3ed92c297be943548e5259142f51f06215a47df621854f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f87f9009c8e84a7bc8d451376a5a426cb3d355c11f79d671c00d46ca027fa5f3 [INFO] running `Command { std: "docker" "start" "-a" "f87f9009c8e84a7bc8d451376a5a426cb3d355c11f79d671c00d46ca027fa5f3", kill_on_drop: false }` [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling spdx v0.11.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror v2.0.12 [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.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [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.2.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.21.0 [INFO] [stderr] Compiling licenses v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "f87f9009c8e84a7bc8d451376a5a426cb3d355c11f79d671c00d46ca027fa5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87f9009c8e84a7bc8d451376a5a426cb3d355c11f79d671c00d46ca027fa5f3", kill_on_drop: false }` [INFO] [stdout] f87f9009c8e84a7bc8d451376a5a426cb3d355c11f79d671c00d46ca027fa5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 556768f8ed7cd980843887114a3ebe9be940e617714717f7b2209c9a18e22e5b [INFO] running `Command { std: "docker" "start" "-a" "556768f8ed7cd980843887114a3ebe9be940e617714717f7b2209c9a18e22e5b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling autospy_macro v0.0.8 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling autospy v0.0.8 [INFO] [stderr] Compiling thiserror v2.0.12 [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 clap v4.5.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cargo-util-schemas v0.8.2 [INFO] [stderr] Compiling cargo_metadata v0.21.0 [INFO] [stderr] Compiling licenses v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.43s [INFO] running `Command { std: "docker" "inspect" "556768f8ed7cd980843887114a3ebe9be940e617714717f7b2209c9a18e22e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556768f8ed7cd980843887114a3ebe9be940e617714717f7b2209c9a18e22e5b", kill_on_drop: false }` [INFO] [stdout] 556768f8ed7cd980843887114a3ebe9be940e617714717f7b2209c9a18e22e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 24472281bbb07917b24b0bdbf4090f94eb6d8dd9e228d7209b30b5f5dd015990 [INFO] running `Command { std: "docker" "start" "-a" "24472281bbb07917b24b0bdbf4090f94eb6d8dd9e228d7209b30b5f5dd015990", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_licenses-009baa00c1c2eec0) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test cargo_tree::tests::depth_1_args ... ok [INFO] [stdout] test cargo_tree::tests::default_args ... ok [INFO] [stdout] test cargo_metadata::tests::packages_without_repository_sets_link_to_none ... ok [INFO] [stdout] test cargo_metadata::tests::packages_without_valid_manifest_path_parent_fail ... ok [INFO] [stdout] test cargo_tree::tests::ignores_invalid_ignored_crates ... ok [INFO] [stdout] test cargo_tree::tests::ignores_multiple_specified_crates ... ok [INFO] [stdout] test cargo_tree::tests::ignores_single_specified_crate ... ok [INFO] [stdout] test cargo_metadata::tests::packages_without_license_set_to_none ... ok [INFO] [stdout] test cargo_metadata::tests::package_names_are_normalised ... ok [INFO] [stdout] test cargo_tree::tests::excludes_specific_workspace_args ... ok [INFO] [stdout] test cargo_tree::tests::ignores_empty_entries_in_cargo_tree_output ... ok [INFO] [stdout] test cargo_tree::tests::invalid_utf8_in_cargo_tree_output ... ok [INFO] [stdout] test cargo_tree::tests::only_returns_unique_crate_names_in_cargo_tree_output ... ok [INFO] [stdout] test copy_licenses::tests::does_not_copy_directories_starting_with_license ... ok [INFO] [stdout] test copy_licenses::tests::no_filtered_packages_causes_no_directory_read_or_files_copied ... ok [INFO] [stdout] test is_license::tests::directories_are_not_licenses ... ok [INFO] [stdout] test is_license::tests::license_file_with_invalid_name ... ok [INFO] [stdout] test is_license::tests::license_file_with_valid_name ... ok [INFO] [stdout] test is_license::tests::license_file_with_typo ... ok [INFO] [stdout] test cargo_tree::tests::include_build_dependencies_args ... ok [INFO] [stdout] test cargo_tree::tests::include_dev_dependencies_args ... ok [INFO] [stdout] test cargo_tree::tests::normalises_crate_names_in_cargo_tree_output ... ok [INFO] [stdout] test cargo_tree::tests::strips_whitespace_from_cargo_tree_output ... ok [INFO] [stdout] test copy_licenses::tests::failure_to_read_dir_causes_error ... ok [INFO] [stdout] test license::tests::licenses_with_parentheses_are_not_equal ... ok [INFO] [stdout] test license::tests::licenses_with_slash_are_equal ... ok [INFO] [stdout] test summarise::tests::multiple_same_license_packages ... ok [INFO] [stdout] test license::tests::licenses_with_with_clause_are_not_equal ... ok [INFO] [stdout] test summarise::tests::no_packages ... ok [INFO] [stdout] test summarise::tests::multiple_different_license_packages ... ok [INFO] [stdout] test summarise::tests::single_package_with_no_license ... ok [INFO] [stdout] test validate_licenses::tests::no_licenses_found ... ok [INFO] [stdout] test validate_licenses::tests::no_listed_license ... ok [INFO] [stdout] test license::tests::licenses_in_a_different_order_are_equal ... ok [INFO] [stdout] test summarise::tests::single_package ... ok [INFO] [stdout] test validate_licenses::tests::too_many_licenses ... ok [INFO] [stdout] test validate_licenses::tests::too_few_licenses ... ok [INFO] [stdout] test validate_licenses::tests::too_few_licenses_non_standard_seperator ... ok [INFO] [stdout] test validate_licenses::tests::license_content_mismatch ... ok [INFO] [stdout] test validate_licenses::tests::too_few_licenses_complex_requirements ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "24472281bbb07917b24b0bdbf4090f94eb6d8dd9e228d7209b30b5f5dd015990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24472281bbb07917b24b0bdbf4090f94eb6d8dd9e228d7209b30b5f5dd015990", kill_on_drop: false }` [INFO] [stdout] 24472281bbb07917b24b0bdbf4090f94eb6d8dd9e228d7209b30b5f5dd015990