[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] f3e4d480ce10d132b50a6b3d99e17c49a180d590 [INFO] testing sonatype-nexus-community/cargo-pants against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonatype-nexus-community%2Fcargo-pants" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sonatype-nexus-community/cargo-pants on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/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-11/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", 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] f7461b64689a3d0457a77887cfe7609f5a9690b2302398fd87a5b9a08a7055ba [INFO] running `Command { std: "docker" "start" "-a" "f7461b64689a3d0457a77887cfe7609f5a9690b2302398fd87a5b9a08a7055ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7461b64689a3d0457a77887cfe7609f5a9690b2302398fd87a5b9a08a7055ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7461b64689a3d0457a77887cfe7609f5a9690b2302398fd87a5b9a08a7055ba", kill_on_drop: false }` [INFO] [stdout] f7461b64689a3d0457a77887cfe7609f5a9690b2302398fd87a5b9a08a7055ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9aaade93f029576f52732a231fe16d53dd78aa3ace92e32ef080eaf505d968b [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" "f9aaade93f029576f52732a231fe16d53dd78aa3ace92e32ef080eaf505d968b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling platforms v0.1.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling termsize v0.1.6 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling mockito v0.15.1 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling cargo-pants v0.1.25 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "f9aaade93f029576f52732a231fe16d53dd78aa3ace92e32ef080eaf505d968b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9aaade93f029576f52732a231fe16d53dd78aa3ace92e32ef080eaf505d968b", kill_on_drop: false }` [INFO] [stdout] f9aaade93f029576f52732a231fe16d53dd78aa3ace92e32ef080eaf505d968b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff838b2f171700ee9803ac225b1fb484be51e425ab169134cdbc630333ac058 [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" "1ff838b2f171700ee9803ac225b1fb484be51e425ab169134cdbc630333ac058", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-pants v0.1.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | Err(p) => panic!(format!("Someshit {}", p)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | Err(p) => panic!("Someshit {}", p), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.80s [INFO] running `Command { std: "docker" "inspect" "1ff838b2f171700ee9803ac225b1fb484be51e425ab169134cdbc630333ac058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff838b2f171700ee9803ac225b1fb484be51e425ab169134cdbc630333ac058", kill_on_drop: false }` [INFO] [stdout] 1ff838b2f171700ee9803ac225b1fb484be51e425ab169134cdbc630333ac058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 0082455fd52a444cff898b2c9fd27428b71e4161c61f912c2ec22befc291128e [INFO] running `Command { std: "docker" "start" "-a" "0082455fd52a444cff898b2c9fd27428b71e4161c61f912c2ec22befc291128e", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/client.rs:172:30 [INFO] [stderr] | [INFO] [stderr] 172 | Err(p) => panic!(format!("Someshit {}", p)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | Err(p) => panic!("Someshit {}", p), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_pants-5d4735d3e58afeaa) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test client::tests::new_urlmaker ... ok [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 coordinate::tests::test_has_no_vulnerabilities ... ok [INFO] [stdout] test coordinate::tests::test_has_vulnerabilities ... ok [INFO] [stdout] test vulnerability::tests::test_divider ... ok [INFO] [stdout] test vulnerability::tests::test_section_without_label ... ok [INFO] [stdout] test vulnerability::tests::test_section_with_label ... ok [INFO] [stdout] test vulnerability::tests::test_title_style ... ok [INFO] [stdout] test coordinate::tests::test_parse_bytes ... ok [INFO] [stdout] test client::tests::new_ossindexclient ... ok [INFO] [stdout] test lockfile::tests::load_cargo_lockfile ... ok [INFO] [stdout] test client::tests::test_post_json ... ok [INFO] [stdout] test lockfile::tests::load_cargo_lockfile_nonexistant ... ok [INFO] [stdout] test lockfile::tests::load_cargo_lockfile_invalid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_pants-1ad87ef9fa500a19) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::empty_get_api_key ... ok [INFO] [stdout] test tests::write_package_output_non_vulnerable ... ok [INFO] [stdout] test tests::write_package_output_vulnerable ... ok [INFO] [stdout] test tests::get_summary_message_content ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 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" "0082455fd52a444cff898b2c9fd27428b71e4161c61f912c2ec22befc291128e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0082455fd52a444cff898b2c9fd27428b71e4161c61f912c2ec22befc291128e", kill_on_drop: false }` [INFO] [stdout] 0082455fd52a444cff898b2c9fd27428b71e4161c61f912c2ec22befc291128e