[INFO] cloning repository https://github.com/sonatype-nexus-community/cargo-pants [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonatype-nexus-community/cargo-pants" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonatype-nexus-community%2Fcargo-pants", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonatype-nexus-community%2Fcargo-pants'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 533286cbf196d5feeb9fa84096332d83a4d17ef0 [INFO] testing sonatype-nexus-community/cargo-pants against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonatype-nexus-community%2Fcargo-pants" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sonatype-nexus-community/cargo-pants on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/sonatype-nexus-community/cargo-pants [INFO] finished tweaking git repo https://github.com/sonatype-nexus-community/cargo-pants [INFO] tweaked toml for git repo https://github.com/sonatype-nexus-community/cargo-pants written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sonatype-nexus-community/cargo-pants already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.14.1 [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded packageurl v0.3.0 [INFO] [stderr] Downloaded tracing-subscriber v0.3.1 [INFO] [stderr] Downloaded term-table v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 668380c00831e8933419876150eb948e10938a52f3da2cdf383abb2e72a75e1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "668380c00831e8933419876150eb948e10938a52f3da2cdf383abb2e72a75e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "668380c00831e8933419876150eb948e10938a52f3da2cdf383abb2e72a75e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "668380c00831e8933419876150eb948e10938a52f3da2cdf383abb2e72a75e1c", kill_on_drop: false }` [INFO] [stdout] 668380c00831e8933419876150eb948e10938a52f3da2cdf383abb2e72a75e1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 576d8473d29e4b1a9b97ce6b0543d76e11a858605ad5b8b53daeb8328516ba97 [INFO] running `Command { std: "docker" "start" "-a" "576d8473d29e4b1a9b97ce6b0543d76e11a858605ad5b8b53daeb8328516ba97", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling term-table v1.3.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [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 tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling packageurl v0.3.0 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling camino v1.0.4 [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.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "576d8473d29e4b1a9b97ce6b0543d76e11a858605ad5b8b53daeb8328516ba97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576d8473d29e4b1a9b97ce6b0543d76e11a858605ad5b8b53daeb8328516ba97", kill_on_drop: false }` [INFO] [stdout] 576d8473d29e4b1a9b97ce6b0543d76e11a858605ad5b8b53daeb8328516ba97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf466e9a46840b2e767da75ceda56e6ec928f74e4c4c383a2095d321ba8703e4 [INFO] running `Command { std: "docker" "start" "-a" "cf466e9a46840b2e767da75ceda56e6ec928f74e4c4c383a2095d321ba8703e4", kill_on_drop: false }` [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling cargo-pants v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.28s [INFO] running `Command { std: "docker" "inspect" "cf466e9a46840b2e767da75ceda56e6ec928f74e4c4c383a2095d321ba8703e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf466e9a46840b2e767da75ceda56e6ec928f74e4c4c383a2095d321ba8703e4", kill_on_drop: false }` [INFO] [stdout] cf466e9a46840b2e767da75ceda56e6ec928f74e4c4c383a2095d321ba8703e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 361a59b56902fe9971f8f8de86db4cf0e07a1e6dc4a9277b4c173337f576d862 [INFO] running `Command { std: "docker" "start" "-a" "361a59b56902fe9971f8f8de86db4cf0e07a1e6dc4a9277b4c173337f576d862", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_pants-55d881a2363ea7b4) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test client::tests::test_parse_bytes_as_value ... ok [INFO] [stdout] test client::tests::component_report_url_with_empty_apikey ... ok [INFO] [stdout] test client::tests::new_ossindexclient ... ok [INFO] [stdout] test iq::tests::new_iqclient ... 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 cyclonedx::tests::can_generate_sbom_from_purls_test ... ok [INFO] [stdout] test client::tests::new_urlmaker ... 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_one_application ... ok [INFO] [stdout] test client::tests::test_post_json ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_iq-f201ee244480d3ca) [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.18s [INFO] [stdout] [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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_pants-80b290c5d2a685b7) [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.00s [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" "361a59b56902fe9971f8f8de86db4cf0e07a1e6dc4a9277b4c173337f576d862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361a59b56902fe9971f8f8de86db4cf0e07a1e6dc4a9277b4c173337f576d862", kill_on_drop: false }` [INFO] [stdout] 361a59b56902fe9971f8f8de86db4cf0e07a1e6dc4a9277b4c173337f576d862