[INFO] cloning repository https://github.com/Xiaobin0860/statist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xiaobin0860/statist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Fstatist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Fstatist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 641227be5cdd861c267c2f2370d2e103f7fa72eb [INFO] testing Xiaobin0860/statist against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Fstatist" "/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/Xiaobin0860/statist on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xiaobin0860/statist [INFO] finished tweaking git repo https://github.com/Xiaobin0860/statist [INFO] tweaked toml for git repo https://github.com/Xiaobin0860/statist written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Xiaobin0860/statist already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--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 thiserror-impl v1.0.14 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded broadcaster v1.0.0 [INFO] [stderr] Downloaded async-std v1.5.0 [INFO] [stderr] Downloaded sqlx-core v0.3.3 [INFO] [stderr] Downloaded sqlx-macros v0.3.3 [INFO] [stderr] Downloaded sqlx v0.3.3 [INFO] [stderr] Downloaded async-task v1.3.1 [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3a1476ccbf18f6449df1c89e4ff00d1c1fa287ef09c6570b75eb68e49bdc87d [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" "f3a1476ccbf18f6449df1c89e4ff00d1c1fa287ef09c6570b75eb68e49bdc87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3a1476ccbf18f6449df1c89e4ff00d1c1fa287ef09c6570b75eb68e49bdc87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a1476ccbf18f6449df1c89e4ff00d1c1fa287ef09c6570b75eb68e49bdc87d", kill_on_drop: false }` [INFO] [stdout] f3a1476ccbf18f6449df1c89e4ff00d1c1fa287ef09c6570b75eb68e49bdc87d [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82a9a29e55fe927be8f9b2212659d42573faf8c7b2c218722c9ff47fd88f0da9 [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" "82a9a29e55fe927be8f9b2212659d42573faf8c7b2c218722c9ff47fd88f0da9", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-core v0.3.3 [INFO] [stderr] Compiling sqlx-macros v0.3.3 [INFO] [stderr] Compiling sqlx v0.3.3 [INFO] [stderr] Compiling statics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to connect to database: Network is unreachable (os error 101) [INFO] [stdout] --> src/stats/rare.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | let tbls = sqlx::query!("SHOW TABLES").fetch_all(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Network is unreachable (os error 101) [INFO] [stdout] --> src/stats/rare.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | ... sqlx::query!("INSERT INTO t_alarm_user(dt,uid,item_id,cid,nick,item_ct) VALUES(?,?,?,?,?,?)", day, uid, item_id, u.cid, u.nick, item_ct) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Network is unreachable (os error 101) [INFO] [stdout] --> src/stats/stay.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let raws = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 90 | | Raw, [INFO] [stdout] 91 | | " [INFO] [stdout] 92 | | SELECT id, uid, sid, device_id, new_device, act, rc [INFO] [stdout] ... | [INFO] [stdout] 97 | | id_max [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stats/stay.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut stays = vec![0; 31]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stats/stay.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | sqlx::query(&sql).execute(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0698`. [INFO] [stdout] [INFO] [stderr] error: could not compile `statics` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "82a9a29e55fe927be8f9b2212659d42573faf8c7b2c218722c9ff47fd88f0da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a9a29e55fe927be8f9b2212659d42573faf8c7b2c218722c9ff47fd88f0da9", kill_on_drop: false }` [INFO] [stdout] 82a9a29e55fe927be8f9b2212659d42573faf8c7b2c218722c9ff47fd88f0da9