[INFO] crate diesel-adapter 0.7.1 is already in cache [INFO] testing diesel-adapter-0.7.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate diesel-adapter 0.7.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate diesel-adapter 0.7.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel-adapter 0.7.1 [INFO] finished tweaking crates.io crate diesel-adapter 0.7.1 [INFO] tweaked toml for crates.io crate diesel-adapter 0.7.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db956e1415084c5073a7429453714d899f0fc348ce34882795e1a33a546a190 [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" "4db956e1415084c5073a7429453714d899f0fc348ce34882795e1a33a546a190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db956e1415084c5073a7429453714d899f0fc348ce34882795e1a33a546a190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db956e1415084c5073a7429453714d899f0fc348ce34882795e1a33a546a190", kill_on_drop: false }` [INFO] [stdout] 4db956e1415084c5073a7429453714d899f0fc348ce34882795e1a33a546a190 [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" "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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", 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] d3fd10856493de655472e35f4bcc206c0e79eaab0987c37148ec9ac88600cc96 [INFO] running `Command { std: "docker" "start" "-a" "d3fd10856493de655472e35f4bcc206c0e79eaab0987c37148ec9ac88600cc96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling event-listener v2.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-channel v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling futures-lite v0.1.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rhai v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling js-sys v0.3.42 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling web-sys v0.3.42 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling casbin v1.1.2 [INFO] [stderr] Compiling diesel-adapter v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/adapter.rs:187:68 [INFO] [stdout] | [INFO] [stdout] 187 | 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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | #[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:187:79 [INFO] [stdout] | [INFO] [stdout] 187 | 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:187:79 [INFO] [stdout] | [INFO] [stdout] 187 | 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:187:65 [INFO] [stdout] | [INFO] [stdout] 187 | 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 187:5... [INFO] [stdout] --> src/adapter.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / async fn load_filtered_policy(&mut self, m: &mut dyn Model, f: Filter) -> Result<()> { [INFO] [stdout] 188 | | let conn = self [INFO] [stdout] 189 | | .pool [INFO] [stdout] 190 | | .get() [INFO] [stdout] ... | [INFO] [stdout] 218 | | Ok(()) [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `diesel-adapter`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d3fd10856493de655472e35f4bcc206c0e79eaab0987c37148ec9ac88600cc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3fd10856493de655472e35f4bcc206c0e79eaab0987c37148ec9ac88600cc96", kill_on_drop: false }` [INFO] [stdout] d3fd10856493de655472e35f4bcc206c0e79eaab0987c37148ec9ac88600cc96