[INFO] cloning repository https://github.com/AlmightyFloppyFish/leaf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlmightyFloppyFish/leaf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlmightyFloppyFish%2Fleaf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlmightyFloppyFish%2Fleaf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10afeedfb804851da0264a294c268a6a47122b5c [INFO] checking AlmightyFloppyFish/leaf against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlmightyFloppyFish%2Fleaf" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlmightyFloppyFish/leaf on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlmightyFloppyFish/leaf [INFO] finished tweaking git repo https://github.com/AlmightyFloppyFish/leaf [INFO] tweaked toml for git repo https://github.com/AlmightyFloppyFish/leaf written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AlmightyFloppyFish/leaf 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owned_chars v0.3.1 [INFO] [stderr] Downloaded delegate v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe2ac50a2990861bea251616dd3165ec7c4d9b5b93bba557eb70b4f9641bdc4a [INFO] running `Command { std: "docker" "start" "-a" "fe2ac50a2990861bea251616dd3165ec7c4d9b5b93bba557eb70b4f9641bdc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe2ac50a2990861bea251616dd3165ec7c4d9b5b93bba557eb70b4f9641bdc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2ac50a2990861bea251616dd3165ec7c4d9b5b93bba557eb70b4f9641bdc4a", kill_on_drop: false }` [INFO] [stdout] fe2ac50a2990861bea251616dd3165ec7c4d9b5b93bba557eb70b4f9641bdc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bdce040557be10215befc0f06dd0eed7ca8a23c022961f1c4b79ed441403f02 [INFO] running `Command { std: "docker" "start" "-a" "2bdce040557be10215befc0f06dd0eed7ca8a23c022961f1c4b79ed441403f02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking lumina-env v0.1.0 (/opt/rustwide/workdir/lumina-env) [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> lumina-env/src/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> lumina-env/src/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` 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] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking lumina-patterns v0.1.0 (/opt/rustwide/workdir/lumina-patterns) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking lumina-util v0.1.0 (/opt/rustwide/workdir/lumina-util) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> lumina-util/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lumina_env` is imported redundantly [INFO] [stdout] --> lumina-util/src/location.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | use lumina_env; [INFO] [stdout] | ^^^^^^^^^^ the item `lumina_env` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> lumina-util/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lumina-typesystem v0.1.0 (/opt/rustwide/workdir/lumina-typesystem) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> lumina-typesystem/src/impls/specialization.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specialization` [INFO] [stdout] --> lumina-typesystem/src/impls/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub use specialization::{Scorer, Specialization}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lumina_util::debug` [INFO] [stdout] --> lumina-typesystem/src/genbuffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lumina_util::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> lumina-typesystem/src/impls/specialization.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specialization` [INFO] [stdout] --> lumina-typesystem/src/impls/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub use specialization::{Scorer, Specialization}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lumina_util::debug` [INFO] [stdout] --> lumina-typesystem/src/genbuffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lumina_util::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lumina-typesystem/src/lib.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | IType::Infer => panic!(INFERENCE_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 209 | IType::Infer => panic!("{}", INFERENCE_ERROR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lumina-typesystem/src/lib.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | IType::Infer => panic!(INFERENCE_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 209 | IType::Infer => panic!("{}", INFERENCE_ERROR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling delegate v0.4.2 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking owned_chars v0.3.1 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking lumina-tokenizer v0.1.0 (/opt/rustwide/workdir/lumina-tokenizer) [INFO] [stderr] Checking lumina-parser v0.1.0 (/opt/rustwide/workdir/lumina-parser) [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Location` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use lumina_util::{Location, LocationError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LocationError` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `LocationError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use lumina_util::{Location, LocationError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tr` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/expr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Tr` is already imported here [INFO] [stdout] 2 | use lumina_util::Tr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use lumina_util::Tr; [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tr` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/function.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Tr` is already imported here [INFO] [stdout] 2 | use crate::ast::function::Header; [INFO] [stdout] 3 | use lumina_util::{PFlags, Tr, Typing}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/function.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/impl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trait` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/trait.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Trait` is already imported here [INFO] [stdout] 2 | use crate::r#type::Trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use lumina_util::{FlagList, PFlags, ParameterFlag, Typing}; [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entity` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/construct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Entity` is already imported here [INFO] [stdout] 4 | use ast::Entity; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> lumina-parser/src/attribute.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Location` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use lumina_util::{Location, LocationError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LocationError` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `LocationError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use lumina_util::{Location, LocationError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> lumina-parser/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use lumina_util::Tr; [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/function.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ast` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/function.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 246 | use super::*; [INFO] [stdout] | -------- the item `ast` is already imported here [INFO] [stdout] 247 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/impl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use lumina_util::{FlagList, PFlags, ParameterFlag, Typing}; [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Location` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/walker/type.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | use super::*; [INFO] [stdout] | -------- the item `Location` is already imported here [INFO] [stdout] 334 | use lumina_util::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entity` is imported redundantly [INFO] [stdout] --> lumina-parser/src/ast/construct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Entity` is already imported here [INFO] [stdout] 4 | use ast::Entity; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> lumina-parser/src/attribute.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> lumina-parser/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> lumina-parser/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> lumina-parser/src/ast/walker/function.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | ast::FileParser::new(unsafe { &mut GARBAGE_CAN_HANDLER }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 257 | ast::FileParser::new(unsafe { addr_of_mut!(GARBAGE_CAN_HANDLER) }) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lumina-parser` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lumina-parser` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2bdce040557be10215befc0f06dd0eed7ca8a23c022961f1c4b79ed441403f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdce040557be10215befc0f06dd0eed7ca8a23c022961f1c4b79ed441403f02", kill_on_drop: false }` [INFO] [stdout] 2bdce040557be10215befc0f06dd0eed7ca8a23c022961f1c4b79ed441403f02