[INFO] fetching crate esr 0.1.0... [INFO] checking esr-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate esr 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate esr 0.1.0 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 crates.io crate esr 0.1.0 [INFO] finished tweaking crates.io crate esr 0.1.0 [INFO] tweaked toml for crates.io crate esr 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages [INFO] [stderr] Adding ansi_term v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding difference v1.0.0 (latest: v2.0.0) [INFO] [stderr] Adding pretty_assertions v0.4.1 (latest: v1.4.0) [INFO] [stderr] Adding toolshed v0.4.0 (latest: v0.8.1) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded pretty_assertions v0.4.1 [INFO] [stderr] Downloaded toolshed v0.4.0 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 069e76fbab41e898cfa1081fa3a089a38cd5779180425c528b7cd973e8a37375 [INFO] running `Command { std: "docker" "start" "-a" "069e76fbab41e898cfa1081fa3a089a38cd5779180425c528b7cd973e8a37375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "069e76fbab41e898cfa1081fa3a089a38cd5779180425c528b7cd973e8a37375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069e76fbab41e898cfa1081fa3a089a38cd5779180425c528b7cd973e8a37375", kill_on_drop: false }` [INFO] [stdout] 069e76fbab41e898cfa1081fa3a089a38cd5779180425c528b7cd973e8a37375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fefd37635c59311d06af5c636d1a774dde5d1f542dd9a354d8ee0f38a68ba545 [INFO] running `Command { std: "docker" "start" "-a" "fefd37635c59311d06af5c636d1a774dde5d1f542dd9a354d8ee0f38a68ba545", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking toolshed v0.4.0 [INFO] [stderr] Checking esr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(write!(f, "Unexpected end of program")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | r#try!(writeln!(f, "Unexpected token at {}:{}\n", lineno + 1, colno + 1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | r#try!(writeln!(f, "> {0:1$} | {2}", index+1, width, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | r#try!(write!(f, " | ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | r#try!(write!(f, "\n")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ... r#try!(write!(f, "^")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | r#try!(writeln!(f, "{0:1$} | {2}", index+1, width+2, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Node, NodeList, Expression, ExpressionNode, IdentifierNode, ExpressionList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Property` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Property` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyKey` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `PropertyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/nested.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// All potential tokens, including Comma for sequence expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/nested.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{NodeList, Expression, ExpressionNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Declarator` is imported redundantly [INFO] [stdout] --> src/astgen/statement.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Declarator` is already imported here [INFO] [stdout] 2 | use crate::ast::{Block, DeclarationKind, Declarator, Loc, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(write!(f, "Unexpected end of program")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | r#try!(writeln!(f, "Unexpected token at {}:{}\n", lineno + 1, colno + 1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | r#try!(writeln!(f, "> {0:1$} | {2}", index+1, width, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | r#try!(write!(f, " | ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | r#try!(write!(f, "\n")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ... r#try!(write!(f, "^")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | r#try!(writeln!(f, "{0:1$} | {2}", index+1, width+2, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Node, NodeList, Expression, ExpressionNode, IdentifierNode, ExpressionList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Property` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Property` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyKey` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `PropertyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OperatorKind` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `OperatorKind` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Literal` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Literal` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statement` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:45 [INFO] [stdout] | [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 641 | use crate::ast::expression::*; [INFO] [stdout] 642 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Statement` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:56 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:75 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeList` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `NodeList` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:41 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:51 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeList` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `NodeList` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:53 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:63 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ClassMember` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `ClassMember` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use crate::ast::{ClassMember, Pattern}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pattern` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Pattern` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use crate::ast::{ClassMember, Pattern}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/nested.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// All potential tokens, including Comma for sequence expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/nested.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{NodeList, Expression, ExpressionNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExpressionNode` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `ExpressionNode` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:47 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockNode` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:54 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `BlockNode` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Declarator` is imported redundantly [INFO] [stdout] --> src/astgen/statement.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Declarator` is already imported here [INFO] [stdout] 2 | use crate::ast::{Block, DeclarationKind, Declarator, Loc, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/astgen/value.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/parser/error.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Handle<'ast> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `esr` is imported redundantly [INFO] [stdout] --> benches/colors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use esr; [INFO] [stdout] | ^^^ the item `esr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> benches/colors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toolshed` is imported redundantly [INFO] [stdout] --> benches/colors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use toolshed; [INFO] [stdout] | ^^^^^^^^ the item `toolshed` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/parser/error.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Handle<'ast> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "fefd37635c59311d06af5c636d1a774dde5d1f542dd9a354d8ee0f38a68ba545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefd37635c59311d06af5c636d1a774dde5d1f542dd9a354d8ee0f38a68ba545", kill_on_drop: false }` [INFO] [stdout] fefd37635c59311d06af5c636d1a774dde5d1f542dd9a354d8ee0f38a68ba545 [INFO] checking esr-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate esr 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate esr 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate esr 0.1.0 [INFO] finished tweaking crates.io crate esr 0.1.0 [INFO] tweaked toml for crates.io crate esr 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b907d09d1bbbc70eec96d17ed8f12e405245bb8f4e7faa72cff95d68635ab09 [INFO] running `Command { std: "docker" "start" "-a" "0b907d09d1bbbc70eec96d17ed8f12e405245bb8f4e7faa72cff95d68635ab09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b907d09d1bbbc70eec96d17ed8f12e405245bb8f4e7faa72cff95d68635ab09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b907d09d1bbbc70eec96d17ed8f12e405245bb8f4e7faa72cff95d68635ab09", kill_on_drop: false }` [INFO] [stdout] 0b907d09d1bbbc70eec96d17ed8f12e405245bb8f4e7faa72cff95d68635ab09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2beb2e99777c8941fe893a2e9962b75617752e99b19dddabf614d946e2b2d440 [INFO] running `Command { std: "docker" "start" "-a" "2beb2e99777c8941fe893a2e9962b75617752e99b19dddabf614d946e2b2d440", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking toolshed v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking esr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(write!(f, "Unexpected end of program")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | r#try!(writeln!(f, "Unexpected token at {}:{}\n", lineno + 1, colno + 1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | r#try!(writeln!(f, "> {0:1$} | {2}", index+1, width, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | r#try!(write!(f, " | ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | r#try!(write!(f, "\n")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ... r#try!(write!(f, "^")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | r#try!(writeln!(f, "{0:1$} | {2}", index+1, width+2, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Node, NodeList, Expression, ExpressionNode, IdentifierNode, ExpressionList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Property` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Property` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyKey` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `PropertyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/nested.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// All potential tokens, including Comma for sequence expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/nested.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{NodeList, Expression, ExpressionNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Declarator` is imported redundantly [INFO] [stdout] --> src/astgen/statement.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Declarator` is already imported here [INFO] [stdout] 2 | use crate::ast::{Block, DeclarationKind, Declarator, Loc, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(write!(f, "Unexpected end of program")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | r#try!(writeln!(f, "Unexpected token at {}:{}\n", lineno + 1, colno + 1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | r#try!(writeln!(f, "> {0:1$} | {2}", index+1, width, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | r#try!(write!(f, " | ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | r#try!(write!(f, "\n")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ... r#try!(write!(f, " ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ... r#try!(write!(f, "^")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | r#try!(writeln!(f, "{0:1$} | {2}", index+1, width+2, line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Node, NodeList, Expression, ExpressionNode, IdentifierNode, ExpressionList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Property` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Property` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyKey` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Property, PropertyKey, OperatorKind, Literal, Function, Class, StatementNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `PropertyKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OperatorKind` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `OperatorKind` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Literal` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Literal` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statement` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:45 [INFO] [stdout] | [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 641 | use crate::ast::expression::*; [INFO] [stdout] 642 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Statement` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:56 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/expression.rs:640:75 [INFO] [stdout] | [INFO] [stdout] 639 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] 640 | use crate::ast::{OperatorKind, Literal, Statement, Function, Pattern, Class}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeList` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `NodeList` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:41 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/statement.rs:628:51 [INFO] [stdout] | [INFO] [stdout] 625 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] ... [INFO] [stdout] 628 | use crate::ast::{NodeList, Literal, Function, Class, OperatorKind, BlockStatement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeList` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `NodeList` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:53 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Class` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:390:63 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Class` is already imported here [INFO] [stdout] ... [INFO] [stdout] 390 | use crate::ast::{NodeList, Literal, Expression, Function, Class}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ClassMember` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `ClassMember` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use crate::ast::{ClassMember, Pattern}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pattern` is imported redundantly [INFO] [stdout] --> src/parser/function.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 387 | use super::*; [INFO] [stdout] | -------- the item `Pattern` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use crate::ast::{ClassMember, Pattern}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/nested.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// All potential tokens, including Comma for sequence expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Expression` is imported redundantly [INFO] [stdout] --> src/parser/nested.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{NodeList, Expression, ExpressionNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use crate::ast::expression::*; [INFO] [stdout] | ------------------------- the item `Expression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExpressionNode` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `ExpressionNode` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:47 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockNode` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:242:54 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | -------- the item `BlockNode` is already imported here [INFO] [stdout] 242 | use crate::ast::{Literal, ExpressionNode, Block, BlockNode, Name}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Declarator` is imported redundantly [INFO] [stdout] --> src/astgen/statement.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::statement::*; [INFO] [stdout] | ------------------------ the item `Declarator` is already imported here [INFO] [stdout] 2 | use crate::ast::{Block, DeclarationKind, Declarator, Loc, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/astgen/value.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/parser/error.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Handle<'ast> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `esr` is imported redundantly [INFO] [stdout] --> benches/colors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use esr; [INFO] [stdout] | ^^^ the item `esr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> benches/colors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toolshed` is imported redundantly [INFO] [stdout] --> benches/colors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use toolshed; [INFO] [stdout] | ^^^^^^^^ the item `toolshed` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/parser/error.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Handle<'ast> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s [INFO] running `Command { std: "docker" "inspect" "2beb2e99777c8941fe893a2e9962b75617752e99b19dddabf614d946e2b2d440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2beb2e99777c8941fe893a2e9962b75617752e99b19dddabf614d946e2b2d440", kill_on_drop: false }` [INFO] [stdout] 2beb2e99777c8941fe893a2e9962b75617752e99b19dddabf614d946e2b2d440