[INFO] fetching crate squalo 0.1.6... [INFO] testing squalo-0.1.6 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate squalo 0.1.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate squalo 0.1.6 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate squalo 0.1.6 [INFO] finished tweaking crates.io crate squalo 0.1.6 [INFO] tweaked toml for crates.io crate squalo 0.1.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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" "+beta-2022-02-22" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] fb4ce2cbb21a8594a404ec94b71586eb42ba13b867116758868c27e686823a26 [INFO] running `Command { std: "docker" "start" "-a" "fb4ce2cbb21a8594a404ec94b71586eb42ba13b867116758868c27e686823a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb4ce2cbb21a8594a404ec94b71586eb42ba13b867116758868c27e686823a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4ce2cbb21a8594a404ec94b71586eb42ba13b867116758868c27e686823a26", kill_on_drop: false }` [INFO] [stdout] fb4ce2cbb21a8594a404ec94b71586eb42ba13b867116758868c27e686823a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c858fbd7d573e443fab964837cb42268912c32c4013c6358e18aa0878921f6e8 [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" "c858fbd7d573e443fab964837cb42268912c32c4013c6358e18aa0878921f6e8", kill_on_drop: false }` [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling async-tls v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling polipo v0.2.5 [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "c858fbd7d573e443fab964837cb42268912c32c4013c6358e18aa0878921f6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c858fbd7d573e443fab964837cb42268912c32c4013c6358e18aa0878921f6e8", kill_on_drop: false }` [INFO] [stdout] c858fbd7d573e443fab964837cb42268912c32c4013c6358e18aa0878921f6e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede1a5f46fa4073e07d103e9233df1789ab89ec29ddaada78811682a114ddaba [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" "ede1a5f46fa4073e07d103e9233df1789ab89ec29ddaada78811682a114ddaba", kill_on_drop: false }` [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "ede1a5f46fa4073e07d103e9233df1789ab89ec29ddaada78811682a114ddaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede1a5f46fa4073e07d103e9233df1789ab89ec29ddaada78811682a114ddaba", kill_on_drop: false }` [INFO] [stdout] ede1a5f46fa4073e07d103e9233df1789ab89ec29ddaada78811682a114ddaba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 941591adf4c45e89bda073d76ec9fbc5bbfc90df6f6cef303e22d15ebc86cf45 [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" "941591adf4c45e89bda073d76ec9fbc5bbfc90df6f6cef303e22d15ebc86cf45", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/squalo-b5cfbdd7d795b9f9) [INFO] [stderr] Doc-tests squalo [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] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error[E0254]: the name `squalo` is defined multiple times [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#squalo; [INFO] [stdout] | ---------------------- previous import of the extern crate `squalo` here [INFO] [stdout] 3 | use squalo; [INFO] [stdout] | ^^^^^^ `squalo` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `squalo` 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 80) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `transmitter` in this scope [INFO] [stdout] --> src/lib.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnboundedSender` in this scope [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_channel::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/lib.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 4 | squalo::get_websockets_token().await; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `api_key` in this scope [INFO] [stdout] --> src/lib.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::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:42:53 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::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 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `callback` in this scope [INFO] [stdout] --> src/lib.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream_type` in this scope [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/lib.rs:67:77 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnboundedReceiver` in this scope [INFO] [stdout] --> src/lib.rs:67:87 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_channel::mpsc::UnboundedReceiver; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::mpsc::UnboundedReceiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_66_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.53s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "941591adf4c45e89bda073d76ec9fbc5bbfc90df6f6cef303e22d15ebc86cf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941591adf4c45e89bda073d76ec9fbc5bbfc90df6f6cef303e22d15ebc86cf45", kill_on_drop: false }` [INFO] [stdout] 941591adf4c45e89bda073d76ec9fbc5bbfc90df6f6cef303e22d15ebc86cf45