[INFO] cloning repository https://github.com/maheshbansod/js_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maheshbansod/js_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaheshbansod%2Fjs_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaheshbansod%2Fjs_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c2b2717c2e3a4f0500a859a6919023d306daebf [INFO] building maheshbansod/js_parser against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaheshbansod%2Fjs_parser" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maheshbansod/js_parser [INFO] finished tweaking git repo https://github.com/maheshbansod/js_parser [INFO] tweaked toml for git repo https://github.com/maheshbansod/js_parser written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maheshbansod/js_parser on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maheshbansod/js_parser 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef3351a4d48e589fffe9b129ec2c57eff6b58ebd2eadfba4a99e250bbded779e [INFO] running `Command { std: "docker" "start" "-a" "ef3351a4d48e589fffe9b129ec2c57eff6b58ebd2eadfba4a99e250bbded779e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3351a4d48e589fffe9b129ec2c57eff6b58ebd2eadfba4a99e250bbded779e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3351a4d48e589fffe9b129ec2c57eff6b58ebd2eadfba4a99e250bbded779e", kill_on_drop: false }` [INFO] [stdout] ef3351a4d48e589fffe9b129ec2c57eff6b58ebd2eadfba4a99e250bbded779e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f4bd156058b1a34cc1144ba502d9f0ad8bc89a33a01f02ee0bdc6d5f6f11053 [INFO] running `Command { std: "docker" "start" "-a" "5f4bd156058b1a34cc1144ba502d9f0ad8bc89a33a01f02ee0bdc6d5f6f11053", kill_on_drop: false }` [INFO] [stderr] Compiling js_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/node.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operator` is never used [INFO] [stdout] --> src/parser/expression/mod.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | trait Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end_token` is never read [INFO] [stdout] --> src/parser/expression/mod.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct FunctionCallExpression { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 359 | end_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_token` is never read [INFO] [stdout] --> src/parser/expression/function_definition.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 55 | function_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_token` and `start_token` are never read [INFO] [stdout] --> src/parser/statement/block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub body: Vec, [INFO] [stdout] 38 | end_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | start_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_token` and `end_token` are never read [INFO] [stdout] --> src/parser/statement/class_definition.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ClassDefinition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 123 | class_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | end_token: Option, // Changed to Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_token`, `consequent`, and `alternate` are never read [INFO] [stdout] --> src/parser/statement/if_statement.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | start_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub condition: Expression, [INFO] [stdout] 48 | consequent: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | alternate: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "5f4bd156058b1a34cc1144ba502d9f0ad8bc89a33a01f02ee0bdc6d5f6f11053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4bd156058b1a34cc1144ba502d9f0ad8bc89a33a01f02ee0bdc6d5f6f11053", kill_on_drop: false }` [INFO] [stdout] 5f4bd156058b1a34cc1144ba502d9f0ad8bc89a33a01f02ee0bdc6d5f6f11053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d52715c4f6f00f9159b06795506661ab908a1522e032b21816ab3a2ca79562c [INFO] running `Command { std: "docker" "start" "-a" "5d52715c4f6f00f9159b06795506661ab908a1522e032b21816ab3a2ca79562c", kill_on_drop: false }` [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/node.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operator` is never used [INFO] [stdout] --> src/parser/expression/mod.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | trait Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end_token` is never read [INFO] [stdout] --> src/parser/expression/mod.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct FunctionCallExpression { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 359 | end_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_token` is never read [INFO] [stdout] --> src/parser/expression/function_definition.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 55 | function_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_token` and `start_token` are never read [INFO] [stdout] --> src/parser/statement/block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub body: Vec, [INFO] [stdout] 38 | end_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | start_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_token` and `end_token` are never read [INFO] [stdout] --> src/parser/statement/class_definition.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ClassDefinition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 123 | class_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | end_token: Option, // Changed to Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_token`, `consequent`, and `alternate` are never read [INFO] [stdout] --> src/parser/statement/if_statement.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | start_token: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub condition: Expression, [INFO] [stdout] 48 | consequent: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | alternate: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling js_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "5d52715c4f6f00f9159b06795506661ab908a1522e032b21816ab3a2ca79562c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d52715c4f6f00f9159b06795506661ab908a1522e032b21816ab3a2ca79562c", kill_on_drop: false }` [INFO] [stdout] 5d52715c4f6f00f9159b06795506661ab908a1522e032b21816ab3a2ca79562c