[INFO] fetching crate sea_orm_casbin_adapter 0.3.8... [INFO] checking sea_orm_casbin_adapter-0.3.8 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate sea_orm_casbin_adapter 0.3.8 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate sea_orm_casbin_adapter 0.3.8 [INFO] finished tweaking crates.io crate sea_orm_casbin_adapter 0.3.8 [INFO] tweaked toml for crates.io crate sea_orm_casbin_adapter 0.3.8 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sea_orm_casbin_adapter 0.3.8 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 384 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding sea-orm v0.8.0 (available: v1.1.19) [INFO] [stderr] Adding sqlx v0.5.13 (available: v0.8.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782994bfc6769c1ba087d734009d51c31a08935755a2764d45e126c676693b3f [INFO] running `Command { std: "docker" "start" "-a" "782994bfc6769c1ba087d734009d51c31a08935755a2764d45e126c676693b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782994bfc6769c1ba087d734009d51c31a08935755a2764d45e126c676693b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782994bfc6769c1ba087d734009d51c31a08935755a2764d45e126c676693b3f", kill_on_drop: false }` [INFO] [stdout] 782994bfc6769c1ba087d734009d51c31a08935755a2764d45e126c676693b3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382eb8cc75ccd11d9e1ce29e56ba179417bd12d4ac080410ed1b3f430745da5a [INFO] running `Command { std: "docker" "start" "-a" "382eb8cc75ccd11d9e1ce29e56ba179417bd12d4ac080410ed1b3f430745da5a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.13.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking term v1.2.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sea-orm-macros v0.8.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking ouroboros v0.15.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking sea-query v0.24.6 [INFO] [stderr] Checking sea-strum v0.23.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rhai v1.24.0 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking slog-term v2.9.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking sea-orm v0.8.0 [INFO] [stderr] Checking casbin v2.20.0 [INFO] [stdout] error[E0425]: cannot find type `ioPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | P: AsRef + Send + Sync, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | impl FileAdapter

[INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | P: AsRef + Send + Sync, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl Adapter for FileAdapter

[INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/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: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | async fn parse>(&mut self, p: P) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let mut reader: ioBufReader> = [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioCursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let mut reader: ioBufReader> = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | reader: &mut ioBufReader>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioCursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | reader: &mut ioBufReader>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ioPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/model/default_model.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn from_file>(p: P) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | impl DefaultModel { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `file` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let f = file::open(&self.file_path).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `file`, use `cargo add file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let mut lines = ioBufReader::new(f).lines(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ioBufReader` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioBufReader`, use `cargo add ioBufReader` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `file` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let f = file::open(&self.file_path).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `file`, use `cargo add file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let mut lines = ioBufReader::new(f).lines(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ioBufReader` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioBufReader`, use `cargo add ioBufReader` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `file` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/adapter/file_adapter.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let mut file = file::create(&self.file_path).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `file`, use `cargo add file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | c.parse_buffer(&mut ioBufReader::new(ioCursor::new( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ioBufReader` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioBufReader`, use `cargo add ioBufReader` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioCursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | c.parse_buffer(&mut ioBufReader::new(ioCursor::new( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ioCursor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioCursor`, use `cargo add ioCursor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `file` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let mut f = file::open(p).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `file`, use `cargo add file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioBufReader` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | ioBufReader::new(ioCursor::new(&c)); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ioBufReader` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioBufReader`, use `cargo add ioBufReader` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ioCursor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/casbin-2.20.0/src/config.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | ioBufReader::new(ioCursor::new(&c)); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ioCursor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ioCursor`, use `cargo add ioCursor` to add it to your `Cargo.toml` [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 19 previous errors [INFO] running `Command { std: "docker" "inspect" "382eb8cc75ccd11d9e1ce29e56ba179417bd12d4ac080410ed1b3f430745da5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382eb8cc75ccd11d9e1ce29e56ba179417bd12d4ac080410ed1b3f430745da5a", kill_on_drop: false }` [INFO] [stdout] 382eb8cc75ccd11d9e1ce29e56ba179417bd12d4ac080410ed1b3f430745da5a