[INFO] fetching crate cargo-pants 0.4.7... [INFO] testing cargo-pants-0.4.7 against master#0e21a27075a8c508f00d1a4430497f17ce93d5c9 for pr-98839 [INFO] extracting crate cargo-pants 0.4.7 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cargo-pants 0.4.7 on toolchain 0e21a27075a8c508f00d1a4430497f17ce93d5c9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking crates.io crate cargo-pants 0.4.7 [INFO] finished tweaking crates.io crate cargo-pants 0.4.7 [INFO] tweaked toml for crates.io crate cargo-pants 0.4.7 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate cargo-pants 0.4.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.14.1 [INFO] [stderr] Downloaded packageurl v0.3.0 [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded camino v1.0.4 [INFO] [stderr] Downloaded cargo-platform v0.1.1 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded tracing-subscriber v0.3.1 [INFO] [stderr] Downloaded term-table v1.3.2 [INFO] [stderr] Downloaded serde_json v1.0.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104065daf90eb721d60121d851dda5c1c002888c34230076a6b7e51714f85a72 [INFO] running `Command { std: "docker" "start" "-a" "104065daf90eb721d60121d851dda5c1c002888c34230076a6b7e51714f85a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104065daf90eb721d60121d851dda5c1c002888c34230076a6b7e51714f85a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104065daf90eb721d60121d851dda5c1c002888c34230076a6b7e51714f85a72", kill_on_drop: false }` [INFO] [stdout] 104065daf90eb721d60121d851dda5c1c002888c34230076a6b7e51714f85a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c116f404a4da475f007b74c32ffb0c15cfaff0e6c7ba58c379db0c55d68ad334 [INFO] running `Command { std: "docker" "start" "-a" "c116f404a4da475f007b74c32ffb0c15cfaff0e6c7ba58c379db0c55d68ad334", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling camino v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling term-table v1.3.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling packageurl v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cargo_metadata v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling cargo-pants v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.90s [INFO] running `Command { std: "docker" "inspect" "c116f404a4da475f007b74c32ffb0c15cfaff0e6c7ba58c379db0c55d68ad334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c116f404a4da475f007b74c32ffb0c15cfaff0e6c7ba58c379db0c55d68ad334", kill_on_drop: false }` [INFO] [stdout] c116f404a4da475f007b74c32ffb0c15cfaff0e6c7ba58c379db0c55d68ad334 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6b1998bc3c06728f15b1f791575ce20e03f61aac7bb361b16f11d6087aa8b5b [INFO] running `Command { std: "docker" "start" "-a" "e6b1998bc3c06728f15b1f791575ce20e03f61aac7bb361b16f11d6087aa8b5b", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling cargo-pants v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.79s [INFO] running `Command { std: "docker" "inspect" "e6b1998bc3c06728f15b1f791575ce20e03f61aac7bb361b16f11d6087aa8b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b1998bc3c06728f15b1f791575ce20e03f61aac7bb361b16f11d6087aa8b5b", kill_on_drop: false }` [INFO] [stdout] e6b1998bc3c06728f15b1f791575ce20e03f61aac7bb361b16f11d6087aa8b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 349ba58f6fbce00165caec794d63dd4563f7a2a84cfaae84c856bb4fdbcc237b [INFO] running `Command { std: "docker" "start" "-a" "349ba58f6fbce00165caec794d63dd4563f7a2a84cfaae84c856bb4fdbcc237b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_pants-8b2f68547b599a53) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test client::tests::test_parse_bytes_as_value ... ok [INFO] [stdout] test client::tests::new_urlmaker ... ok [INFO] [stdout] test coordinate::tests::test_parse_bytes ... ok [INFO] [stdout] test coordinate::tests::test_has_vulnerabilities ... ok [INFO] [stdout] test client::tests::component_report_url_with_empty_apikey ... ok [INFO] [stdout] test coordinate::tests::test_has_no_vulnerabilities ... ok [INFO] [stdout] test iq::tests::new_iqclient ... ok [INFO] [stdout] test client::tests::new_ossindexclient ... ok [INFO] [stdout] test cyclonedx::tests::can_generate_sbom_from_purls_test ... ok [INFO] [stdout] test client::tests::test_post_json ... ok [INFO] [stdout] test iq::tests::test_get_internal_app_id_one_application ... ok [INFO] [stdout] test iq::tests::test_audit_with_iq_server_when_applications_empty ... ok [INFO] [stdout] test iq::tests::test_get_internal_app_id_when_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/iq/main.rs (/opt/rustwide/target/debug/deps/cargo_iq-356a7e94ec22fce1) [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 unittests src/bin/pants/main.rs (/opt/rustwide/target/debug/deps/cargo_pants-02c883686fff8b21) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::get_summary_message_content ... ok [INFO] [stdout] test tests::write_package_output_non_vulnerable ... ok [INFO] [stdout] test tests::write_package_output_vulnerable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests cargo-pants [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" "349ba58f6fbce00165caec794d63dd4563f7a2a84cfaae84c856bb4fdbcc237b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349ba58f6fbce00165caec794d63dd4563f7a2a84cfaae84c856bb4fdbcc237b", kill_on_drop: false }` [INFO] [stdout] 349ba58f6fbce00165caec794d63dd4563f7a2a84cfaae84c856bb4fdbcc237b