[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] checking Xiaobin0860/statist against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 441c669a5d2081892796eb21a0fd0cce49c815bc1fd7ef1156a189c99356c128 [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" "441c669a5d2081892796eb21a0fd0cce49c815bc1fd7ef1156a189c99356c128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441c669a5d2081892796eb21a0fd0cce49c815bc1fd7ef1156a189c99356c128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441c669a5d2081892796eb21a0fd0cce49c815bc1fd7ef1156a189c99356c128", kill_on_drop: false }` [INFO] [stdout] 441c669a5d2081892796eb21a0fd0cce49c815bc1fd7ef1156a189c99356c128 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5ac26f8889d158b2ccb8ed5351e4166c0e510176b8a2525dfa0bfa0352d235 [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" "ab5ac26f8889d158b2ccb8ed5351e4166c0e510176b8a2525dfa0bfa0352d235", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [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 lock_api v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [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 async-stream v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking sqlx-core v0.3.3 [INFO] [stderr] Compiling sqlx-macros v0.3.3 [INFO] [stderr] Checking sqlx v0.3.3 [INFO] [stderr] Checking 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: 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[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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab5ac26f8889d158b2ccb8ed5351e4166c0e510176b8a2525dfa0bfa0352d235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5ac26f8889d158b2ccb8ed5351e4166c0e510176b8a2525dfa0bfa0352d235", kill_on_drop: false }` [INFO] [stdout] ab5ac26f8889d158b2ccb8ed5351e4166c0e510176b8a2525dfa0bfa0352d235