[INFO] cloning repository https://github.com/lingdu1234/sea_orm_casbin_adapter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lingdu1234/sea_orm_casbin_adapter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flingdu1234%2Fsea_orm_casbin_adapter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flingdu1234%2Fsea_orm_casbin_adapter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 657caecaaa445c932457d097886e5a603c79fc1f [INFO] testing lingdu1234/sea_orm_casbin_adapter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flingdu1234%2Fsea_orm_casbin_adapter" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lingdu1234/sea_orm_casbin_adapter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lingdu1234/sea_orm_casbin_adapter [INFO] finished tweaking git repo https://github.com/lingdu1234/sea_orm_casbin_adapter [INFO] tweaked toml for git repo https://github.com/lingdu1234/sea_orm_casbin_adapter written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/lingdu1234/sea_orm_casbin_adapter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 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" "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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ad1320a6260270b786756d492dede1dfd213f052c2a161d48cd2cbcd542d9be [INFO] running `Command { std: "docker" "start" "-a" "5ad1320a6260270b786756d492dede1dfd213f052c2a161d48cd2cbcd542d9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ad1320a6260270b786756d492dede1dfd213f052c2a161d48cd2cbcd542d9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad1320a6260270b786756d492dede1dfd213f052c2a161d48cd2cbcd542d9be", kill_on_drop: false }` [INFO] [stdout] 5ad1320a6260270b786756d492dede1dfd213f052c2a161d48cd2cbcd542d9be [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" "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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52daf2479aa36468cc3e8ec28e51b8bdb38cd542e385bca88a81e94494c205a4 [INFO] running `Command { std: "docker" "start" "-a" "52daf2479aa36468cc3e8ec28e51b8bdb38cd542e385bca88a81e94494c205a4", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling ritelinked v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling rhai_codegen v1.4.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling ouroboros_macro v0.15.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling sea-orm-macros v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ouroboros v0.15.0 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling sea-query v0.23.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling rhai v1.6.1 [INFO] [stderr] Compiling sea-orm v0.7.1 [INFO] [stderr] Compiling casbin v2.0.9 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IoError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | return Err(IoError::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `IoError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | ErrorKind::Other, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IoError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(IoError::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `IoError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | ErrorKind::Other, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | P: AsRef + Send + Sync, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let f = File::open(&self.file_path).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let mut lines = BufReader::new(f).lines(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let f = File::open(&self.file_path).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut lines = BufReader::new(f).lines(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let mut file = File::create(&self.file_path).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | P: AsRef + Send + Sync, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) async fn from_file>(p: P) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | c.parse_buffer(&mut BufReader::new(Cursor::new(s.as_ref().as_bytes()))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | c.parse_buffer(&mut BufReader::new(Cursor::new(s.as_ref().as_bytes()))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | async fn parse>(&mut self, p: P) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = File::open(p).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let mut reader: BufReader> = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let mut reader: BufReader> = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | BufReader::new(Cursor::new(&c)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | BufReader::new(Cursor::new(&c)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | reader: &mut BufReader>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | reader: &mut BufReader>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/model/default_model.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn from_file>(p: P) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'_`, which is not constrained by the fn input types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casbin` due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "52daf2479aa36468cc3e8ec28e51b8bdb38cd542e385bca88a81e94494c205a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52daf2479aa36468cc3e8ec28e51b8bdb38cd542e385bca88a81e94494c205a4", kill_on_drop: false }` [INFO] [stdout] 52daf2479aa36468cc3e8ec28e51b8bdb38cd542e385bca88a81e94494c205a4