[INFO] crate mojang-api 0.6.1 is already in cache [INFO] testing mojang-api-0.6.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate mojang-api 0.6.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate mojang-api 0.6.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate mojang-api 0.6.1 [INFO] finished tweaking crates.io crate mojang-api 0.6.1 [INFO] tweaked toml for crates.io crate mojang-api 0.6.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 274ff0e9504db7c01c487a05f76d1280eba820025da7c20c7a27c35fe1da3817 [INFO] running `"docker" "start" "-a" "274ff0e9504db7c01c487a05f76d1280eba820025da7c20c7a27c35fe1da3817"` [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling mojang-api v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `"docker" "inspect" "274ff0e9504db7c01c487a05f76d1280eba820025da7c20c7a27c35fe1da3817"` [INFO] running `"docker" "rm" "-f" "274ff0e9504db7c01c487a05f76d1280eba820025da7c20c7a27c35fe1da3817"` [INFO] [stdout] 274ff0e9504db7c01c487a05f76d1280eba820025da7c20c7a27c35fe1da3817 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ed9a8cb15e0f6ebdd0586145e998ac25017f9661fa7f644fc43d19789935619 [INFO] running `"docker" "start" "-a" "4ed9a8cb15e0f6ebdd0586145e998ac25017f9661fa7f644fc43d19789935619"` [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling extend v0.1.1 [INFO] [stderr] Compiling assert-json-diff v1.0.3 [INFO] [stderr] Compiling mockito v0.23.3 [INFO] [stderr] Compiling mojang-api v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 35.78s [INFO] running `"docker" "inspect" "4ed9a8cb15e0f6ebdd0586145e998ac25017f9661fa7f644fc43d19789935619"` [INFO] running `"docker" "rm" "-f" "4ed9a8cb15e0f6ebdd0586145e998ac25017f9661fa7f644fc43d19789935619"` [INFO] [stdout] 4ed9a8cb15e0f6ebdd0586145e998ac25017f9661fa7f644fc43d19789935619 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c8a0eec296a155b9d325b308e9ec260090d4869522aa61b462d67da7edf9884 [INFO] running `"docker" "start" "-a" "0c8a0eec296a155b9d325b308e9ec260090d4869522aa61b462d67da7edf9884"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mojang_api-637f34d8fda784b6 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_hexdigest ... ok [INFO] [stdout] test tests::test_error_equality ... ok [INFO] [stdout] test tests::test_client_login ... ok [INFO] [stdout] test tests::test_server_auth ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests mojang-api [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - client_auth (line 348) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/lib.rs - server_auth (line 166) ... ok [INFO] [stdout] test src/lib.rs - client_login (line 293) ... FAILED [INFO] [stdout] test src/lib.rs - server_hash (line 214) ... ok [INFO] [stdout] test src/lib.rs - hexdigest (line 232) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - client_login (line 293) stdout ---- [INFO] [stdout] error[E0277]: `std::option::Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 7 | println!("User email: {}", response.user.email); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `std::option::Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - client_login (line 293) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0c8a0eec296a155b9d325b308e9ec260090d4869522aa61b462d67da7edf9884"` [INFO] running `"docker" "rm" "-f" "0c8a0eec296a155b9d325b308e9ec260090d4869522aa61b462d67da7edf9884"` [INFO] [stdout] 0c8a0eec296a155b9d325b308e9ec260090d4869522aa61b462d67da7edf9884