[INFO] fetching crate yaml-adapter 0.1.0...
[INFO] documenting yaml-adapter-0.1.0 against 1.75.0 for beta-1.76-rustdoc-1
[INFO] extracting crate yaml-adapter 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate yaml-adapter 0.1.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v0.3.2
[INFO] [stderr]   Downloaded bytes v0.6.0
[INFO] [stderr]   Downloaded tokio v0.3.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f945aa1a744383ed96297475937b4b8c77fd709d9e9672af9917f4cc19d8653
[INFO] running `Command { std: "docker" "start" "-a" "4f945aa1a744383ed96297475937b4b8c77fd709d9e9672af9917f4cc19d8653", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f945aa1a744383ed96297475937b4b8c77fd709d9e9672af9917f4cc19d8653", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f945aa1a744383ed96297475937b4b8c77fd709d9e9672af9917f4cc19d8653", kill_on_drop: false }`
[INFO] [stdout] 4f945aa1a744383ed96297475937b4b8c77fd709d9e9672af9917f4cc19d8653
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0723b26ceb5336dddbaeb5372512c4e00e544546dca7ed1d6080e6d5028bfffd
[INFO] running `Command { std: "docker" "start" "-a" "0723b26ceb5336dddbaeb5372512c4e00e544546dca7ed1d6080e6d5028bfffd", kill_on_drop: false }`
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking value-bag v1.4.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking async-lock v3.2.0
[INFO] [stderr]     Checking async-channel v2.1.1
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking const-random v0.1.17
[INFO] [stderr]     Checking async-executor v1.8.0
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking petgraph v0.6.4
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking ritelinked v0.3.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking polling v3.3.1
[INFO] [stderr]     Checking async-io v2.2.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling rhai_codegen v1.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking rhai v1.16.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking casbin v2.1.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.1.0/src/adapter/file_adapter.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[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 `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                       --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[INFO] [stdout]    |                            ^^^^^^^^^ `ErrorKind` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     path::Path,
[INFO] [stdout]    |     ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |     path::Path,
[INFO] [stdout]    |     ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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] 21 |     path::Path as OtherPath,
[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.1.0/src/adapter/file_adapter.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fs::File,
[INFO] [stdout]    |     -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fs::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] 25 |     fs::File as OtherFile,
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader},
[INFO] [stdout]    |                                          ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` 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] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader as OtherBufReader},
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Cursor` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ------ previous import of the type `Cursor` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |           ^^^^^^^^^^ `Cursor` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cursor` 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] 13 | use std::{io::Cursor as OtherCursor, path::Path};
[INFO] [stdout]    |           ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                           ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |                       ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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] 13 | use std::{io::Cursor, path::Path as OtherPath};
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                    ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` 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 |     AsyncBufReadExt, AsyncReadExt, BufReader as OtherBufReader, Error as IoError, ErrorKind,
[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.1.0/src/config.rs:16:47
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                             ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[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 `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                               --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                                                 ^^^^^^^^^-
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 `ErrorKind` reimported here
[INFO] [stdout]    |                                                                 help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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.1.0/src/config.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                 -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use tokio::fs::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] 20 | use tokio::fs::File as OtherFile;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/model/default_model.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use async_std::path::Path;
[INFO] [stdout]    |     --------------------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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 OtherPath;
[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.1.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<BufReader<File>>`
[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.1.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<BufReader<File>>`
[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" "0723b26ceb5336dddbaeb5372512c4e00e544546dca7ed1d6080e6d5028bfffd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0723b26ceb5336dddbaeb5372512c4e00e544546dca7ed1d6080e6d5028bfffd", kill_on_drop: false }`
[INFO] [stdout] 0723b26ceb5336dddbaeb5372512c4e00e544546dca7ed1d6080e6d5028bfffd
[INFO] documenting yaml-adapter-0.1.0 against beta-2023-12-22 for beta-1.76-rustdoc-1
[INFO] extracting crate yaml-adapter 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate yaml-adapter 0.1.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 274e6b77b25129b6ebe4c5e6bf52a046e04ac835d8141e3e6937be44f3db925c
[INFO] running `Command { std: "docker" "start" "-a" "274e6b77b25129b6ebe4c5e6bf52a046e04ac835d8141e3e6937be44f3db925c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "274e6b77b25129b6ebe4c5e6bf52a046e04ac835d8141e3e6937be44f3db925c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "274e6b77b25129b6ebe4c5e6bf52a046e04ac835d8141e3e6937be44f3db925c", kill_on_drop: false }`
[INFO] [stdout] 274e6b77b25129b6ebe4c5e6bf52a046e04ac835d8141e3e6937be44f3db925c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ea3b3514fedc64d6d168ea4fbde4b2c92d157d3ae1b8347fe5f66acc736fd9d
[INFO] running `Command { std: "docker" "start" "-a" "5ea3b3514fedc64d6d168ea4fbde4b2c92d157d3ae1b8347fe5f66acc736fd9d", kill_on_drop: false }`
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking linux-raw-sys v0.4.12
[INFO] [stderr]     Checking value-bag v1.4.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking async-lock v3.2.0
[INFO] [stderr]     Checking async-channel v2.1.1
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking async-executor v1.8.0
[INFO] [stderr]     Checking const-random v0.1.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking petgraph v0.6.4
[INFO] [stderr]     Checking ritelinked v0.3.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking polling v3.3.1
[INFO] [stderr]     Checking async-io v2.2.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling rhai_codegen v1.6.0
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking rhai v1.16.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking casbin v2.1.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.1.0/src/adapter/file_adapter.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[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 `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                       --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[INFO] [stdout]    |                            ^^^^^^^^^ `ErrorKind` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     path::Path,
[INFO] [stdout]    |     ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |     path::Path,
[INFO] [stdout]    |     ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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] 21 |     path::Path as OtherPath,
[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.1.0/src/adapter/file_adapter.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fs::File,
[INFO] [stdout]    |     -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fs::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] 25 |     fs::File as OtherFile,
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/adapter/file_adapter.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader},
[INFO] [stdout]    |                                          ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` 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] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader as OtherBufReader},
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Cursor` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ------ previous import of the type `Cursor` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |           ^^^^^^^^^^ `Cursor` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cursor` 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] 13 | use std::{io::Cursor as OtherCursor, path::Path};
[INFO] [stdout]    |           ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                           ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |                       ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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] 13 | use std::{io::Cursor, path::Path as OtherPath};
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                    ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` 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 |     AsyncBufReadExt, AsyncReadExt, BufReader as OtherBufReader, Error as IoError, ErrorKind,
[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.1.0/src/config.rs:16:47
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                             ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[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 `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/config.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                               --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                                                 ^^^^^^^^^-
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 `ErrorKind` reimported here
[INFO] [stdout]    |                                                                 help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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.1.0/src/config.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                 -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use tokio::fs::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] 20 | use tokio::fs::File as OtherFile;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/casbin-2.1.0/src/model/default_model.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use async_std::path::Path;
[INFO] [stdout]    |     --------------------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` 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 OtherPath;
[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.1.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<BufReader<File>>`
[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.1.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<BufReader<File>>`
[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" "5ea3b3514fedc64d6d168ea4fbde4b2c92d157d3ae1b8347fe5f66acc736fd9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ea3b3514fedc64d6d168ea4fbde4b2c92d157d3ae1b8347fe5f66acc736fd9d", kill_on_drop: false }`
[INFO] [stdout] 5ea3b3514fedc64d6d168ea4fbde4b2c92d157d3ae1b8347fe5f66acc736fd9d
