[INFO] cloning repository https://github.com/Mercerenies/gdlisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mercerenies/gdlisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercerenies%2Fgdlisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercerenies%2Fgdlisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04b1395a46abcc398998edc11a813f7a69282a30 [INFO] checking Mercerenies/gdlisp against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMercerenies%2Fgdlisp" "/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/Mercerenies/gdlisp on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mercerenies/gdlisp [INFO] finished tweaking git repo https://github.com/Mercerenies/gdlisp [INFO] tweaked toml for git repo https://github.com/Mercerenies/gdlisp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mercerenies/gdlisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded ordered-float v2.0.0 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded serde_derive v1.0.140 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dce597e5b0e1654f2e297f52edc2d3bad94546168d941099c10b748d1d0d6112 [INFO] running `Command { std: "docker" "start" "-a" "dce597e5b0e1654f2e297f52edc2d3bad94546168d941099c10b748d1d0d6112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce597e5b0e1654f2e297f52edc2d3bad94546168d941099c10b748d1d0d6112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce597e5b0e1654f2e297f52edc2d3bad94546168d941099c10b748d1d0d6112", kill_on_drop: false }` [INFO] [stdout] dce597e5b0e1654f2e297f52edc2d3bad94546168d941099c10b748d1d0d6112 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0fde567fa239f18752692f896b739c303908c9ea5132a80583863de62823b0 [INFO] running `Command { std: "docker" "start" "-a" "3f0fde567fa239f18752692f896b739c303908c9ea5132a80583863de62823b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking ordered-float v2.0.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling gdlisp v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/names/contextual.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134: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 `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/names/fresh.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/symbol_table/local_var.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/compile/special_form/flet.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/compile/resource_type.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ir/identifier.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/closure_names.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/gdscript/arglist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/runner/named_file.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/graph/tarjan.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 26 | [INFO] [stdout] 27 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/sxp/ast.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/sxp/dotted.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 109 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] 110 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/sxp/reify/pretty.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 129 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] 130 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AST` is imported redundantly [INFO] [stdout] --> src/sxp/syntax.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 126 | use super::*; [INFO] [stdout] | -------- the item `AST` is already imported here [INFO] [stdout] 127 | use crate::sxp::ast::AST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/names/contextual.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/names/fresh.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/compile/symbol_table/local_var.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/compile/special_form/flet.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VarArg` is imported redundantly [INFO] [stdout] --> src/compile/special_form/lambda_vararg/mod.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 143 | use super::*; [INFO] [stdout] | -------- the item `VarArg` is already imported here [INFO] [stdout] 144 | use crate::ir::arglist::vararg::VarArg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/compile/resource_type.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Decl` is imported redundantly [INFO] [stdout] --> src/compile/mod.rs:560:7 [INFO] [stdout] | [INFO] [stdout] 559 | use super::*; [INFO] [stdout] | -------- the item `Decl` is already imported here [INFO] [stdout] 560 | use crate::gdscript::decl::Decl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StmtBuilder` is imported redundantly [INFO] [stdout] --> src/compile/mod.rs:565:7 [INFO] [stdout] | [INFO] [stdout] 559 | use super::*; [INFO] [stdout] | -------- the item `StmtBuilder` is already imported here [INFO] [stdout] ... [INFO] [stdout] 565 | use crate::compile::body::builder::StmtBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/compile/mod.rs:567:7 [INFO] [stdout] | [INFO] [stdout] 559 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] ... [INFO] [stdout] 567 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pipeline` is imported redundantly [INFO] [stdout] --> src/ir/incremental.rs:872:7 [INFO] [stdout] | [INFO] [stdout] 871 | use super::*; [INFO] [stdout] | -------- the item `Pipeline` is already imported here [INFO] [stdout] 872 | use crate::pipeline::Pipeline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pipeline` is imported redundantly [INFO] [stdout] --> src/ir/call_name.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 131 | use super::*; [INFO] [stdout] | -------- the item `Pipeline` is already imported here [INFO] [stdout] 132 | use crate::AST_PARSER; [INFO] [stdout] 133 | use crate::pipeline::Pipeline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/ir/call_name.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 131 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] ... [INFO] [stdout] 134 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ir/identifier.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use std::borrow::{Borrow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/closure_names.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pipeline` is imported redundantly [INFO] [stdout] --> src/ir/mod.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 82 | use super::*; [INFO] [stdout] | -------- the item `Pipeline` is already imported here [INFO] [stdout] ... [INFO] [stdout] 88 | use crate::pipeline::Pipeline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/gdscript/arglist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> src/gdscript/decl.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 401 | use super::*; [INFO] [stdout] | -------- the item `Expr` is already imported here [INFO] [stdout] 402 | use crate::gdscript::expr::{Expr, ExprF}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/gdscript/decl.rs:403:7 [INFO] [stdout] | [INFO] [stdout] 401 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] 402 | use crate::gdscript::expr::{Expr, ExprF}; [INFO] [stdout] 403 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/argument.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/api_type.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/class.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/gdnative_enum.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/method.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/property.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/signal.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/gdscript/library/gdnative/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expr` is imported redundantly [INFO] [stdout] --> src/gdscript/stmt.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 312 | use super::*; [INFO] [stdout] | -------- the item `Expr` is already imported here [INFO] [stdout] 313 | use crate::gdscript::expr::{Expr, ExprF}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SourceOffset` is imported redundantly [INFO] [stdout] --> src/gdscript/stmt.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 312 | use super::*; [INFO] [stdout] | -------- the item `SourceOffset` is already imported here [INFO] [stdout] ... [INFO] [stdout] 315 | use crate::pipeline::source::SourceOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/runner/macro_server/mod.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 219 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 223 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/runner/named_file.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/graph/tarjan.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 26 | [INFO] [stdout] 27 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `decl` is imported redundantly [INFO] [stdout] --> src/optimize/gdscript/dead_decl_elimination.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | -------- the item `decl` is already imported here [INFO] [stdout] 51 | use crate::gdscript::decl::{self, Decl, DeclF}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeclF` is imported redundantly [INFO] [stdout] --> src/optimize/gdscript/dead_decl_elimination.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | -------- the item `DeclF` is already imported here [INFO] [stdout] 51 | use crate::gdscript::decl::{self, Decl, DeclF}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | match table.get_var(var.borrow()) { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:210:62 [INFO] [stdout] | [INFO] [stdout] 210 | None => return Err(GDError::new(GDErrorF::NoSuchVar(var.borrow().to_owned()), var_pos)), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | lambda_table.set_var(var.borrow().to_owned(), new_var); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | match table.get_fn(func.borrow()) { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:248:64 [INFO] [stdout] | [INFO] [stdout] 248 | None => { return Err(GDError::new(GDErrorF::NoSuchFn(func.borrow().to_owned()), func_pos)) } [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | lambda_table.set_fn(func.borrow().to_owned(), call, magic.clone()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/arglist/parser.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | match arg.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/classification.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | return DECL_HEADS.contains(&head.borrow()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | match table.get_var(var.borrow()) { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:210:62 [INFO] [stdout] | [INFO] [stdout] 210 | None => return Err(GDError::new(GDErrorF::NoSuchVar(var.borrow().to_owned()), var_pos)), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | lambda_table.set_var(var.borrow().to_owned(), new_var); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | match table.get_fn(func.borrow()) { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:248:64 [INFO] [stdout] | [INFO] [stdout] 248 | None => { return Err(GDError::new(GDErrorF::NoSuchFn(func.borrow().to_owned()), func_pos)) } [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/compile/special_form/lambda.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | lambda_table.set_fn(func.borrow().to_owned(), call, magic.clone()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/arglist/parser.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | match arg.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/classification.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | return DECL_HEADS.contains(&head.borrow()); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "3f0fde567fa239f18752692f896b739c303908c9ea5132a80583863de62823b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0fde567fa239f18752692f896b739c303908c9ea5132a80583863de62823b0", kill_on_drop: false }` [INFO] [stdout] 3f0fde567fa239f18752692f896b739c303908c9ea5132a80583863de62823b0