[INFO] fetching crate lib-mal 0.2.0... [INFO] testing lib-mal-0.2.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate lib-mal 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate lib-mal 0.2.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lib-mal 0.2.0 [INFO] finished tweaking crates.io crate lib-mal 0.2.0 [INFO] tweaked toml for crates.io crate lib-mal 0.2.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] a53c58664285ce50eb48a25c8ce2bfcd62d2c8e69e0324f599ae3c09008f3de2 [INFO] running `Command { std: "docker" "start" "-a" "a53c58664285ce50eb48a25c8ce2bfcd62d2c8e69e0324f599ae3c09008f3de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53c58664285ce50eb48a25c8ce2bfcd62d2c8e69e0324f599ae3c09008f3de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53c58664285ce50eb48a25c8ce2bfcd62d2c8e69e0324f599ae3c09008f3de2", kill_on_drop: false }` [INFO] [stdout] a53c58664285ce50eb48a25c8ce2bfcd62d2c8e69e0324f599ae3c09008f3de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--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] 30835fed187127e37ca942373e01d827267eeeb5829af8eb60491fc3afdaa4bb [INFO] running `Command { std: "docker" "start" "-a" "30835fed187127e37ca942373e01d827267eeeb5829af8eb60491fc3afdaa4bb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [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 cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [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 tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pkce v0.1.1 [INFO] [stderr] Compiling tiny_http v0.8.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling lib-mal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "30835fed187127e37ca942373e01d827267eeeb5829af8eb60491fc3afdaa4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30835fed187127e37ca942373e01d827267eeeb5829af8eb60491fc3afdaa4bb", kill_on_drop: false }` [INFO] [stdout] 30835fed187127e37ca942373e01d827267eeeb5829af8eb60491fc3afdaa4bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b399190e2686edfe50b485671c2efa2786aebeb21c527176dc29f56e7b0cb0b [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" "7b399190e2686edfe50b485671c2efa2786aebeb21c527176dc29f56e7b0cb0b", kill_on_drop: false }` [INFO] [stderr] Compiling lib-mal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "7b399190e2686edfe50b485671c2efa2786aebeb21c527176dc29f56e7b0cb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b399190e2686edfe50b485671c2efa2786aebeb21c527176dc29f56e7b0cb0b", kill_on_drop: false }` [INFO] [stdout] 7b399190e2686edfe50b485671c2efa2786aebeb21c527176dc29f56e7b0cb0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 410e3ae1d9842f2498775a5b58933ce4560128e12a12531d3908b92bf6219b2e [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" "410e3ae1d9842f2498775a5b58933ce4560128e12a12531d3908b92bf6219b2e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lib_mal-7e59e688eef33f9e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lib-mal [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - MALClient::get_auth_parts (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - MALClient::auth (line 135) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - MALClient::get_auth_parts (line 109) stdout ---- [INFO] [stdout] error: expected one of `::`, `;`, or `as`, found `#` [INFO] [stdout] --> src/lib.rs:113:2 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio [INFO] [stdout] | - expected one of `::`, `;`, or `as` [INFO] [stdout] 6 | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MALClient::auth (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUR_REDIRECT_URI_HERE` in this scope [INFO] [stdout] --> src/lib.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 4 | let redirect_uri = [YOUR_REDIRECT_URI_HERE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MALClient` [INFO] [stdout] --> src/lib.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 5 | let client = MALClient::new([YOUR_SECRET_HERE]).await; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use lib_mal::MALClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUR_SECRET_HERE` in this scope [INFO] [stdout] --> src/lib.rs:139:35 [INFO] [stdout] | [INFO] [stdout] 5 | let client = MALClient::new([YOUR_SECRET_HERE]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:137:2 [INFO] [stdout] | [INFO] [stdout] 3 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - MALClient::auth (line 135) [INFO] [stdout] src/lib.rs - MALClient::get_auth_parts (line 109) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "410e3ae1d9842f2498775a5b58933ce4560128e12a12531d3908b92bf6219b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410e3ae1d9842f2498775a5b58933ce4560128e12a12531d3908b92bf6219b2e", kill_on_drop: false }` [INFO] [stdout] 410e3ae1d9842f2498775a5b58933ce4560128e12a12531d3908b92bf6219b2e