[INFO] updating cached repository https://github.com/pimeys/blocking_test [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] 727b68fdf150b6b81f224cc44d640c5526b6d2b4 [INFO] testing pimeys/blocking_test against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimeys%2Fblocking_test" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimeys/blocking_test 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/pimeys/blocking_test [INFO] finished tweaking git repo https://github.com/pimeys/blocking_test [INFO] tweaked toml for git repo https://github.com/pimeys/blocking_test written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/pimeys/blocking_test 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] cb0e7ec7312cc4ec1074fedfcfcd6f5e8bafd8500d6ed7fd868117f6c93aff15 [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" "cb0e7ec7312cc4ec1074fedfcfcd6f5e8bafd8500d6ed7fd868117f6c93aff15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb0e7ec7312cc4ec1074fedfcfcd6f5e8bafd8500d6ed7fd868117f6c93aff15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0e7ec7312cc4ec1074fedfcfcd6f5e8bafd8500d6ed7fd868117f6c93aff15", kill_on_drop: false }` [INFO] [stdout] cb0e7ec7312cc4ec1074fedfcfcd6f5e8bafd8500d6ed7fd868117f6c93aff15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 40997fdd8c435240fff5a64ca73d8466eba375735e2fe46538b281b17946e8dd [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" "40997fdd8c435240fff5a64ca73d8466eba375735e2fe46538b281b17946e8dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.4 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling regex v1.3.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling postgres-protocol v0.4.1 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bb8 v0.3.1 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling chrono v0.4.8 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.4 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling http-service v0.3.1 [INFO] [stderr] Compiling futures-timer v0.3.0 [INFO] [stderr] Compiling runtime-raw v0.3.0-alpha.5 [INFO] [stderr] Compiling juliex v0.3.0-alpha.8 [INFO] [stderr] Compiling romio v0.3.0-alpha.9 [INFO] [stderr] Compiling runtime-tokio v0.3.0-alpha.6 [INFO] [stderr] Compiling async-std v0.99.4 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Compiling runtime-native v0.3.0-alpha.6 [INFO] [stderr] Compiling http-service-hyper v0.3.1 [INFO] [stderr] Compiling state_machine_future v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling tracing-attributes v0.1.2 [INFO] [stderr] Compiling runtime-attributes v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Compiling runtime v0.3.0-alpha.7 [INFO] [stderr] Compiling tracing v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio v0.2.0-alpha.4 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_qs v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tide-core v0.2.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tokio-postgres v0.4.0-rc.3 [INFO] [stderr] Compiling tide-log v0.1.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide-forms v0.1.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide-cors v0.2.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide-querystring v0.1.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide-headers v0.1.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide-cookies v0.2.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling tide v0.2.0 (https://github.com/rustasync/tide#af0b900b) [INFO] [stderr] Compiling postgres v0.16.0-rc.2 [INFO] [stderr] Compiling bb8-postgres v0.3.1 [INFO] [stderr] Compiling r2d2_postgres v0.15.0-rc.1 [INFO] [stderr] Compiling rust_decimal v1.0.1 (https://github.com/pimeys/rust-decimal.git#fbb60744) [INFO] [stderr] Compiling blocking-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | app.at("/:name").get(run_query).post(save_query); [INFO] [stdout] | ^^^ future returned by `run_query` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sync` is not implemented for `(dyn futures_core::stream::Stream> + std::marker::Send + 'static)` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | match cx.state().run(&name).await { [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | await occurs here, with `cx` maybe used later [INFO] [stdout] | has type `&tide_core::context::Context` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 55 | } [INFO] [stdout] | - `cx` is later dropped here [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> src/main.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | match cx.state().run(&name).await { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | app.at("/:name").get(run_query).post(save_query); [INFO] [stdout] | ^^^^ future returned by `save_query` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sync` is not implemented for `(dyn futures_core::stream::Stream> + std::marker::Send + 'static)` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | cx.state().save(name, query).await; [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- `cx` is later dropped here [INFO] [stdout] | | [INFO] [stdout] | await occurs here, with `cx` maybe used later [INFO] [stdout] | has type `&tide_core::context::Context` 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:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | cx.state().save(name, query).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blocking-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "40997fdd8c435240fff5a64ca73d8466eba375735e2fe46538b281b17946e8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40997fdd8c435240fff5a64ca73d8466eba375735e2fe46538b281b17946e8dd", kill_on_drop: false }` [INFO] [stdout] 40997fdd8c435240fff5a64ca73d8466eba375735e2fe46538b281b17946e8dd