[INFO] fetching crate tbon 0.3.5... [INFO] building tbon-0.3.5 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate tbon 0.3.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tbon 0.3.5 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tbon 0.3.5 [INFO] finished tweaking crates.io crate tbon 0.3.5 [INFO] tweaked toml for crates.io crate tbon 0.3.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", 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] 2227f0d51cc1e99fb9949b6217aeeb24a833bb0c6d7c396c9b4a3389de86df0b [INFO] running `Command { std: "docker" "start" "-a" "2227f0d51cc1e99fb9949b6217aeeb24a833bb0c6d7c396c9b4a3389de86df0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2227f0d51cc1e99fb9949b6217aeeb24a833bb0c6d7c396c9b4a3389de86df0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2227f0d51cc1e99fb9949b6217aeeb24a833bb0c6d7c396c9b4a3389de86df0b", kill_on_drop: false }` [INFO] [stdout] 2227f0d51cc1e99fb9949b6217aeeb24a833bb0c6d7c396c9b4a3389de86df0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 417dfd5481e5fee6ef55fb2f4c6a62d0e6e7e23f540664722695ba31e039d871 [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" "417dfd5481e5fee6ef55fb2f4c6a62d0e6e7e23f540664722695ba31e039d871", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling destream v0.5.0 [INFO] [stderr] Compiling tbon v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/de.rs:823:96 [INFO] [stdout] | [INFO] [stdout] 823 | async fn decode_option(&mut self, visitor: V) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 824 | | while self.buffer.is_empty() && !self.source.is_terminated() { [INFO] [stdout] 825 | | self.buffer().await?; [INFO] [stdout] 826 | | } [INFO] [stdout] ... | [INFO] [stdout] 837 | | } [INFO] [stdout] 838 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future::Value, de::Error>>`, the trait `std::marker::Send` is not implemented for `::Value` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/de.rs:836:37 [INFO] [stdout] | [INFO] [stdout] 832 | if Some(self.buffer[0]) == Type::None.to_u8() { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 833 | | self.buffer.remove(0); [INFO] [stdout] 834 | | visitor.visit_none() [INFO] [stdout] 835 | | } else { [INFO] [stdout] | |_________- has type `Result<::Value, de::Error>` which is not `Send` [INFO] [stdout] 836 | visitor.visit_some(self).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 837 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn futures::Future::Value, de::Error>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tbon` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "417dfd5481e5fee6ef55fb2f4c6a62d0e6e7e23f540664722695ba31e039d871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417dfd5481e5fee6ef55fb2f4c6a62d0e6e7e23f540664722695ba31e039d871", kill_on_drop: false }` [INFO] [stdout] 417dfd5481e5fee6ef55fb2f4c6a62d0e6e7e23f540664722695ba31e039d871