[INFO] fetching crate bitbank-api 0.5.1... [INFO] checking bitbank-api-0.5.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate bitbank-api 0.5.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bitbank-api 0.5.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitbank-api 0.5.1 [INFO] finished tweaking crates.io crate bitbank-api 0.5.1 [INFO] tweaked toml for crates.io crate bitbank-api 0.5.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe46a18ac694466de5f0436e136e32172437c68ba6bdd00217aba70eb7e58a6f [INFO] running `Command { std: "docker" "start" "-a" "fe46a18ac694466de5f0436e136e32172437c68ba6bdd00217aba70eb7e58a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe46a18ac694466de5f0436e136e32172437c68ba6bdd00217aba70eb7e58a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe46a18ac694466de5f0436e136e32172437c68ba6bdd00217aba70eb7e58a6f", kill_on_drop: false }` [INFO] [stdout] fe46a18ac694466de5f0436e136e32172437c68ba6bdd00217aba70eb7e58a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebda45a172dc9361895a0da5a274712265c41bb70c7c32b86eeebbfe174dbd3 [INFO] running `Command { std: "docker" "start" "-a" "0ebda45a172dc9361895a0da5a274712265c41bb70c7c32b86eeebbfe174dbd3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling typed-builder v0.14.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking webpki v0.22.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking bitbank-api v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/depth_diff.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | let raw = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/depth_whole.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | let raw = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/ticker.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | do_connect(&room_id).await [INFO] [stdout] | ^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `room_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/transactions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | let st = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] 22 | let st = st.flat_map(|x| stream::iter(x.transactions)); [INFO] [stdout] 23 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/depth_diff.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | let raw = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/depth_whole.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | let raw = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/ticker.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | do_connect(&room_id).await [INFO] [stdout] | ^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `room_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room_id` [INFO] [stdout] --> src/stream/transactions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | let st = do_connect::(&room_id).await?; [INFO] [stdout] | -------- `room_id` is borrowed here [INFO] [stdout] 22 | let st = st.flat_map(|x| stream::iter(x.transactions)); [INFO] [stdout] 23 | Ok(st) [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitbank-api` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitbank-api` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0ebda45a172dc9361895a0da5a274712265c41bb70c7c32b86eeebbfe174dbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebda45a172dc9361895a0da5a274712265c41bb70c7c32b86eeebbfe174dbd3", kill_on_drop: false }` [INFO] [stdout] 0ebda45a172dc9361895a0da5a274712265c41bb70c7c32b86eeebbfe174dbd3