[INFO] cloning repository https://github.com/erg-lang/erg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erg-lang/erg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f29316a98ba65b906b7577f2c6f2ca9f17c9b34 [INFO] checking erg-lang/erg against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg-lang/erg on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/erg-lang/erg [INFO] finished tweaking git repo https://github.com/erg-lang/erg [INFO] tweaked toml for git repo https://github.com/erg-lang/erg written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erg-lang/erg 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace-on-stack-overflow v0.3.0 [INFO] [stderr] Downloaded lsp-types v0.93.2 [INFO] [stderr] Downloaded molc v0.2.8 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2e04563c6beac6ac4c50b06d2eb6cf87cececa67a887ed2908b01fb7093332d [INFO] running `Command { std: "docker" "start" "-a" "b2e04563c6beac6ac4c50b06d2eb6cf87cececa67a887ed2908b01fb7093332d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2e04563c6beac6ac4c50b06d2eb6cf87cececa67a887ed2908b01fb7093332d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e04563c6beac6ac4c50b06d2eb6cf87cececa67a887ed2908b01fb7093332d", kill_on_drop: false }` [INFO] [stdout] b2e04563c6beac6ac4c50b06d2eb6cf87cececa67a887ed2908b01fb7093332d [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4139faa3e735ec53df4c6762d4d97b3f604653f885c06427e7f38f8fcba95a [INFO] running `Command { std: "docker" "start" "-a" "3f4139faa3e735ec53df4c6762d4d97b3f604653f885c06427e7f38f8fcba95a", kill_on_drop: false }` [INFO] [stderr] Compiling erg_common v0.6.34 (/opt/rustwide/workdir/crates/erg_common) [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking proc-macro2 v1.0.79 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking erg_proc_macros v0.6.34 (/opt/rustwide/workdir/crates/erg_proc_macros) [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking erg_parser v0.6.34 (/opt/rustwide/workdir/crates/erg_parser) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling erg_compiler v0.6.34 (/opt/rustwide/workdir/crates/erg_compiler) [INFO] [stderr] Compiling erg v0.6.34 (/opt/rustwide/workdir) [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lsp-types v0.93.2 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> crates/erg_parser/tests/tokenize_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/build_package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ty::{IntervalOp, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] 15 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DEBUG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `DEBUG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::{CastTarget, Field, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] 13 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/build_package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] 11 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{CastTarget, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConstTemplate` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ConstTemplate` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/inquire.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate_spec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ty::{IntervalOp, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] 15 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/register.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/unify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DEBUG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `DEBUG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::{CastTarget, Field, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] 13 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::traits::Locational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] 11 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Expr` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HasType` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `HasType` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] 9 | use crate::ty::{HasType, Type, Visibility}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{CastTarget, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConstTemplate` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ConstTemplate` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/inquire.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NoTypeDisplay` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `NoTypeDisplay` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate_spec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/register.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/unify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::traits::Locational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Expr` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HasType` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `HasType` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] 9 | use crate::ty::{HasType, Type, Visibility}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NoTypeDisplay` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `NoTypeDisplay` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/mod.rs:673:22 [INFO] [stdout] | [INFO] [stdout] 668 | error::*, [INFO] [stdout] | -------- the item `Location` is already imported here [INFO] [stdout] ... [INFO] [stdout] 673 | use erg_common::{error::Location, io::Input}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/mod.rs:673:39 [INFO] [stdout] | [INFO] [stdout] 668 | error::*, [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 673 | use erg_common::{error::Location, io::Input}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FRESH_GEN` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::fresh::FRESH_GEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::ty::*; [INFO] [stdout] | ------------ the item `FRESH_GEN` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FRESH_GEN` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::fresh::FRESH_GEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::ty::*; [INFO] [stdout] | ------------ the item `FRESH_GEN` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking molc v0.2.8 [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking erg_linter v0.6.34 (/opt/rustwide/workdir/crates/erg_linter) [INFO] [stderr] Checking els v0.1.46 (/opt/rustwide/workdir/crates/els) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.83s [INFO] running `Command { std: "docker" "inspect" "3f4139faa3e735ec53df4c6762d4d97b3f604653f885c06427e7f38f8fcba95a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4139faa3e735ec53df4c6762d4d97b3f604653f885c06427e7f38f8fcba95a", kill_on_drop: false }` [INFO] [stdout] 3f4139faa3e735ec53df4c6762d4d97b3f604653f885c06427e7f38f8fcba95a [INFO] checking erg-lang/erg against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg-lang/erg on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/erg-lang/erg [INFO] finished tweaking git repo https://github.com/erg-lang/erg [INFO] tweaked toml for git repo https://github.com/erg-lang/erg written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/erg-lang/erg 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a63740a3a9fd9af7f1109b6f8ca228af1ed9e1410dbb7ec2fb54275ef80d38 [INFO] running `Command { std: "docker" "start" "-a" "93a63740a3a9fd9af7f1109b6f8ca228af1ed9e1410dbb7ec2fb54275ef80d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a63740a3a9fd9af7f1109b6f8ca228af1ed9e1410dbb7ec2fb54275ef80d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a63740a3a9fd9af7f1109b6f8ca228af1ed9e1410dbb7ec2fb54275ef80d38", kill_on_drop: false }` [INFO] [stdout] 93a63740a3a9fd9af7f1109b6f8ca228af1ed9e1410dbb7ec2fb54275ef80d38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad774dfd2f64a37228a4aff62d6b27077f9f517be4730b5531a9ae6cf67f181e [INFO] running `Command { std: "docker" "start" "-a" "ad774dfd2f64a37228a4aff62d6b27077f9f517be4730b5531a9ae6cf67f181e", kill_on_drop: false }` [INFO] [stderr] Compiling erg_common v0.6.34 (/opt/rustwide/workdir/crates/erg_common) [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking proc-macro2 v1.0.79 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking erg_proc_macros v0.6.34 (/opt/rustwide/workdir/crates/erg_proc_macros) [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> crates/erg_common/cache.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/dict.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_common/fxhash.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> crates/erg_common/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking erg_parser v0.6.34 (/opt/rustwide/workdir/crates/erg_parser) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling erg_compiler v0.6.34 (/opt/rustwide/workdir/crates/erg_compiler) [INFO] [stderr] Compiling erg v0.6.34 (/opt/rustwide/workdir) [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lsp-types v0.93.2 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> crates/erg_parser/tests/tokenize_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/build_package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ty::{IntervalOp, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] 15 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DEBUG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `DEBUG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::{CastTarget, Field, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] 13 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] 11 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{CastTarget, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConstTemplate` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ConstTemplate` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/inquire.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate_spec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/register.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/unify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::traits::Locational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Expr` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HasType` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `HasType` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] 9 | use crate::ty::{HasType, Type, Visibility}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NoTypeDisplay` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `NoTypeDisplay` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/mod.rs:673:22 [INFO] [stdout] | [INFO] [stdout] 668 | error::*, [INFO] [stdout] | -------- the item `Location` is already imported here [INFO] [stdout] ... [INFO] [stdout] 673 | use erg_common::{error::Location, io::Input}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/mod.rs:673:39 [INFO] [stdout] | [INFO] [stdout] 668 | error::*, [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 673 | use erg_common::{error::Location, io::Input}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FRESH_GEN` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::fresh::FRESH_GEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::ty::*; [INFO] [stdout] | ------------ the item `FRESH_GEN` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/build_package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{ERG_MODE, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ty::{IntervalOp, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/classes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 14 | use crate::context::{Context, ParamSpec}; [INFO] [stdout] 15 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DEBUG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `DEBUG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ERG_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ERG_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PYTHON_MODE` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::consts::{DEBUG_MODE, ERG_MODE, GAL, PYTHON_MODE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `PYTHON_MODE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ty::{CastTarget, Field, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/funcs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 12 | use crate::context::Context; [INFO] [stdout] 13 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/patches.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::Context; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TyParam` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::typaram::TyParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `TyParam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/procs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 10 | use crate::context::Context; [INFO] [stdout] 11 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueObj` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ty::value::ValueObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ValueObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Visibility` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ty::{CastTarget, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Visibility` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConstTemplate` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `ConstTemplate` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Context` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutability` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/initialize/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::context::initialize::*; [INFO] [stdout] | ----------------------------- the item `Mutability` is already imported here [INFO] [stdout] 11 | use crate::context::{ConstTemplate, Context, DefaultInfo, ParamSpec}; [INFO] [stdout] 12 | use crate::varinfo::Mutability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/inquire.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/instantiate_spec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/register.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/unify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/context/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::traits::Locational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `Expr` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HasType` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/lower.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::*; [INFO] [stdout] | --------------- the item `HasType` is already imported here [INFO] [stdout] 8 | use crate::hir::{Expr, Identifier}; [INFO] [stdout] 9 | use crate::ty::{HasType, Type, Visibility}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ErrorCore` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `ErrorCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Location` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubMessage` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use erg_common::error::{ErrorCore, ErrorKind::*, Location, SubMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `SubMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::io::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Input` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStr` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledString` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StyledStrings` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use erg_common::style::{StyledStr, StyledString, StyledStrings, Stylize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `StyledStrings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Locational` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `Locational` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NoTypeDisplay` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/error/tycheck.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use erg_common::traits::{Locational, NoTypeDisplay}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::error::*; [INFO] [stdout] | --------------- the item `NoTypeDisplay` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FRESH_GEN` is imported redundantly [INFO] [stdout] --> crates/erg_compiler/ty/constructors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use erg_common::fresh::FRESH_GEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::ty::*; [INFO] [stdout] | ------------ the item `FRESH_GEN` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking molc v0.2.8 [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking erg_linter v0.6.34 (/opt/rustwide/workdir/crates/erg_linter) [INFO] [stderr] Checking els v0.1.46 (/opt/rustwide/workdir/crates/els) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/els/diagnostics.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(IncompleteArtifact), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.06s [INFO] running `Command { std: "docker" "inspect" "ad774dfd2f64a37228a4aff62d6b27077f9f517be4730b5531a9ae6cf67f181e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad774dfd2f64a37228a4aff62d6b27077f9f517be4730b5531a9ae6cf67f181e", kill_on_drop: false }` [INFO] [stdout] ad774dfd2f64a37228a4aff62d6b27077f9f517be4730b5531a9ae6cf67f181e