[INFO] cloning repository https://github.com/minikiller/song-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minikiller/song-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminikiller%2Fsong-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminikiller%2Fsong-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc4822dea321ad28692440014fbcb3a9a122fa73 [INFO] testing minikiller/song-project against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminikiller%2Fsong-project" "/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/minikiller/song-project 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/minikiller/song-project [INFO] finished tweaking git repo https://github.com/minikiller/song-project [INFO] tweaked toml for git repo https://github.com/minikiller/song-project written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/minikiller/song-project 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.3.4 [INFO] [stderr] Downloaded simple_asn1 v0.6.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded jsonwebtoken v8.0.1 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded tower-http v0.2.4 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded sqlb-macros v0.0.5 [INFO] [stderr] Downloaded sqlb v0.0.7 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc95e0557cb76f8583961e366c24f561d41f2973011c5ca16e2f9f2964e766f [INFO] running `Command { std: "docker" "start" "-a" "7fc95e0557cb76f8583961e366c24f561d41f2973011c5ca16e2f9f2964e766f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc95e0557cb76f8583961e366c24f561d41f2973011c5ca16e2f9f2964e766f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc95e0557cb76f8583961e366c24f561d41f2973011c5ca16e2f9f2964e766f", kill_on_drop: false }` [INFO] [stdout] 7fc95e0557cb76f8583961e366c24f561d41f2973011c5ca16e2f9f2964e766f [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=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] c9aaafe74ac9f0c10acd2996d55cb7d574dce3450635c1e34cf2c5a4df6087e9 [INFO] running `Command { std: "docker" "start" "-a" "c9aaafe74ac9f0c10acd2996d55cb7d574dce3450635c1e34cf2c5a4df6087e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling sqlb-macros v0.0.5 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling simple_asn1 v0.6.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.2.4 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling jsonwebtoken v8.0.1 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling sqlb v0.0.7 [INFO] [stderr] Compiling song-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `using_connection_pool_extractor` [INFO] [stdout] --> src/lib.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | async fn using_connection_pool_extractor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `using_connection_extractor` [INFO] [stdout] --> src/lib.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | async fn using_connection_extractor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/bin/try_sqlb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `sqlx_exec` [INFO] [stdout] --> src/bin/try_sqlb.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlb::{sqlx_exec, Field, HasFields}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/export.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | r#"SELECT id,device_id,content,time [INFO] [stdout] 35 | | FROM body"# [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/export.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let body = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | r#"INSERT INTO tb_card [INFO] [stdout] 59 | | (id,card) [INFO] [stdout] 60 | | VALUES ($1,$2) [INFO] [stdout] ... | [INFO] [stdout] 63 | | person.card [INFO] [stdout] 64 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/bin/try_sqlb.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let (_id, title) = sb.fetch_one::<(i64, String), _>(db_pool).await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_db` [INFO] [stdout] --> src/bin/try_sqlb.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn init_db(pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/mydata/handler.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let body = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | r#"INSERT INTO body [INFO] [stdout] 25 | | (device_id,content) [INFO] [stdout] 26 | | VALUES ($1,$2) [INFO] [stdout] ... | [INFO] [stdout] 29 | | new_body.content [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/mydata/handler.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 47 | | r#"SELECT id,device_id,content,time [INFO] [stdout] 48 | | FROM body"# [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/mydata/handler.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | r#"SELECT id,device_id,content,time [INFO] [stdout] 74 | | FROM body where device_id=$1"#, [INFO] [stdout] 75 | | device_id [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `song-project` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/mydata/handler.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 117 | | "UPDATE body SET content=$1 WHERE id=$2", [INFO] [stdout] 118 | | update_body.content, [INFO] [stdout] 119 | | id [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/mydata/handler.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query!(r#"DELETE FROM Body where id=$1"#, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c9aaafe74ac9f0c10acd2996d55cb7d574dce3450635c1e34cf2c5a4df6087e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9aaafe74ac9f0c10acd2996d55cb7d574dce3450635c1e34cf2c5a4df6087e9", kill_on_drop: false }` [INFO] [stdout] c9aaafe74ac9f0c10acd2996d55cb7d574dce3450635c1e34cf2c5a4df6087e9