[INFO] updating cached repository https://github.com/normanrz/test-binlog-rs [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] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b508792419e87ddf73f0a97a8cad48b702ddcf03 [INFO] testing normanrz/test-binlog-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnormanrz%2Ftest-binlog-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/normanrz/test-binlog-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/normanrz/test-binlog-rs [INFO] finished tweaking git repo https://github.com/normanrz/test-binlog-rs [INFO] tweaked toml for git repo https://github.com/normanrz/test-binlog-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/normanrz/test-binlog-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7cdec16b8f212caa902767ddb5fcffb0c18cfbbf2c2f52afb435820bf1c7aa7 [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" "b7cdec16b8f212caa902767ddb5fcffb0c18cfbbf2c2f52afb435820bf1c7aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7cdec16b8f212caa902767ddb5fcffb0c18cfbbf2c2f52afb435820bf1c7aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7cdec16b8f212caa902767ddb5fcffb0c18cfbbf2c2f52afb435820bf1c7aa7", kill_on_drop: false }` [INFO] [stdout] b7cdec16b8f212caa902767ddb5fcffb0c18cfbbf2c2f52afb435820bf1c7aa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b1cde28b395f3211835c2dae932359a2518f1f95a1f4f0d50b4ed5ba6c84d7b [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" "2b1cde28b395f3211835c2dae932359a2518f1f95a1f4f0d50b4ed5ba6c84d7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling mio-named-pipes v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [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 rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling lexical v5.2.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling rust_decimal v1.5.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling mysql_common v0.22.0 (https://github.com/blackbeam/rust_mysql_common.git?branch=binlog#7781eff6) [INFO] [stderr] Compiling thiserror v1.0.17 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling mysql_async v0.24.0-alpha (https://github.com/blackbeam/mysql_async.git?branch=binlog-stream#932a4abd) [INFO] [stderr] Compiling test-binlog-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.21/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ---- required by this bound in `tokio::task::spawn::spawn` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `dyn futures_core::stream::Stream>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | let mut binlog_stream = get_binlog_stream(database_url, 12).await.unwrap(); [INFO] [stdout] | ----------------- has type `std::pin::Pin>>>` which is not `Send` [INFO] [stdout] 43 | while let Ok(event) = binlog_stream.next().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `mut binlog_stream` maybe used later [INFO] [stdout] ... [INFO] [stdout] 57 | }); [INFO] [stdout] | - `mut binlog_stream` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-binlog-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2b1cde28b395f3211835c2dae932359a2518f1f95a1f4f0d50b4ed5ba6c84d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1cde28b395f3211835c2dae932359a2518f1f95a1f4f0d50b4ed5ba6c84d7b", kill_on_drop: false }` [INFO] [stdout] 2b1cde28b395f3211835c2dae932359a2518f1f95a1f4f0d50b4ed5ba6c84d7b