[INFO] cloning repository https://github.com/nikitavbv/cloud-storage-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikitavbv/cloud-storage-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32e752632ddc754c98c3e125630b65f79abbb1f6 [INFO] testing nikitavbv/cloud-storage-proxy against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikitavbv/cloud-storage-proxy on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikitavbv/cloud-storage-proxy [INFO] finished tweaking git repo https://github.com/nikitavbv/cloud-storage-proxy [INFO] tweaked toml for git repo https://github.com/nikitavbv/cloud-storage-proxy written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/nikitavbv/cloud-storage-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48d666de63afdd04df2e9336b8cf205fb3b4cc6c25c48903f320a948d3b4b20f [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" "48d666de63afdd04df2e9336b8cf205fb3b4cc6c25c48903f320a948d3b4b20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48d666de63afdd04df2e9336b8cf205fb3b4cc6c25c48903f320a948d3b4b20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d666de63afdd04df2e9336b8cf205fb3b4cc6c25c48903f320a948d3b4b20f", kill_on_drop: false }` [INFO] [stdout] 48d666de63afdd04df2e9336b8cf205fb3b4cc6c25c48903f320a948d3b4b20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 470a8eff494b733b048fc8fdadc7d58998805032b9eafa30bd9a0d83c6b0e01c [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" "470a8eff494b733b048fc8fdadc7d58998805032b9eafa30bd9a0d83c6b0e01c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling seahash v4.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling custom_error v1.7.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling yup-oauth2 v4.1.2 [INFO] [stderr] Compiling cloud-storage-proxy v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sync` is not implemented for `dyn caching::GCSObjectCache + std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let object = obj_cache.get(&object_name).await.clone(); [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^ - `obj_cache` is later dropped here [INFO] [stdout] | | [INFO] [stdout] | await occurs here, with `obj_cache` maybe used later [INFO] [stdout] | has type `&dyn caching::GCSObjectCache + std::marker::Send` which is not `Send` [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let object = obj_cache.get(&object_name).await.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hyper::common::exec::Exec: hyper::common::exec::H2Exec` is not satisfied [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `hyper::common::exec::H2Exec` is not implemented for `hyper::common::exec::Exec` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `hyper::server::conn::spawn_all::NewSvcTask, client:std::sync::Arc>, cache:std::sync::Arc>>>>>], hyper::Body>, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, client:std::sync::Arc>, cache:std::sync::Arc>>>>>], hyper::Body>, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `hyper::Server, client:std::sync::Arc>, cache:std::sync::Arc>>>>>]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sync` is not implemented for `dyn caching::GCSObjectCache + std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let object = obj_cache.get(&object_name).await.clone(); [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^ - `obj_cache` is later dropped here [INFO] [stdout] | | [INFO] [stdout] | await occurs here, with `obj_cache` maybe used later [INFO] [stdout] | has type `&dyn caching::GCSObjectCache + std::marker::Send` which is not `Send` [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let object = obj_cache.get(&object_name).await.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cloud-storage-proxy`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "470a8eff494b733b048fc8fdadc7d58998805032b9eafa30bd9a0d83c6b0e01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470a8eff494b733b048fc8fdadc7d58998805032b9eafa30bd9a0d83c6b0e01c", kill_on_drop: false }` [INFO] [stdout] 470a8eff494b733b048fc8fdadc7d58998805032b9eafa30bd9a0d83c6b0e01c