[INFO] fetching crate sqlx-adapter 0.2.6...
[INFO] testing sqlx-adapter-0.2.6 against 1.46.0 for beta-1.47-1
[INFO] extracting crate sqlx-adapter 0.2.6 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate sqlx-adapter 0.2.6 on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sqlx-adapter 0.2.6
[INFO] finished tweaking crates.io crate sqlx-adapter 0.2.6
[INFO] tweaked toml for crates.io crate sqlx-adapter 0.2.6 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3ef12625e5e2ed23adb3b7320a3fa926da0a1ab359b4e676854d9dc93273d0d7
[INFO] running `Command { std: "docker" "start" "-a" "3ef12625e5e2ed23adb3b7320a3fa926da0a1ab359b4e676854d9dc93273d0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ef12625e5e2ed23adb3b7320a3fa926da0a1ab359b4e676854d9dc93273d0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ef12625e5e2ed23adb3b7320a3fa926da0a1ab359b4e676854d9dc93273d0d7", kill_on_drop: false }`
[INFO] [stdout] 3ef12625e5e2ed23adb3b7320a3fa926da0a1ab359b4e676854d9dc93273d0d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bac583cf1f4da38c58f54b6bd53ea07866dbaa047c19daf5dce82080f9fa3055
[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" "bac583cf1f4da38c58f54b6bd53ea07866dbaa047c19daf5dce82080f9fa3055", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling rhai v0.17.0
[INFO] [stderr]    Compiling web-sys v0.3.44
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling gloo-timers v0.2.1
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling async-std v1.6.3
[INFO] [stderr]    Compiling async-native-tls v0.3.3
[INFO] [stderr]    Compiling casbin v1.1.3
[INFO] [stderr]    Compiling sqlx-core v0.3.5
[INFO] [stderr]    Compiling sqlx-macros v0.3.5
[INFO] [stderr]    Compiling sqlx v0.3.5
[INFO] [stderr]    Compiling sqlx-adapter v0.2.6 (/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<CasbinRule> = 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[E0726]: implicit elided lifetime not allowed here
[INFO] [stdout]    --> src/adapter.rs:171:68
[INFO] [stdout]     |
[INFO] [stdout] 171 |     async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> {
[INFO] [stdout]     |                                                                    ^^^^^^- help: indicate the anonymous lifetime: `<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `load_filtered_policy` do not match the trait declaration
[INFO] [stdout]    --> src/adapter.rs:149:1
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[async_trait]
[INFO] [stdout]     | ^^^^^^^^^^^^^^ lifetimes do not match method in trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
[INFO] [stdout]    --> src/adapter.rs:171:79
[INFO] [stdout]     |
[INFO] [stdout] 171 |     async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> {
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: hidden type `impl std::future::Future` captures lifetime smaller than the function body
[INFO] [stdout]    --> src/adapter.rs:171:79
[INFO] [stdout]     |
[INFO] [stdout] 171 |     async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> {
[INFO] [stdout]     |                                                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/adapter.rs:171:65
[INFO] [stdout]     |
[INFO] [stdout] 171 |     async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> {
[INFO] [stdout]     |                                                                 ^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `casbin::Filter<'static>`
[INFO] [stdout]                found struct `casbin::Filter<'_>`
[INFO] [stdout] note: the anonymous lifetime #1 defined on the method body at 171:5...
[INFO] [stdout]    --> src/adapter.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 | /     async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> {
[INFO] [stdout] 172 | |         let rules = adapter::load_policy(&self.pool).await?;
[INFO] [stdout] 173 | |
[INFO] [stdout] 174 | |         for casbin_rule in &rules {
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |         Ok(())
[INFO] [stdout] 191 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     = note: ...does not necessarily outlive the static lifetime
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0195, E0308, E0700.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0195`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlx-adapter`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "bac583cf1f4da38c58f54b6bd53ea07866dbaa047c19daf5dce82080f9fa3055", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bac583cf1f4da38c58f54b6bd53ea07866dbaa047c19daf5dce82080f9fa3055", kill_on_drop: false }`
[INFO] [stdout] bac583cf1f4da38c58f54b6bd53ea07866dbaa047c19daf5dce82080f9fa3055
