[INFO] crate mojang-api 0.6.1 is already in cache [INFO] testing mojang-api-0.6.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate mojang-api 0.6.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mojang-api 0.6.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b9f55a5f572d7ca8a8e3ec9f860f45cfb5bf042107e92b6ebc7430326404159 [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" "9b9f55a5f572d7ca8a8e3ec9f860f45cfb5bf042107e92b6ebc7430326404159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b9f55a5f572d7ca8a8e3ec9f860f45cfb5bf042107e92b6ebc7430326404159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9f55a5f572d7ca8a8e3ec9f860f45cfb5bf042107e92b6ebc7430326404159", kill_on_drop: false }` [INFO] [stdout] 9b9f55a5f572d7ca8a8e3ec9f860f45cfb5bf042107e92b6ebc7430326404159 [INFO] running `Command { std: "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=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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2eade7cc1f50c697e94887e5bf831892992973b0d427dcfaec804f4105cf5a [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" "1d2eade7cc1f50c697e94887e5bf831892992973b0d427dcfaec804f4105cf5a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling mojang-api v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "1d2eade7cc1f50c697e94887e5bf831892992973b0d427dcfaec804f4105cf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2eade7cc1f50c697e94887e5bf831892992973b0d427dcfaec804f4105cf5a", kill_on_drop: false }` [INFO] [stdout] 1d2eade7cc1f50c697e94887e5bf831892992973b0d427dcfaec804f4105cf5a [INFO] running `Command { std: "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=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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] feb2231fc9660541a4c4f18519255e5ee382f3c7786f5bff3c019c4b6bec7e8d [INFO] running `Command { std: "docker" "start" "-a" "feb2231fc9660541a4c4f18519255e5ee382f3c7786f5bff3c019c4b6bec7e8d", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [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 19.80s [INFO] running `Command { std: "docker" "inspect" "feb2231fc9660541a4c4f18519255e5ee382f3c7786f5bff3c019c4b6bec7e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb2231fc9660541a4c4f18519255e5ee382f3c7786f5bff3c019c4b6bec7e8d", kill_on_drop: false }` [INFO] [stdout] feb2231fc9660541a4c4f18519255e5ee382f3c7786f5bff3c019c4b6bec7e8d [INFO] running `Command { std: "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=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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3784af521f11bb0861e49e3e3058a0b72eeba2fe9e4bc39f56ec690172f3420f [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" "3784af521f11bb0861e49e3e3058a0b72eeba2fe9e4bc39f56ec690172f3420f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mojang_api-7677d38e94530940 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_error_equality ... ok [INFO] [stdout] test tests::test_hexdigest ... ok [INFO] [stdout] test tests::test_server_auth ... ok [INFO] [stdout] test tests::test_client_login ... 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 `Command { std: "docker" "inspect" "3784af521f11bb0861e49e3e3058a0b72eeba2fe9e4bc39f56ec690172f3420f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3784af521f11bb0861e49e3e3058a0b72eeba2fe9e4bc39f56ec690172f3420f", kill_on_drop: false }` [INFO] [stdout] 3784af521f11bb0861e49e3e3058a0b72eeba2fe9e4bc39f56ec690172f3420f