[INFO] updating cached repository https://github.com/sonatype-nexus-community/cargo-pants [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/sonatype-nexus-community/cargo-pants [INFO] [stderr] 9c77c78..02d8416 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 02d8416c2b48e87e93bef721cec4cfcf9824ca80 [INFO] testing sonatype-nexus-community/cargo-pants against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonatype-nexus-community%2Fcargo-pants" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sonatype-nexus-community/cargo-pants on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: unused manifest key: package.license_file [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: unused manifest key: package.license_file [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b404b5029156d2f235d3f017523a3aef7c8e4428d401b48c5d3b9e84a0988502 [INFO] running `"docker" "start" "-a" "b404b5029156d2f235d3f017523a3aef7c8e4428d401b48c5d3b9e84a0988502"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: package.license_file [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling platforms v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling dirs v1.0.5 [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 rand v0.5.6 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling cookie v0.12.0 [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 openssl v0.10.29 [INFO] [stderr] Compiling prettytable-rs v0.6.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.53 [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 cookie_store v0.7.0 [INFO] [stderr] Compiling mockito v0.15.1 [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 tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.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.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `"docker" "inspect" "b404b5029156d2f235d3f017523a3aef7c8e4428d401b48c5d3b9e84a0988502"` [INFO] running `"docker" "rm" "-f" "b404b5029156d2f235d3f017523a3aef7c8e4428d401b48c5d3b9e84a0988502"` [INFO] [stdout] b404b5029156d2f235d3f017523a3aef7c8e4428d401b48c5d3b9e84a0988502 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 2a0e8e9b7793e9510665836a65bcd73257fa06c826aba80762ce9ffcd8b376cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "2a0e8e9b7793e9510665836a65bcd73257fa06c826aba80762ce9ffcd8b376cc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: package.license_file [INFO] [stderr] Compiling cargo-pants v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `mockito` [INFO] [stderr] --> src/coordinate.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use mockito; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.20s [INFO] running `"docker" "inspect" "2a0e8e9b7793e9510665836a65bcd73257fa06c826aba80762ce9ffcd8b376cc"` [INFO] running `"docker" "rm" "-f" "2a0e8e9b7793e9510665836a65bcd73257fa06c826aba80762ce9ffcd8b376cc"` [INFO] [stdout] 2a0e8e9b7793e9510665836a65bcd73257fa06c826aba80762ce9ffcd8b376cc [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stdout] 6e0dff86ba231abbf294792cf0eeba0dcbf7d599f6549b1f57a6c3422cd00626 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6e0dff86ba231abbf294792cf0eeba0dcbf7d599f6549b1f57a6c3422cd00626"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: package.license_file [INFO] [stderr] warning: unused import: `mockito` [INFO] [stderr] --> src/coordinate.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use mockito; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cargo_pants-6b2af4c4bbde83d0 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test coordinate::tests::test_parse_bytes ... ok [INFO] [stdout] test client::tests::new_urlmaker ... ok [INFO] [stdout] test client::tests::new_ossindexclient ... ok [INFO] [stdout] test client::tests::test_parse_bytes_as_value ... ok [INFO] [stdout] test client::tests::test_post_json ... ok [INFO] [stdout] test lockfile::tests::load_cargo_lockfile ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cargo_pants-4b5c168fea8bcf72 [INFO] [stdout] test lockfile::tests::load_cargo_lockfile_invalid ... ok [INFO] [stdout] test lockfile::tests::load_cargo_lockfile_nonexistant ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [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 [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "6e0dff86ba231abbf294792cf0eeba0dcbf7d599f6549b1f57a6c3422cd00626"` [INFO] running `"docker" "rm" "-f" "6e0dff86ba231abbf294792cf0eeba0dcbf7d599f6549b1f57a6c3422cd00626"` [INFO] [stdout] 6e0dff86ba231abbf294792cf0eeba0dcbf7d599f6549b1f57a6c3422cd00626