[INFO] cloning repository https://github.com/paasar/vain-yksi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paasar/vain-yksi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaasar%2Fvain-yksi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaasar%2Fvain-yksi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa7ed31742d04d9af005af7c5ac92abea9a82c74 [INFO] checking paasar/vain-yksi against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaasar%2Fvain-yksi" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paasar/vain-yksi 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 git repo https://github.com/paasar/vain-yksi [INFO] finished tweaking git repo https://github.com/paasar/vain-yksi [INFO] tweaked toml for git repo https://github.com/paasar/vain-yksi written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paasar/vain-yksi already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 206d98157a93c1fd32f4bf86ec24923893337c90322dc3c5c5bc178db351a7fc [INFO] running `Command { std: "docker" "start" "-a" "206d98157a93c1fd32f4bf86ec24923893337c90322dc3c5c5bc178db351a7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "206d98157a93c1fd32f4bf86ec24923893337c90322dc3c5c5bc178db351a7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "206d98157a93c1fd32f4bf86ec24923893337c90322dc3c5c5bc178db351a7fc", kill_on_drop: false }` [INFO] [stdout] 206d98157a93c1fd32f4bf86ec24923893337c90322dc3c5c5bc178db351a7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 421e9a92c0c30524b2650afac878ed6ab4f740fbb6776e821cb78cc2d341c92a [INFO] running `Command { std: "docker" "start" "-a" "421e9a92c0c30524b2650afac878ed6ab4f740fbb6776e821cb78cc2d341c92a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking urlencoding v2.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking vain-yksi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 163 | async fn start_game(games: &Games, username: &str) -> WsClient { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `games` is a reference that is only valid in the function body [INFO] [stdout] 164 | let route = new_route(games); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `games` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 173 | async fn join_game(games: &Games, game_id: &str, username: &str) -> WsClient { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `games` is a reference that is only valid in the function body [INFO] [stdout] 174 | let route = join_route(games); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `games` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `games` does not live long enough [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 48 | let games: Games = Arc::new(Mutex::new(game_container)); [INFO] [stdout] | ----- binding `games` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | new_route(&games) [INFO] [stdout] | ----------^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `games` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] | - `games` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vain-yksi` (bin "vain-yksi") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vain-yksi` (bin "vain-yksi" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "421e9a92c0c30524b2650afac878ed6ab4f740fbb6776e821cb78cc2d341c92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421e9a92c0c30524b2650afac878ed6ab4f740fbb6776e821cb78cc2d341c92a", kill_on_drop: false }` [INFO] [stdout] 421e9a92c0c30524b2650afac878ed6ab4f740fbb6776e821cb78cc2d341c92a