[INFO] cloning repository https://github.com/Ereski/state-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ereski/state-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bf5e1fc6390a232c9a6faba470153f9d9189545 [INFO] testing Ereski/state-proxy against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ereski/state-proxy on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ereski/state-proxy [INFO] finished tweaking git repo https://github.com/Ereski/state-proxy [INFO] tweaked toml for git repo https://github.com/Ereski/state-proxy written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate git repo https://github.com/Ereski/state-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pem v1.0.1 [INFO] [stderr] Downloaded tower-http v0.1.2 [INFO] [stderr] Downloaded json-patch v0.2.6 [INFO] [stderr] Downloaded treediff v3.0.2 [INFO] [stderr] Downloaded kube-core v0.64.0 [INFO] [stderr] Downloaded password-hash v0.2.3 [INFO] [stderr] Downloaded tower v0.4.11 [INFO] [stderr] Downloaded thrussh-keys v0.21.0 [INFO] [stderr] Downloaded kube-client v0.64.0 [INFO] [stderr] Downloaded kube-runtime v0.64.0 [INFO] [stderr] Downloaded kube v0.64.0 [INFO] [stderr] Downloaded filedesc v0.5.0 [INFO] [stderr] Downloaded bcrypt-pbkdf v0.6.2 [INFO] [stderr] Downloaded cryptovec v0.6.1 [INFO] [stderr] Downloaded thrussh v0.33.5 [INFO] [stderr] Downloaded thrussh-libsodium v0.2.1 [INFO] [stderr] Downloaded base64ct v1.2.0 [INFO] [stderr] Downloaded tuple-transpose v0.1.0 [INFO] [stderr] Downloaded k8s-openapi v0.13.1 [INFO] [stderr] Downloaded libsodium-sys v0.2.7 [INFO] [stderr] Downloaded tokio-seqpacket v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c24ce211f5f900dff5de455451db1b64933e1ef055087cff41d876855346a8b3 [INFO] running `Command { std: "docker" "start" "-a" "c24ce211f5f900dff5de455451db1b64933e1ef055087cff41d876855346a8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c24ce211f5f900dff5de455451db1b64933e1ef055087cff41d876855346a8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c24ce211f5f900dff5de455451db1b64933e1ef055087cff41d876855346a8b3", kill_on_drop: false }` [INFO] [stdout] c24ce211f5f900dff5de455451db1b64933e1ef055087cff41d876855346a8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a35b5623814aca1140ea6cc316fd468d1e8cf2f62677d806db8fa9ba95f12cb [INFO] running `Command { std: "docker" "start" "-a" "0a35b5623814aca1140ea6cc316fd468d1e8cf2f62677d806db8fa9ba95f12cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling k8s-openapi v0.13.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tuple-transpose v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filedesc v0.5.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling pem v1.0.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-seqpacket v0.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tower-http v0.1.2 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling json-patch v0.2.6 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling kube-core v0.64.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling kube-client v0.64.0 [INFO] [stderr] Compiling kube-runtime v0.64.0 [INFO] [stderr] Compiling kube v0.64.0 [INFO] [stderr] Compiling state-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::backend::K8sConfig` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{backend::K8sConfig, matchmaking::Matchmaker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `K8sConfig` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodMap` in this scope [INFO] [stdout] --> src/kubernetes.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl ProxiedPodMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn register(&mut self, id: ProxiedPodId, proxied: ProxiedPod) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn delete(&mut self, id: ProxiedPodId) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | id: ProxiedPodId, [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | id: ProxiedPodId, [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | fn register(id: ProxiedPodId, proxied: ProxiedPod) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodId` in this scope [INFO] [stdout] --> src/kubernetes.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn delete(id: ProxiedPodId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProxiedPodMap` in this scope [INFO] [stdout] --> src/kubernetes.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn execute(self, proxied_map: &mut ProxiedPodMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `ProxiedPod` [INFO] [stdout] ... [INFO] [stdout] 70 | struct ProxiedPod { [INFO] [stdout] | ----------------- similarly named struct `ProxiedPod` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G_PROXIED_PODS` in this scope [INFO] [stdout] --> src/kubernetes.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | action.execute(&mut *G_PROXIED_PODS.lock().await); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G_PROXIED_PODS` in this scope [INFO] [stdout] --> src/kubernetes.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | G_PROXIED_PODS.lock().await.delete(uid); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G_PROXIED_PODS` in this scope [INFO] [stdout] --> src/kubernetes.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | let mut proxied_map = G_PROXIED_PODS.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_communication` in module `backend` [INFO] [stdout] --> src/main.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | executor.block_on(backend::run_communication(config)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `backend` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::kubernetes::run_communication; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/matchmaking/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewConnectionReply`, `SocketStream` [INFO] [stdout] --> src/http/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | NewConnectionReply, NewConnectionRequest, ProtocolServer, ServerConnectionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | SocketStream, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/http/mod.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | use hyper::{client::HttpConnector, service, Body, Client, Request, Response, Server}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/http/mod.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | let response = hyper_client.request(unimplemented!()).await.map(|x| { [INFO] [stdout] | ^^^^^^^ ---------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/matchmaking/mod.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `state-proxy` due to 14 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a35b5623814aca1140ea6cc316fd468d1e8cf2f62677d806db8fa9ba95f12cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a35b5623814aca1140ea6cc316fd468d1e8cf2f62677d806db8fa9ba95f12cb", kill_on_drop: false }` [INFO] [stdout] 0a35b5623814aca1140ea6cc316fd468d1e8cf2f62677d806db8fa9ba95f12cb