[INFO] fetching crate polipo 0.2.5... [INFO] testing polipo-0.2.5 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate polipo 0.2.5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate polipo 0.2.5 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate polipo 0.2.5 [INFO] finished tweaking crates.io crate polipo 0.2.5 [INFO] tweaked toml for crates.io crate polipo 0.2.5 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 33d85f741b9f6673489f9be9fedb64660b6a643ad73267c0a2f21e16ace876de [INFO] running `Command { std: "docker" "start" "-a" "33d85f741b9f6673489f9be9fedb64660b6a643ad73267c0a2f21e16ace876de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d85f741b9f6673489f9be9fedb64660b6a643ad73267c0a2f21e16ace876de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d85f741b9f6673489f9be9fedb64660b6a643ad73267c0a2f21e16ace876de", kill_on_drop: false }` [INFO] [stdout] 33d85f741b9f6673489f9be9fedb64660b6a643ad73267c0a2f21e16ace876de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 986867a561de1b8baa2f51c9ecdcfe1dedbef6a92e65b2383300362267b47294 [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" "986867a561de1b8baa2f51c9ecdcfe1dedbef6a92e65b2383300362267b47294", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling polipo v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "986867a561de1b8baa2f51c9ecdcfe1dedbef6a92e65b2383300362267b47294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986867a561de1b8baa2f51c9ecdcfe1dedbef6a92e65b2383300362267b47294", kill_on_drop: false }` [INFO] [stdout] 986867a561de1b8baa2f51c9ecdcfe1dedbef6a92e65b2383300362267b47294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3112b756709979fc345a28d4445b37134b93a7c6b22bfd0fe93bc1fe1a2b067c [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" "3112b756709979fc345a28d4445b37134b93a7c6b22bfd0fe93bc1fe1a2b067c", 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] [stderr] Compiling polipo v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "3112b756709979fc345a28d4445b37134b93a7c6b22bfd0fe93bc1fe1a2b067c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3112b756709979fc345a28d4445b37134b93a7c6b22bfd0fe93bc1fe1a2b067c", kill_on_drop: false }` [INFO] [stdout] 3112b756709979fc345a28d4445b37134b93a7c6b22bfd0fe93bc1fe1a2b067c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8507e0f1ecdd314359ca62411083e26c3e0d60568624421f315eba6ba2746625 [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" "8507e0f1ecdd314359ca62411083e26c3e0d60568624421f315eba6ba2746625", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/polipo-004e87915372fcb3) [INFO] [stdout] [INFO] [stderr] Doc-tests polipo [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `api_key` in this scope [INFO] [stdout] --> src/lib.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 4 | polipo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api_secret` in this scope [INFO] [stdout] --> src/lib.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 4 | polipo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0254]: the name `polipo` is defined multiple times [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#polipo; [INFO] [stdout] | ---------------------- previous import of the extern crate `polipo` here [INFO] [stdout] 3 | use polipo; [INFO] [stdout] | ^^^^^^ `polipo` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `polipo` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `method` in this scope [INFO] [stdout] --> src/lib.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 4 | polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url_encoded_body` in this scope [INFO] [stdout] --> src/lib.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 4 | polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 4 | polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [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 - (line 37) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8507e0f1ecdd314359ca62411083e26c3e0d60568624421f315eba6ba2746625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8507e0f1ecdd314359ca62411083e26c3e0d60568624421f315eba6ba2746625", kill_on_drop: false }` [INFO] [stdout] 8507e0f1ecdd314359ca62411083e26c3e0d60568624421f315eba6ba2746625