[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] a7dc45835478a44f8d17bab721112a4b9cf43852 [INFO] documenting lingdu1234/sea_orm_casbin_adapter/a7dc45835478a44f8d17bab721112a4b9cf43852 against 1.95.0 for beta-1.96-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flingdu1234%2Fsea_orm_casbin_adapter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lingdu1234/sea_orm_casbin_adapter on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded async-global-executor v2.0.4 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded sea-query-derive v0.2.0 [INFO] [stderr] Downloaded sea-strum v0.23.0 [INFO] [stderr] Downloaded bae v0.1.7 [INFO] [stderr] Downloaded ouroboros v0.15.0 [INFO] [stderr] Downloaded sea-query-driver v0.1.1 [INFO] [stderr] Downloaded sea-orm-macros v0.8.0 [INFO] [stderr] Downloaded rhai_codegen v1.4.0 [INFO] [stderr] Downloaded ritelinked v0.3.2 [INFO] [stderr] Downloaded pkcs1 v0.3.3 [INFO] [stderr] Downloaded zeroize v1.5.5 [INFO] [stderr] Downloaded ouroboros_macro v0.15.0 [INFO] [stderr] Downloaded sea-strum_macros v0.23.0 [INFO] [stderr] Downloaded async-rustls v0.2.0 [INFO] [stderr] Downloaded pem-rfc7468 v0.3.1 [INFO] [stderr] Downloaded rsa v0.6.1 [INFO] [stderr] Downloaded casbin v2.0.9 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded num-bigint-dig v0.8.1 [INFO] [stderr] Downloaded rust_decimal v1.23.1 [INFO] [stderr] Downloaded async-std v1.11.0 [INFO] [stderr] Downloaded sea-query v0.24.6 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded rhai v1.7.0 [INFO] [stderr] Downloaded sea-orm v0.8.0 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63105a873d857fad7ec2d3b6960f1d6bd90b805bb25bb370075be403dce0e268 [INFO] running `Command { std: "docker" "start" "-a" "63105a873d857fad7ec2d3b6960f1d6bd90b805bb25bb370075be403dce0e268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63105a873d857fad7ec2d3b6960f1d6bd90b805bb25bb370075be403dce0e268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63105a873d857fad7ec2d3b6960f1d6bd90b805bb25bb370075be403dce0e268", kill_on_drop: false }` [INFO] [stdout] 63105a873d857fad7ec2d3b6960f1d6bd90b805bb25bb370075be403dce0e268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c27fdc0c1390cbb4ec8cb3720b92b70d8c5b3c636f6da0033876ef83d9d6d5d [INFO] running `Command { std: "docker" "start" "-a" "9c27fdc0c1390cbb4ec8cb3720b92b70d8c5b3c636f6da0033876ef83d9d6d5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking slog-term v2.9.0 [INFO] [stderr] Checking ritelinked v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling rhai_codegen v1.4.0 [INFO] [stderr] Compiling ouroboros_macro v0.15.0 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling sea-orm-macros v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking sea-strum v0.23.0 [INFO] [stderr] Checking sea-query v0.24.6 [INFO] [stderr] Checking ouroboros v0.15.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking rhai v1.7.0 [INFO] [stderr] Checking sea-orm v0.8.0 [INFO] [stderr] Checking casbin v2.0.9 [INFO] [stdout] error[E0425]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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]: cannot find type `File` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^ use of undeclared type `File` [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]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^ use of undeclared type `BufReader` [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]: cannot find type `File` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^ use of undeclared type `File` [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]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^ use of undeclared type `BufReader` [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]: cannot find type `File` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^ use of undeclared type `File` [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[E0425]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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[E0433]: cannot find type `ErrorKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^ use of undeclared type `BufReader` [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]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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]: cannot find type `File` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.0.9/src/config.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = File::open(p).await?; [INFO] [stdout] | ^^^^ use of undeclared type `File` [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[E0425]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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[E0425]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.0.9/src/config.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | BufReader::new(Cursor::new(&c)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BufReader` [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]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.0.9/src/config.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | BufReader::new(Cursor::new(&c)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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[E0425]: cannot find type `Cursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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[E0433]: cannot find type `IoError` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] help: there is an enum variant `crate::Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 125 - return Err(IoError::new( [INFO] [stdout] 125 + return Err(crate::Error::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `IoError` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] help: there is an enum variant `crate::Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 131 - return Err(IoError::new( [INFO] [stdout] 131 + return Err(crate::Error::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casbin` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "9c27fdc0c1390cbb4ec8cb3720b92b70d8c5b3c636f6da0033876ef83d9d6d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c27fdc0c1390cbb4ec8cb3720b92b70d8c5b3c636f6da0033876ef83d9d6d5d", kill_on_drop: false }` [INFO] [stdout] 9c27fdc0c1390cbb4ec8cb3720b92b70d8c5b3c636f6da0033876ef83d9d6d5d