[INFO] cloning repository https://github.com/CHCP/scheduler-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CHCP/scheduler-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHCP%2Fscheduler-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHCP%2Fscheduler-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cfd30d26a5ef38ee23f6c04d344f193026f49ce [INFO] testing CHCP/scheduler-test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHCP%2Fscheduler-test" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CHCP/scheduler-test on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CHCP/scheduler-test [INFO] finished tweaking git repo https://github.com/CHCP/scheduler-test [INFO] tweaked toml for git repo https://github.com/CHCP/scheduler-test written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/CHCP/scheduler-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.3.1 [INFO] [stderr] Downloaded cron v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 649d05a75439f3f06ace2a755014b1c0ad89528e5031f40c3cf3098e4224a89c [INFO] running `Command { std: "docker" "start" "-a" "649d05a75439f3f06ace2a755014b1c0ad89528e5031f40c3cf3098e4224a89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "649d05a75439f3f06ace2a755014b1c0ad89528e5031f40c3cf3098e4224a89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649d05a75439f3f06ace2a755014b1c0ad89528e5031f40c3cf3098e4224a89c", kill_on_drop: false }` [INFO] [stdout] 649d05a75439f3f06ace2a755014b1c0ad89528e5031f40c3cf3098e4224a89c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3d854b3052eb9131180e1d9d93b82c544df273fc414727530252e937a81e7df [INFO] running `Command { std: "docker" "start" "-a" "c3d854b3052eb9131180e1d9d93b82c544df273fc414727530252e937a81e7df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.35 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling cron v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling rsa v0.4.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-cron-scheduler v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling scheduler-test v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Transaction`, `mysql::MySqlConnectOptions` [INFO] [stdout] --> src/main.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::{ConnectOptions, mysql::MySqlConnectOptions,Transaction,mysql::MySqlPool, mysql::MySqlPoolOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future, sqlx::Error>> + Send` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: within `impl Future`, the trait `Sync` is not implemented for `NonNull>` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generator cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(()); [INFO] [stdout] 18 | | })).unwrap(); [INFO] [stdout] | |__________^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for the cast to the object type `dyn Future + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectOptions` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::{ConnectOptions, mysql::MySqlConnectOptions,Transaction,mysql::MySqlPool, mysql::MySqlPoolOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scheduler-test` due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3d854b3052eb9131180e1d9d93b82c544df273fc414727530252e937a81e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d854b3052eb9131180e1d9d93b82c544df273fc414727530252e937a81e7df", kill_on_drop: false }` [INFO] [stdout] c3d854b3052eb9131180e1d9d93b82c544df273fc414727530252e937a81e7df