[INFO] fetching crate yaml-adapter 0.1.0... [INFO] checking yaml-adapter-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate yaml-adapter 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate yaml-adapter 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yaml-adapter 0.1.0 [INFO] finished tweaking crates.io crate yaml-adapter 0.1.0 [INFO] tweaked toml for crates.io crate yaml-adapter 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 160 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding async-channel v1.9.0 (latest: v2.2.0) [INFO] [stderr] Adding async-io v1.13.0 (latest: v2.3.2) [INFO] [stderr] Adding async-lock v2.8.0 (latest: v3.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.6.0 (latest: v1.6.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.0) [INFO] [stderr] Adding event-listener v4.0.3 (latest: v5.3.0) [INFO] [stderr] Adding event-listener-strategy v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.0.2) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.6) [INFO] [stderr] Adding futures-lite v1.13.0 (latest: v2.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.3) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding io-lifetimes v1.0.11 (latest: v2.0.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (latest: v0.6.4) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding mio v0.7.14 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding ntapi v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding polling v2.8.0 (latest: v3.6.0) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding rustix v0.37.27 (latest: v0.38.32) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.6) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding tokio v0.3.7 (latest: v1.37.0) [INFO] [stderr] Adding tokio-macros v0.3.2 (latest: v2.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] [stderr] Downloaded ritelinked v0.3.2 [INFO] [stderr] Downloaded casbin v2.2.0 [INFO] [stderr] Downloaded tokio v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e38870ea8b7fa6aa6ef6b885fea32117607a89a4b7074f4426acdad3b43a523 [INFO] running `Command { std: "docker" "start" "-a" "9e38870ea8b7fa6aa6ef6b885fea32117607a89a4b7074f4426acdad3b43a523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e38870ea8b7fa6aa6ef6b885fea32117607a89a4b7074f4426acdad3b43a523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e38870ea8b7fa6aa6ef6b885fea32117607a89a4b7074f4426acdad3b43a523", kill_on_drop: false }` [INFO] [stdout] 9e38870ea8b7fa6aa6ef6b885fea32117607a89a4b7074f4426acdad3b43a523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8640fd4010a11e102085d30d9a58f855fdc3a0f8c33e87e8cde363b390a4243 [INFO] running `Command { std: "docker" "start" "-a" "e8640fd4010a11e102085d30d9a58f855fdc3a0f8c33e87e8cde363b390a4243", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rhai_codegen v2.0.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking ritelinked v0.3.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking rhai v1.17.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking casbin v2.2.0 [INFO] [stdout] error[E0252]: the name `ioError` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 14 | BufReader as ioBufReader, Error as ioError, ErrorKind as ioErrorKind, [INFO] [stdout] | ---------------- previous import of the type `ioError` here [INFO] [stdout] ... [INFO] [stdout] 22 | io::{Error as ioError, ErrorKind as ioErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `ioError` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `ioError` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioErrorKind` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 14 | BufReader as ioBufReader, Error as ioError, ErrorKind as ioErrorKind, [INFO] [stdout] | ------------------------ previous import of the type `ioErrorKind` here [INFO] [stdout] ... [INFO] [stdout] 22 | io::{Error as ioError, ErrorKind as ioErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `ioErrorKind` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioErrorKind` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioPath` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 16 | path::Path as ioPath, [INFO] [stdout] | -------------------- previous import of the type `ioPath` here [INFO] [stdout] ... [INFO] [stdout] 23 | path::Path as ioPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `ioPath` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioPath` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 23 | path::Path as other_ioPath, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `file` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 11 | fs::File as file, [INFO] [stdout] | ---------------- previous import of the type `file` here [INFO] [stdout] ... [INFO] [stdout] 27 | fs::File as file, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `file` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `file` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 27 | fs::File as other_file, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioBufReader` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 14 | BufReader as ioBufReader, Error as ioError, ErrorKind as ioErrorKind, [INFO] [stdout] | ------------------------ previous import of the type `ioBufReader` here [INFO] [stdout] ... [INFO] [stdout] 28 | io::{AsyncBufReadExt, AsyncWriteExt, BufReader as ioBufReader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `ioBufReader` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioBufReader` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 28 | io::{AsyncBufReadExt, AsyncWriteExt, BufReader as other_ioBufReader}, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioCursor` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 7 | BufReader as ioBufReader, Cursor as ioCursor, Error as ioError, [INFO] [stdout] | ------------------ previous import of the type `ioCursor` here [INFO] [stdout] ... [INFO] [stdout] 16 | use std::{io::Cursor as ioCursor, path::Path as ioPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `ioCursor` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioCursor` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 16 | use std::{io::Cursor as other_ioCursor, path::Path as ioPath}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioPath` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 13 | use async_std::{fs::File as file, path::Path as ioPath}; [INFO] [stdout] | -------------------- previous import of the type `ioPath` here [INFO] [stdout] ... [INFO] [stdout] 16 | use std::{io::Cursor as ioCursor, path::Path as ioPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `ioPath` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioPath` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 16 | use std::{io::Cursor as ioCursor, path::Path as other_ioPath}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioBufReader` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 7 | BufReader as ioBufReader, Cursor as ioCursor, Error as ioError, [INFO] [stdout] | ------------------------ previous import of the type `ioBufReader` here [INFO] [stdout] ... [INFO] [stdout] 19 | AsyncBufReadExt, AsyncReadExt, BufReader as ioBufReader, Error as ioError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `ioBufReader` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioBufReader` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 19 | AsyncBufReadExt, AsyncReadExt, BufReader as other_ioBufReader, Error as ioError, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioError` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 7 | BufReader as ioBufReader, Cursor as ioCursor, Error as ioError, [INFO] [stdout] | ---------------- previous import of the type `ioError` here [INFO] [stdout] ... [INFO] [stdout] 19 | AsyncBufReadExt, AsyncReadExt, BufReader as ioBufReader, Error as ioError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | `ioError` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `ioError` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioErrorKind` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 8 | ErrorKind as ioErrorKind, [INFO] [stdout] | ------------------------ previous import of the type `ioErrorKind` here [INFO] [stdout] ... [INFO] [stdout] 20 | ErrorKind as ioErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | `ioErrorKind` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `ioErrorKind` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `file` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/config.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 13 | use async_std::{fs::File as file, path::Path as ioPath}; [INFO] [stdout] | ---------------- previous import of the type `file` here [INFO] [stdout] ... [INFO] [stdout] 24 | use tokio::fs::File as file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `file` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `file` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::fs::File as other_file; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `ioPath` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/model/default_model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_std::path::Path as ioPath; [INFO] [stdout] | ------------------------------- previous import of the type `ioPath` here [INFO] [stdout] ... [INFO] [stdout] 20 | use std::path::Path as ioPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `ioPath` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ioPath` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path as other_ioPath; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next_line` found for struct `async_std::io::Lines` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | while let Some(line) = lines.next_line().await? { [INFO] [stdout] | ^^^^^^^^^ method not found in `Lines>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next_line` found for struct `async_std::io::Lines` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.2.0/src/adapter/file_adapter.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some(line) = lines.next_line().await? { [INFO] [stdout] | ^^^^^^^^^ method not found in `Lines>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casbin` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "e8640fd4010a11e102085d30d9a58f855fdc3a0f8c33e87e8cde363b390a4243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8640fd4010a11e102085d30d9a58f855fdc3a0f8c33e87e8cde363b390a4243", kill_on_drop: false }` [INFO] [stdout] e8640fd4010a11e102085d30d9a58f855fdc3a0f8c33e87e8cde363b390a4243