[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 try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Fstatist" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xiaobin0860/statist on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-12/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.3.3 [INFO] [stderr] Downloaded sqlx v0.3.3 [INFO] [stderr] Downloaded sqlx-core v0.3.3 [INFO] [stderr] Downloaded broadcaster v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad678a2f4382d70b76e0ad567ddb405f7e36ac4747994f9b4c1e0eeaef0476d3 [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" "ad678a2f4382d70b76e0ad567ddb405f7e36ac4747994f9b4c1e0eeaef0476d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad678a2f4382d70b76e0ad567ddb405f7e36ac4747994f9b4c1e0eeaef0476d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad678a2f4382d70b76e0ad567ddb405f7e36ac4747994f9b4c1e0eeaef0476d3", kill_on_drop: false }` [INFO] [stdout] ad678a2f4382d70b76e0ad567ddb405f7e36ac4747994f9b4c1e0eeaef0476d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e34a46f26fdf38e53668478bceb1539b454b5bcfa49ee17d3e48dbb586f5c368 [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" "e34a46f26fdf38e53668478bceb1539b454b5bcfa49ee17d3e48dbb586f5c368", 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 memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [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 serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling dotenv v0.15.0 [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] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking net2 v0.2.33 [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] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.4 [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 async-std v1.5.0 [INFO] [stderr] Checking futures v0.3.4 [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 the macro `macro_result` (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 the macro `macro_result` (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 the macro `macro_result` (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 the macro `macro_result` (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 the macro `macro_result` (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 the macro `macro_result` (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] 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "e34a46f26fdf38e53668478bceb1539b454b5bcfa49ee17d3e48dbb586f5c368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34a46f26fdf38e53668478bceb1539b454b5bcfa49ee17d3e48dbb586f5c368", kill_on_drop: false }` [INFO] [stdout] e34a46f26fdf38e53668478bceb1539b454b5bcfa49ee17d3e48dbb586f5c368