[INFO] fetching crate sqlx-adapter 0.2.4... [INFO] checking sqlx-adapter-0.2.4 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate sqlx-adapter 0.2.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sqlx-adapter 0.2.4 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sqlx-adapter 0.2.4 [INFO] finished tweaking crates.io crate sqlx-adapter 0.2.4 [INFO] tweaked toml for crates.io crate sqlx-adapter 0.2.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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 casbin v0.8.5 [INFO] [stderr] Downloaded rhai v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e3b7db90951a2ac9b1da6281f7c10800d539fb164cae35a42747e63be4a637 [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" "35e3b7db90951a2ac9b1da6281f7c10800d539fb164cae35a42747e63be4a637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e3b7db90951a2ac9b1da6281f7c10800d539fb164cae35a42747e63be4a637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e3b7db90951a2ac9b1da6281f7c10800d539fb164cae35a42747e63be4a637", kill_on_drop: false }` [INFO] [stdout] 35e3b7db90951a2ac9b1da6281f7c10800d539fb164cae35a42747e63be4a637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1dbc1e67e292ae41363a592ff7f9db86aabc0345d0b0051685b4aa90e2a722f [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" "e1dbc1e67e292ae41363a592ff7f9db86aabc0345d0b0051685b4aa90e2a722f", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rhai v0.13.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Checking js-sys v0.3.40 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking web-sys v0.3.40 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking smol v0.1.12 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking casbin v0.8.5 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking sqlx-adapter v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/actions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query!( [INFO] [stdout] 17 | | "CREATE TABLE IF NOT EXISTS casbin_rules ( [INFO] [stdout] 18 | | id SERIAL PRIMARY KEY, [INFO] [stdout] 19 | | ptype VARCHAR NOT NULL, [INFO] [stdout] ... | [INFO] [stdout] 28 | | " [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/actions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query!( [INFO] [stdout] 60 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 61 | | ptype = $1 AND [INFO] [stdout] 62 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 74 | | rule[5] [INFO] [stdout] 75 | | ) [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/actions.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 122 | | ptype = $1 AND [INFO] [stdout] 123 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 135 | | rule[5] [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/actions.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 212 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 213 | | ptype = $1 AND [INFO] [stdout] 214 | | (v5 is NULL OR v5 = $2)", [INFO] [stdout] 215 | | pt.to_string(), [INFO] [stdout] 216 | | field_values[5] [INFO] [stdout] 217 | | )) [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/actions.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 220 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 221 | | ptype = $1 AND [INFO] [stdout] 222 | | (v4 is NULL OR v4 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 226 | | field_values[5] [INFO] [stdout] 227 | | )) [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/actions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 231 | | ptype = $1 AND [INFO] [stdout] 232 | | (v3 is NULL OR v3 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 238 | | field_values[5] [INFO] [stdout] 239 | | )) [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/actions.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 242 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 243 | | ptype = $1 AND [INFO] [stdout] 244 | | (v2 is NULL OR v2 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 252 | | field_values[5] [INFO] [stdout] 253 | | )) [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/actions.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 256 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 257 | | ptype = $1 AND [INFO] [stdout] 258 | | (v1 is NULL OR v1 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 268 | | field_values[5] [INFO] [stdout] 269 | | )) [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/actions.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 273 | | ptype = $1 AND [INFO] [stdout] 274 | | (v0 is NULL OR v0 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 286 | | field_values[5] [INFO] [stdout] 287 | | )) [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/actions.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | let casbin_rules: Vec = sqlx::query_as!(CasbinRule, "SELECT * from casbin_rules") [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/actions.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | sqlx::query!("DELETE FROM casbin_rules") [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/actions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / sqlx::query!( [INFO] [stdout] 427 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 428 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 429 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 435 | | rule.v5 [INFO] [stdout] 436 | | ) [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/actions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query!( [INFO] [stdout] 17 | | "CREATE TABLE IF NOT EXISTS casbin_rules ( [INFO] [stdout] 18 | | id SERIAL PRIMARY KEY, [INFO] [stdout] 19 | | ptype VARCHAR NOT NULL, [INFO] [stdout] ... | [INFO] [stdout] 28 | | " [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/actions.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | / sqlx::query!( [INFO] [stdout] 501 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 502 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 503 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 509 | | rule.v5 [INFO] [stdout] 510 | | ) [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/actions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query!( [INFO] [stdout] 60 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 61 | | ptype = $1 AND [INFO] [stdout] 62 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 74 | | rule[5] [INFO] [stdout] 75 | | ) [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/actions.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 122 | | ptype = $1 AND [INFO] [stdout] 123 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 135 | | rule[5] [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/actions.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | / sqlx::query!( [INFO] [stdout] 551 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 552 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 553 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 559 | | rule.v5 [INFO] [stdout] 560 | | ) [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/actions.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 212 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 213 | | ptype = $1 AND [INFO] [stdout] 214 | | (v5 is NULL OR v5 = $2)", [INFO] [stdout] 215 | | pt.to_string(), [INFO] [stdout] 216 | | field_values[5] [INFO] [stdout] 217 | | )) [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/actions.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 220 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 221 | | ptype = $1 AND [INFO] [stdout] 222 | | (v4 is NULL OR v4 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 226 | | field_values[5] [INFO] [stdout] 227 | | )) [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/actions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 231 | | ptype = $1 AND [INFO] [stdout] 232 | | (v3 is NULL OR v3 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 238 | | field_values[5] [INFO] [stdout] 239 | | )) [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/actions.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 242 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 243 | | ptype = $1 AND [INFO] [stdout] 244 | | (v2 is NULL OR v2 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 252 | | field_values[5] [INFO] [stdout] 253 | | )) [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/actions.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 256 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 257 | | ptype = $1 AND [INFO] [stdout] 258 | | (v1 is NULL OR v1 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 268 | | field_values[5] [INFO] [stdout] 269 | | )) [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/actions.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 273 | | ptype = $1 AND [INFO] [stdout] 274 | | (v0 is NULL OR v0 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 286 | | field_values[5] [INFO] [stdout] 287 | | )) [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/actions.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | let casbin_rules: Vec = sqlx::query_as!(CasbinRule, "SELECT * from casbin_rules") [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/actions.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | sqlx::query!("DELETE FROM casbin_rules") [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/actions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / sqlx::query!( [INFO] [stdout] 427 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 428 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 429 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 435 | | rule.v5 [INFO] [stdout] 436 | | ) [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/actions.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | / sqlx::query!( [INFO] [stdout] 501 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 502 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 503 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 509 | | rule.v5 [INFO] [stdout] 510 | | ) [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/actions.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | / sqlx::query!( [INFO] [stdout] 551 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 552 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 553 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 559 | | rule.v5 [INFO] [stdout] 560 | | ) [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-adapter`. [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1dbc1e67e292ae41363a592ff7f9db86aabc0345d0b0051685b4aa90e2a722f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1dbc1e67e292ae41363a592ff7f9db86aabc0345d0b0051685b4aa90e2a722f", kill_on_drop: false }` [INFO] [stdout] e1dbc1e67e292ae41363a592ff7f9db86aabc0345d0b0051685b4aa90e2a722f