[INFO] fetching crate threat-intel 0.1.0... [INFO] testing threat-intel-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate threat-intel 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate threat-intel 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate threat-intel 0.1.0 [INFO] tweaked toml for crates.io crate threat-intel 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate threat-intel 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate threat-intel 0.1.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.102 [INFO] [stderr] Downloaded openssl-sys v0.9.110 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded tokio-util v0.7.16 [INFO] [stderr] Downloaded openssl v0.10.74 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34820c0c40028444abd62872969245f17d656451a5b10796bf39efc5b6e1e30d [INFO] running `Command { std: "docker" "start" "-a" "34820c0c40028444abd62872969245f17d656451a5b10796bf39efc5b6e1e30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34820c0c40028444abd62872969245f17d656451a5b10796bf39efc5b6e1e30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34820c0c40028444abd62872969245f17d656451a5b10796bf39efc5b6e1e30d", kill_on_drop: false }` [INFO] [stdout] 34820c0c40028444abd62872969245f17d656451a5b10796bf39efc5b6e1e30d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b3c19f821d97bcb6cae97e4e4fe7aa0375e249c065c21b16c0f6c46e6a62d6 [INFO] running `Command { std: "docker" "start" "-a" "10b3c19f821d97bcb6cae97e4e4fe7aa0375e249c065c21b16c0f6c46e6a62d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling serde_json v1.0.145 [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 zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [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.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling threat-intel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.45s [INFO] running `Command { std: "docker" "inspect" "10b3c19f821d97bcb6cae97e4e4fe7aa0375e249c065c21b16c0f6c46e6a62d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b3c19f821d97bcb6cae97e4e4fe7aa0375e249c065c21b16c0f6c46e6a62d6", kill_on_drop: false }` [INFO] [stdout] 10b3c19f821d97bcb6cae97e4e4fe7aa0375e249c065c21b16c0f6c46e6a62d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 729b90ccadecc8c9a9c599870c2f5288d5ed611c302e990cc543b8738165db9b [INFO] running `Command { std: "docker" "start" "-a" "729b90ccadecc8c9a9c599870c2f5288d5ed611c302e990cc543b8738165db9b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling threat-intel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.83s [INFO] running `Command { std: "docker" "inspect" "729b90ccadecc8c9a9c599870c2f5288d5ed611c302e990cc543b8738165db9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729b90ccadecc8c9a9c599870c2f5288d5ed611c302e990cc543b8738165db9b", kill_on_drop: false }` [INFO] [stdout] 729b90ccadecc8c9a9c599870c2f5288d5ed611c302e990cc543b8738165db9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e1d3746e51587cb891cafb3f3ef4691e2f2e3ba0074366c1cd0272d3c22049b [INFO] running `Command { std: "docker" "start" "-a" "6e1d3746e51587cb891cafb3f3ef4691e2f2e3ba0074366c1cd0272d3c22049b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/threat_intel-74645ecd10b9c493) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test config::tests::test_enable_disable_source ... ok [INFO] [stdout] test config::tests::test_add_remove_source ... ok [INFO] [stdout] test feeds::tests::test_fetch_json_no_auth ... ignored [INFO] [stdout] test feeds::tests::test_fetch_with_api_key ... ignored [INFO] [stdout] test config::tests::test_get_sources_by_capability ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test feeds::tests::test_auth_type_variants ... ok [INFO] [stdout] test config::tests::test_get_enabled_sources ... ok [INFO] [stdout] test config::tests::test_get_source ... ok [INFO] [stdout] test sources::tests::test_source_creation ... ok [INFO] [stdout] test feeds::tests::test_security_integration ... ok [INFO] [stdout] test sources::tests::test_mitre_attack_source_creation ... ok [INFO] [stdout] test sources::tests::test_cve_source_creation ... ok [INFO] [stdout] test feeds::tests::test_fetcher_creation ... ok [INFO] [stdout] test feeds::tests::test_validate_source_authenticity ... ok [INFO] [stdout] test feeds::tests::test_validate_response_headers ... ok [INFO] [stdout] test sources::tests::test_osint_source_creation ... ok [INFO] [stdout] test feeds::tests::test_sanitize_input ... ok [INFO] [stdout] test feeds::tests::test_sanitize_response_data ... ok [INFO] [stdout] test feeds::tests::test_apply_tls_pinning ... ok [INFO] [stdout] test feeds::tests::test_sanitize_json_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.11s [INFO] [stdout] [INFO] [stderr] Doc-tests threat_intel [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e1d3746e51587cb891cafb3f3ef4691e2f2e3ba0074366c1cd0272d3c22049b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1d3746e51587cb891cafb3f3ef4691e2f2e3ba0074366c1cd0272d3c22049b", kill_on_drop: false }` [INFO] [stdout] 6e1d3746e51587cb891cafb3f3ef4691e2f2e3ba0074366c1cd0272d3c22049b