[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 try#22dd2dd1dc07f63ae9394352d412f020d2985684 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-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikitavbv/cloud-storage-proxy on toolchain 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "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-4/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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5233429fe466decd301eaeb457bbe841aac10073e4545f2f019aaf7530b0eae8 [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" "5233429fe466decd301eaeb457bbe841aac10073e4545f2f019aaf7530b0eae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5233429fe466decd301eaeb457bbe841aac10073e4545f2f019aaf7530b0eae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5233429fe466decd301eaeb457bbe841aac10073e4545f2f019aaf7530b0eae8", kill_on_drop: false }` [INFO] [stdout] 5233429fe466decd301eaeb457bbe841aac10073e4545f2f019aaf7530b0eae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3a140c0d9ca4eeddae3cd3d5d52741d52a16383fa9a6bc673d2124e095096c [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" "4b3a140c0d9ca4eeddae3cd3d5d52741d52a16383fa9a6bc673d2124e095096c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking base64 v0.12.2 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking seahash v4.0.0 [INFO] [stderr] Checking 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] Checking thread_local v1.0.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking ttl_cache v0.5.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking regex v1.3.9 [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] 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 async-trait v0.1.36 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [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 h2 v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking yup-oauth2 v4.1.2 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.4.1 [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: 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: 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" "4b3a140c0d9ca4eeddae3cd3d5d52741d52a16383fa9a6bc673d2124e095096c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3a140c0d9ca4eeddae3cd3d5d52741d52a16383fa9a6bc673d2124e095096c", kill_on_drop: false }` [INFO] [stdout] 4b3a140c0d9ca4eeddae3cd3d5d52741d52a16383fa9a6bc673d2124e095096c