[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg-lang/erg on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded backtrace-on-stack-overflow v0.3.0 [INFO] [stderr] Downloaded molc v0.2.8 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded lsp-types v0.93.2 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded pyo3 v0.20.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 295911adfa1ccce3159c6753c1642ed76287e080d2a9dedfff0851ea2a3a5927 [INFO] running `Command { std: "docker" "start" "-a" "295911adfa1ccce3159c6753c1642ed76287e080d2a9dedfff0851ea2a3a5927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "295911adfa1ccce3159c6753c1642ed76287e080d2a9dedfff0851ea2a3a5927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295911adfa1ccce3159c6753c1642ed76287e080d2a9dedfff0851ea2a3a5927", kill_on_drop: false }` [INFO] [stdout] 295911adfa1ccce3159c6753c1642ed76287e080d2a9dedfff0851ea2a3a5927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e58e573251ee1c7190d47ee2aec532466a41057823002b7e2f414ee118ffe8f [INFO] running `Command { std: "docker" "start" "-a" "2e58e573251ee1c7190d47ee2aec532466a41057823002b7e2f414ee118ffe8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling erg_common v0.6.34 (/opt/rustwide/workdir/crates/erg_common) [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/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 22.12s [INFO] running `Command { std: "docker" "inspect" "2e58e573251ee1c7190d47ee2aec532466a41057823002b7e2f414ee118ffe8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e58e573251ee1c7190d47ee2aec532466a41057823002b7e2f414ee118ffe8f", kill_on_drop: false }` [INFO] [stdout] 2e58e573251ee1c7190d47ee2aec532466a41057823002b7e2f414ee118ffe8f [INFO] checking erg-lang/erg against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg-lang%2Ferg" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erg-lang/erg on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7514715dfe795178ba17b4aebb893f322747d0502bda88dfb5e2a3ecc5c06f8c [INFO] running `Command { std: "docker" "start" "-a" "7514715dfe795178ba17b4aebb893f322747d0502bda88dfb5e2a3ecc5c06f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7514715dfe795178ba17b4aebb893f322747d0502bda88dfb5e2a3ecc5c06f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7514715dfe795178ba17b4aebb893f322747d0502bda88dfb5e2a3ecc5c06f8c", kill_on_drop: false }` [INFO] [stdout] 7514715dfe795178ba17b4aebb893f322747d0502bda88dfb5e2a3ecc5c06f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c7bf5d87ca9e64b7c66a0696098328c0b119796e7313b7b25e796ff113bb72 [INFO] running `Command { std: "docker" "start" "-a" "c1c7bf5d87ca9e64b7c66a0696098328c0b119796e7313b7b25e796ff113bb72", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling erg_common v0.6.34 (/opt/rustwide/workdir/crates/erg_common) [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.52 [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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/build_package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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 `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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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/context/instantiate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::Option; // conflicting to Type::Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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 `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 `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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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/3a4bc97f6385a3aa300a4fd689b44350e54fd676/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] error[E0283]: type annotations needed [INFO] [stdout] --> crates/els/diagnostics.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn_new_thread` [INFO] [stdout] --> /opt/rustwide/workdir/crates/erg_common/spawn.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn spawn_new_thread(run: F, name: &str) -> JoinHandle [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 44 | T: Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn_new_thread` [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 473 | move || -> /* Type */ { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> crates/els/diagnostics.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn_new_thread` [INFO] [stdout] --> /opt/rustwide/workdir/crates/erg_common/spawn.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn spawn_new_thread(run: F, name: &str) -> JoinHandle [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 44 | T: Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn_new_thread` [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 473 | move || -> /* Type */ { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> crates/els/server.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let mut handle = spawn_new_thread( [INFO] [stdout] | _____________^^^^^^^^^^___- [INFO] [stdout] 327 | | move || loop { [INFO] [stdout] 328 | | let msg = _self.read_message().unwrap(); [INFO] [stdout] 329 | | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] ... | [INFO] [stdout] 336 | | fn_name!(), [INFO] [stdout] 337 | | ); [INFO] [stdout] | |_________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn_new_thread` [INFO] [stdout] --> /opt/rustwide/workdir/crates/erg_common/spawn.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn spawn_new_thread(run: F, name: &str) -> JoinHandle [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 44 | T: Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn_new_thread` [INFO] [stdout] help: consider giving `handle` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 326 | let mut handle: JoinHandle = spawn_new_thread( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> crates/els/server.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let mut handle = spawn_new_thread( [INFO] [stdout] | _____________^^^^^^^^^^___- [INFO] [stdout] 327 | | move || loop { [INFO] [stdout] 328 | | let msg = _self.read_message().unwrap(); [INFO] [stdout] 329 | | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] ... | [INFO] [stdout] 336 | | fn_name!(), [INFO] [stdout] 337 | | ); [INFO] [stdout] | |_________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn_new_thread` [INFO] [stdout] --> /opt/rustwide/workdir/crates/erg_common/spawn.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn spawn_new_thread(run: F, name: &str) -> JoinHandle [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 44 | T: Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn_new_thread` [INFO] [stdout] help: consider giving `handle` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 326 | let mut handle: JoinHandle = spawn_new_thread( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `els` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `els` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c1c7bf5d87ca9e64b7c66a0696098328c0b119796e7313b7b25e796ff113bb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c7bf5d87ca9e64b7c66a0696098328c0b119796e7313b7b25e796ff113bb72", kill_on_drop: false }` [INFO] [stdout] c1c7bf5d87ca9e64b7c66a0696098328c0b119796e7313b7b25e796ff113bb72