[INFO] fetching crate squalo 0.1.6... [INFO] testing squalo-0.1.6 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate squalo 0.1.6 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate squalo 0.1.6 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 229 packages to latest compatible versions [INFO] [stderr] Adding async-tungstenite v0.13.1 (available: v0.31.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-tls v0.11.0 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded polipo v0.2.5 [INFO] [stderr] Downloaded async-tungstenite v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cda60a35d25ed668bd1145c951cb28a96e7c0410a645be827bfe0cdb3646697 [INFO] running `Command { std: "docker" "start" "-a" "6cda60a35d25ed668bd1145c951cb28a96e7c0410a645be827bfe0cdb3646697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cda60a35d25ed668bd1145c951cb28a96e7c0410a645be827bfe0cdb3646697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cda60a35d25ed668bd1145c951cb28a96e7c0410a645be827bfe0cdb3646697", kill_on_drop: false }` [INFO] [stdout] 6cda60a35d25ed668bd1145c951cb28a96e7c0410a645be827bfe0cdb3646697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5f74acf52fb9cc69684a793edf85cd3c4fadefe11ee68313cd36e000d273d7d [INFO] running `Command { std: "docker" "start" "-a" "e5f74acf52fb9cc69684a793edf85cd3c4fadefe11ee68313cd36e000d273d7d", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling async-tls v0.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling polipo v0.2.5 [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.49s [INFO] running `Command { std: "docker" "inspect" "e5f74acf52fb9cc69684a793edf85cd3c4fadefe11ee68313cd36e000d273d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f74acf52fb9cc69684a793edf85cd3c4fadefe11ee68313cd36e000d273d7d", kill_on_drop: false }` [INFO] [stdout] e5f74acf52fb9cc69684a793edf85cd3c4fadefe11ee68313cd36e000d273d7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b063614d78958f3e1143067e6bace1327d96b8ffb0c14921fc6b661919f450f4 [INFO] running `Command { std: "docker" "start" "-a" "b063614d78958f3e1143067e6bace1327d96b8ffb0c14921fc6b661919f450f4", kill_on_drop: false }` [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "b063614d78958f3e1143067e6bace1327d96b8ffb0c14921fc6b661919f450f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b063614d78958f3e1143067e6bace1327d96b8ffb0c14921fc6b661919f450f4", kill_on_drop: false }` [INFO] [stdout] b063614d78958f3e1143067e6bace1327d96b8ffb0c14921fc6b661919f450f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5714c3965e24f1cd533e3a3b57e19c2721fbf1ac165e3e76cb427c9a3f0657ab [INFO] running `Command { std: "docker" "start" "-a" "5714c3965e24f1cd533e3a3b57e19c2721fbf1ac165e3e76cb427c9a3f0657ab", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/squalo-efbe85d71ea7c3a6) [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] [stderr] Doc-tests squalo [INFO] [stdout] [INFO] [stdout] running 8 tests [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 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... 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 41) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 5 | squalo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `squalo::set_kraken_api_credentials` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 5 - squalo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] 5 + squalo::set_kraken_api_credentials { api_key: String, api_secret: String }; [INFO] [stdout] | [INFO] [stdout] help: if `squalo::set_kraken_api_credentials` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 5 - squalo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] 5 + squalo::set_kraken_api_credentials(String, String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:` [INFO] [stdout] --> src/lib.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 5 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error[E0254]: the name `squalo` is defined multiple times [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#squalo; [INFO] [stdout] | ---------------------- previous import of the extern crate `squalo` here [INFO] [stdout] 4 | 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 1 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 52) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 5 | squalo::get_websockets_token().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 80) stdout ---- [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/lib.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 5 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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 1.52s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5714c3965e24f1cd533e3a3b57e19c2721fbf1ac165e3e76cb427c9a3f0657ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5714c3965e24f1cd533e3a3b57e19c2721fbf1ac165e3e76cb427c9a3f0657ab", kill_on_drop: false }` [INFO] [stdout] 5714c3965e24f1cd533e3a3b57e19c2721fbf1ac165e3e76cb427c9a3f0657ab