[INFO] fetching crate habitica-api 0.0.1... [INFO] testing habitica-api-0.0.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate habitica-api 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate habitica-api 0.0.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate habitica-api 0.0.1 [INFO] finished tweaking crates.io crate habitica-api 0.0.1 [INFO] tweaked toml for crates.io crate habitica-api 0.0.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded brotli v3.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 5fceb1d031f727461ba59df4ff10b4a920e4bc5f05ff11899b0cb78f080a300e [INFO] running `Command { std: "docker" "start" "-a" "5fceb1d031f727461ba59df4ff10b4a920e4bc5f05ff11899b0cb78f080a300e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fceb1d031f727461ba59df4ff10b4a920e4bc5f05ff11899b0cb78f080a300e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fceb1d031f727461ba59df4ff10b4a920e4bc5f05ff11899b0cb78f080a300e", kill_on_drop: false }` [INFO] [stdout] 5fceb1d031f727461ba59df4ff10b4a920e4bc5f05ff11899b0cb78f080a300e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f1c04d01d8b8db832c235133afec81fe84b2485015277b5f9f3a38d746ab8bd [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" "0f1c04d01d8b8db832c235133afec81fe84b2485015277b5f9f3a38d746ab8bd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling brotli v3.3.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling habitica-api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RequestBuilder` [INFO] [stdout] --> src/client.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, ClientBuilder, Method, RequestBuilder, Response, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/client.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "0f1c04d01d8b8db832c235133afec81fe84b2485015277b5f9f3a38d746ab8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1c04d01d8b8db832c235133afec81fe84b2485015277b5f9f3a38d746ab8bd", kill_on_drop: false }` [INFO] [stdout] 0f1c04d01d8b8db832c235133afec81fe84b2485015277b5f9f3a38d746ab8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a938d7c8a3cd7d85765c6d0f46baea7e3e8e7bc14d52bed51264357e310573b4 [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" "a938d7c8a3cd7d85765c6d0f46baea7e3e8e7bc14d52bed51264357e310573b4", kill_on_drop: false }` [INFO] [stderr] Compiling habitica-api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RequestBuilder` [INFO] [stdout] --> src/client.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, ClientBuilder, Method, RequestBuilder, Response, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/client.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestBuilder` [INFO] [stdout] --> src/client.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, ClientBuilder, Method, RequestBuilder, Response, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/client.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.43s [INFO] running `Command { std: "docker" "inspect" "a938d7c8a3cd7d85765c6d0f46baea7e3e8e7bc14d52bed51264357e310573b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a938d7c8a3cd7d85765c6d0f46baea7e3e8e7bc14d52bed51264357e310573b4", kill_on_drop: false }` [INFO] [stdout] a938d7c8a3cd7d85765c6d0f46baea7e3e8e7bc14d52bed51264357e310573b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aebbe9e5cacc0a8349f088c1dcf13c9cf600a619a583842589725048b6d013b0 [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" "aebbe9e5cacc0a8349f088c1dcf13c9cf600a619a583842589725048b6d013b0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RequestBuilder` [INFO] [stderr] --> src/client.rs:1:46 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest::{Client, ClientBuilder, Method, RequestBuilder, Response, Url}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `de::DeserializeOwned` [INFO] [stderr] --> src/client.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{Serialize, de::DeserializeOwned}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `habitica-api` (lib) generated 2 warnings [INFO] [stderr] warning: `habitica-api` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/habitica_api-fbbea0d306c5eb07) [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test client::tests::test_client_default ... ok [INFO] [stdout] test client::tests::test_client_with_auth_has_unmodified_auth ... ok [INFO] [stdout] test client::tests::test_client_new_has_no_auth ... ok [INFO] [stdout] test client::tests::test_client_creation_does_not_modify_url ... ok [INFO] [stdout] test client::tests::test_setting_auth ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests habitica-api [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" "aebbe9e5cacc0a8349f088c1dcf13c9cf600a619a583842589725048b6d013b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebbe9e5cacc0a8349f088c1dcf13c9cf600a619a583842589725048b6d013b0", kill_on_drop: false }` [INFO] [stdout] aebbe9e5cacc0a8349f088c1dcf13c9cf600a619a583842589725048b6d013b0