[INFO] updating cached repository https://github.com/garbein/rodent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb754b960730164dac26cbf4bf976a5a49a77069 [INFO] testing garbein/rodent against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarbein%2Frodent" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garbein/rodent on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garbein/rodent [INFO] finished tweaking git repo https://github.com/garbein/rodent [INFO] tweaked toml for git repo https://github.com/garbein/rodent written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/garbein/rodent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7b33909be66c7e96f14843d5aa58f6f2df5b94f47a10ddeceb54890f82729dc [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" "c7b33909be66c7e96f14843d5aa58f6f2df5b94f47a10ddeceb54890f82729dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7b33909be66c7e96f14843d5aa58f6f2df5b94f47a10ddeceb54890f82729dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b33909be66c7e96f14843d5aa58f6f2df5b94f47a10ddeceb54890f82729dc", kill_on_drop: false }` [INFO] [stdout] c7b33909be66c7e96f14843d5aa58f6f2df5b94f47a10ddeceb54890f82729dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7135d46f739a148804090087de7e68972907487489ad7156ebab21f01a523a28 [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" "7135d46f739a148804090087de7e68972907487489ad7156ebab21f01a523a28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling instant v0.1.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling threadpool v1.8.0 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling backoff v0.1.6 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling sonic_client v0.1.2 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling redis-async v0.6.2 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-core v0.3.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling validator v0.10.0 [INFO] [stderr] Compiling lettre v0.9.3 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling sqlx-macros v0.3.4 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-session v0.3.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling actix-redis v0.8.1 [INFO] [stderr] Compiling sqlx v0.3.4 [INFO] [stderr] Compiling rodent v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | r#"select * from site_setting where deleted = 0 limit ? offset ?"#, [INFO] [stdout] 27 | | size, [INFO] [stdout] 28 | | (page - 1) * size [INFO] [stdout] 29 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | r#"insert into site_setting (name,title,content,status,created_at) values (?, ?, ?, ?, ?)"#, [INFO] [stdout] 66 | | form.name, [INFO] [stdout] 67 | | form.title, [INFO] [stdout] ... | [INFO] [stdout] 70 | | time [INFO] [stdout] 71 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | r#"update site_setting set name = ?, title = ?, content = ?, updated_at = ? where id = ?"#, [INFO] [stdout] 88 | | form.name, [INFO] [stdout] 89 | | form.title, [INFO] [stdout] ... | [INFO] [stdout] 92 | | id [INFO] [stdout] 93 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!( [INFO] [stdout] 102 | | r#"update site_setting set deleted = 1, updated_at = ? where id = ?"#, [INFO] [stdout] 103 | | time, [INFO] [stdout] 104 | | id [INFO] [stdout] 105 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | let rec = sqlx::query!(r#"SELECT * from site_setting where id = ?"#, id as i64) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/site_setting.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | let rec = sqlx::query!(r#"SELECT content from site_setting where id = ?"#, id) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/user.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 23 | | User, [INFO] [stdout] 24 | | r#"SELECT id, name, email, password from user where id = ? and deleted = 0"#, [INFO] [stdout] 25 | | id [INFO] [stdout] 26 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/user.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | User, [INFO] [stdout] 35 | | r#"SELECT id, name, email, password from user where email = ? and deleted = 0"#, [INFO] [stdout] 36 | | email [INFO] [stdout] 37 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/user.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / sqlx::query!( [INFO] [stdout] 46 | | r#"insert into user (name, email, password, created_at) values (?, ?, ?, ?)"#, [INFO] [stdout] 47 | | form.name, [INFO] [stdout] 48 | | form.email, [INFO] [stdout] 49 | | form.password, [INFO] [stdout] 50 | | time [INFO] [stdout] 51 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/user.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query!( [INFO] [stdout] 66 | | r#"update user set name = ?, updated_at = ? where id = ?"#, [INFO] [stdout] 67 | | form.name, [INFO] [stdout] 68 | | time, [INFO] [stdout] 69 | | form.id [INFO] [stdout] 70 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/user.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / sqlx::query!( [INFO] [stdout] 82 | | r#"update user set avatar = ?, updated_at = ? where id = ?"#, [INFO] [stdout] 83 | | form.avatar, [INFO] [stdout] 84 | | time, [INFO] [stdout] 85 | | form.id [INFO] [stdout] 86 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | r#"select * from task where deleted = 0 limit ? offset ?"#, [INFO] [stdout] 35 | | size, [INFO] [stdout] 36 | | (page - 1) * size [INFO] [stdout] 37 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!( [INFO] [stdout] 102 | | r#"insert into task (name,type,icon_bean,detail_list,detail_num,progress,status,remark,created_at,start_at,end_at) values (?, ?, ... [INFO] [stdout] 103 | | form.name, [INFO] [stdout] 104 | | form.r#type, [INFO] [stdout] ... | [INFO] [stdout] 113 | | form.end_at [INFO] [stdout] 114 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | r#"update task set name = ?, detail_list = ?, detail_num = ?, updated_at = ? where id = ?"#, [INFO] [stdout] 131 | | form.name, [INFO] [stdout] 132 | | form.detail_list, [INFO] [stdout] ... | [INFO] [stdout] 135 | | id [INFO] [stdout] 136 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | r#"update task set deleted = 1, updated_at = ? where id = ?"#, [INFO] [stdout] 146 | | time, [INFO] [stdout] 147 | | id [INFO] [stdout] 148 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | let rec = sqlx::query!(r#"SELECT * from task where id = ?"#, id as i64) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/task.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | let rec = sqlx::query!(r#"SELECT detail_list from task where id = ?"#, id) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let recs = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 29 | | r#"select * from suggestion where deleted = 0 limit ? offset ?"#, [INFO] [stdout] 30 | | size, [INFO] [stdout] 31 | | (page - 1) * size [INFO] [stdout] 32 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | r#"insert into suggestion (account,user_avatar,user_name,emotion,content,contact,status,created_at) values (?, ?, ?, ?, ?, ?, ?, ... [INFO] [stdout] 72 | | form.account, [INFO] [stdout] 73 | | form.user_avatar, [INFO] [stdout] ... | [INFO] [stdout] 79 | | time [INFO] [stdout] 80 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | r#"update suggestion set emotion = ?, content = ?, contact = ?, updated_at = ? where id = ?"#, [INFO] [stdout] 97 | | form.emotion, [INFO] [stdout] 98 | | form.content, [INFO] [stdout] ... | [INFO] [stdout] 101 | | id [INFO] [stdout] 102 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | r#"update suggestion set deleted = 1, updated_at = ? where id = ?"#, [INFO] [stdout] 112 | | time, [INFO] [stdout] 113 | | id [INFO] [stdout] 114 | | ) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | let rec = sqlx::query!(r#"SELECT * from suggestion where id = ?"#, id as i64) [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: DATABASE_URL not set [INFO] [stdout] --> src/models/suggestion.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | let rec = sqlx::query!(r#"SELECT content from suggestion where id = ?"#, id) [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: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rodent`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7135d46f739a148804090087de7e68972907487489ad7156ebab21f01a523a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7135d46f739a148804090087de7e68972907487489ad7156ebab21f01a523a28", kill_on_drop: false }` [INFO] [stdout] 7135d46f739a148804090087de7e68972907487489ad7156ebab21f01a523a28