[INFO] fetching crate cargo-pants 0.4.5... [INFO] testing cargo-pants-0.4.5 against master#10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287 for pr-94775 [INFO] extracting crate cargo-pants 0.4.5 into /workspace/builds/worker-96/source [INFO] validating manifest of crates.io crate cargo-pants 0.4.5 on toolchain 10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-96/source/.cargo/config [INFO] started tweaking crates.io crate cargo-pants 0.4.5 [INFO] finished tweaking crates.io crate cargo-pants 0.4.5 [INFO] tweaked toml for crates.io crate cargo-pants 0.4.5 written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate crates.io crate cargo-pants 0.4.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79801e4c20ab38ebf09f62d4c2725593e5e87b6c13f85751b8df63c109ee57f6 [INFO] running `Command { std: "docker" "start" "-a" "79801e4c20ab38ebf09f62d4c2725593e5e87b6c13f85751b8df63c109ee57f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79801e4c20ab38ebf09f62d4c2725593e5e87b6c13f85751b8df63c109ee57f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79801e4c20ab38ebf09f62d4c2725593e5e87b6c13f85751b8df63c109ee57f6", kill_on_drop: false }` [INFO] [stdout] 79801e4c20ab38ebf09f62d4c2725593e5e87b6c13f85751b8df63c109ee57f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93db38fc7a41887ea773aa98707d2c53614c15e353cbbc083bd4ab14f55c1d24 [INFO] running `Command { std: "docker" "start" "-a" "93db38fc7a41887ea773aa98707d2c53614c15e353cbbc083bd4ab14f55c1d24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [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 log v0.4.14 [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 pkg-config v0.3.19 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.15 [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 matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling camino v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [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 regex v1.5.4 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling term-table v1.3.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [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 tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling packageurl v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling cargo_metadata v0.14.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling cargo-pants v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "93db38fc7a41887ea773aa98707d2c53614c15e353cbbc083bd4ab14f55c1d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93db38fc7a41887ea773aa98707d2c53614c15e353cbbc083bd4ab14f55c1d24", kill_on_drop: false }` [INFO] [stdout] 93db38fc7a41887ea773aa98707d2c53614c15e353cbbc083bd4ab14f55c1d24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afa4377fb79b7d815e0d0e8326c7c052671ae2b0e76aee822dbf1b3754352b4e [INFO] running `Command { std: "docker" "start" "-a" "afa4377fb79b7d815e0d0e8326c7c052671ae2b0e76aee822dbf1b3754352b4e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling difference v2.0.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.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.95s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_pants-4e40ecf659f6def3) [INFO] [stderr] Executable unittests src/bin/iq/main.rs (/opt/rustwide/target/debug/deps/cargo_iq-86adffffab653828) [INFO] [stderr] Executable unittests src/bin/pants/main.rs (/opt/rustwide/target/debug/deps/cargo_pants-92e1dfe0d3476f51) [INFO] running `Command { std: "docker" "inspect" "afa4377fb79b7d815e0d0e8326c7c052671ae2b0e76aee822dbf1b3754352b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa4377fb79b7d815e0d0e8326c7c052671ae2b0e76aee822dbf1b3754352b4e", kill_on_drop: false }` [INFO] [stdout] afa4377fb79b7d815e0d0e8326c7c052671ae2b0e76aee822dbf1b3754352b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d791d7b3da063fef6eb743cab7c7d166403c73b502c2c9e0b66fcfa7e6d5610f [INFO] running `Command { std: "docker" "start" "-a" "d791d7b3da063fef6eb743cab7c7d166403c73b502c2c9e0b66fcfa7e6d5610f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_pants-4e40ecf659f6def3) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test client::tests::component_report_url_with_empty_apikey ... ok [INFO] [stdout] test client::tests::new_urlmaker ... ok [INFO] [stdout] test client::tests::test_parse_bytes_as_value ... ok [INFO] [stdout] test coordinate::tests::test_has_no_vulnerabilities ... ok [INFO] [stdout] test coordinate::tests::test_has_vulnerabilities ... ok [INFO] [stdout] test coordinate::tests::test_parse_bytes ... 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_audit_with_iq_server_when_applications_empty ... ok [INFO] [stdout] test iq::tests::test_get_internal_app_id_when_empty ... ok [INFO] [stderr] Running unittests src/bin/iq/main.rs (/opt/rustwide/target/debug/deps/cargo_iq-86adffffab653828) [INFO] [stdout] test iq::tests::test_get_internal_app_id_one_application ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/pants/main.rs (/opt/rustwide/target/debug/deps/cargo_pants-92e1dfe0d3476f51) [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] [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" "d791d7b3da063fef6eb743cab7c7d166403c73b502c2c9e0b66fcfa7e6d5610f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d791d7b3da063fef6eb743cab7c7d166403c73b502c2c9e0b66fcfa7e6d5610f", kill_on_drop: false }` [INFO] [stdout] d791d7b3da063fef6eb743cab7c7d166403c73b502c2c9e0b66fcfa7e6d5610f