[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/nikitavbv/cloud-storage-proxy [INFO] [stderr] 36c20cc..63afccb master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63afccbca56d7631ab62eb88aa32a76085611c51 [INFO] checking nikitavbv/cloud-storage-proxy against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikitavbv/cloud-storage-proxy on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "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-14/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" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 736232c5c2688761b14eb61d2148a8af4a60741ac5d02628965a9a8329346a78 [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" "736232c5c2688761b14eb61d2148a8af4a60741ac5d02628965a9a8329346a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "736232c5c2688761b14eb61d2148a8af4a60741ac5d02628965a9a8329346a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "736232c5c2688761b14eb61d2148a8af4a60741ac5d02628965a9a8329346a78", kill_on_drop: false }` [INFO] [stdout] 736232c5c2688761b14eb61d2148a8af4a60741ac5d02628965a9a8329346a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f051579e8cbbcaecb5c03eeff0491a9b6b79d983491544b8a3da1c0b78565326 [INFO] running `Command { std: "docker" "start" "-a" "f051579e8cbbcaecb5c03eeff0491a9b6b79d983491544b8a3da1c0b78565326", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking seahash v4.0.0 [INFO] [stderr] Checking custom_error v1.7.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ttl_cache v0.5.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [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] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking serde v1.0.113 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking yup-oauth2 v4.1.2 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking cloud-storage-proxy v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `openssl::hash::Hasher` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use openssl::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::hash::Hasher` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use openssl::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut cache = cache_collection.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut cache = cache_collection.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | 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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | 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:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | 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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | 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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | 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:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | 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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [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:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let object = obj_cache.get(&object_name).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f051579e8cbbcaecb5c03eeff0491a9b6b79d983491544b8a3da1c0b78565326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f051579e8cbbcaecb5c03eeff0491a9b6b79d983491544b8a3da1c0b78565326", kill_on_drop: false }` [INFO] [stdout] f051579e8cbbcaecb5c03eeff0491a9b6b79d983491544b8a3da1c0b78565326