[INFO] cloning repository https://github.com/psincf/xi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psincf/xi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsincf%2Fxi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsincf%2Fxi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 403bae34ad71ac1fb8968643d1db25c26bd2bc03 [INFO] checking psincf/xi against master#49b3924bd4a34d3cf9c37b74120fba78d9712ab8 for pr-118247 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsincf%2Fxi" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psincf/xi on toolchain 49b3924bd4a34d3cf9c37b74120fba78d9712ab8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b3924bd4a34d3cf9c37b74120fba78d9712ab8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psincf/xi [INFO] finished tweaking git repo https://github.com/psincf/xi [INFO] tweaked toml for git repo https://github.com/psincf/xi written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/psincf/xi 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" "+49b3924bd4a34d3cf9c37b74120fba78d9712ab8" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking psincf/xi against try#ab2dc84cfc2c30bb279a7cd2bfef172c30260142 for pr-118247 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsincf%2Fxi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psincf/xi on toolchain ab2dc84cfc2c30bb279a7cd2bfef172c30260142 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psincf/xi [INFO] finished tweaking git repo https://github.com/psincf/xi [INFO] tweaked toml for git repo https://github.com/psincf/xi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psincf/xi 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" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking psincf/xi against try#ab2dc84cfc2c30bb279a7cd2bfef172c30260142 for pr-118247 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsincf%2Fxi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psincf/xi on toolchain ab2dc84cfc2c30bb279a7cd2bfef172c30260142 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psincf/xi [INFO] finished tweaking git repo https://github.com/psincf/xi [INFO] tweaked toml for git repo https://github.com/psincf/xi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psincf/xi 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" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dac393870477073fc8a4d0cc4a07be181d5ca000635bb51dadf3e0f21bfdd20 [INFO] running `Command { std: "docker" "start" "-a" "0dac393870477073fc8a4d0cc4a07be181d5ca000635bb51dadf3e0f21bfdd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dac393870477073fc8a4d0cc4a07be181d5ca000635bb51dadf3e0f21bfdd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dac393870477073fc8a4d0cc4a07be181d5ca000635bb51dadf3e0f21bfdd20", kill_on_drop: false }` [INFO] [stdout] 0dac393870477073fc8a4d0cc4a07be181d5ca000635bb51dadf3e0f21bfdd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38d39e3cd4ed80a4334d66926f4b3d4de34c8a56508d37244cdc05c4634b5441 [INFO] running `Command { std: "docker" "start" "-a" "38d39e3cd4ed80a4334d66926f4b3d4de34c8a56508d37244cdc05c4634b5441", kill_on_drop: false }` [INFO] [stderr] Checking xi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser.rs:447:42 [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_fndecl(&mut self) -> Result<(FnDecl), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - fn parse_fndecl(&mut self) -> Result<(FnDecl), String> { [INFO] [stdout] 447 + fn parse_fndecl(&mut self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser.rs:447:42 [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_fndecl(&mut self) -> Result<(FnDecl), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - fn parse_fndecl(&mut self) -> Result<(FnDecl), String> { [INFO] [stdout] 447 + fn parse_fndecl(&mut self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_ty_kind` is never read [INFO] [stdout] --> src/sema/sym_second_pass.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ... let mut new_ty_kind = params.ty.kind.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_path` [INFO] [stdout] --> src/sema/sym_second_pass.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn sema_check_symbols(sema: &mut SemanticAnalizer, actual_path: String, sym_table_id: SymtableId, node: &parser::Node) -> Node { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_ty_kind` is never read [INFO] [stdout] --> src/sema/sym_second_pass.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ... let mut new_ty_kind = params.ty.kind.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_path` [INFO] [stdout] --> src/sema/sym_second_pass.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn sema_check_symbols(sema: &mut SemanticAnalizer, actual_path: String, sym_table_id: SymtableId, node: &parser::Node) -> Node { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ModeDecl { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 58 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModeDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ModeDecl { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 58 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModeDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `rhs`, and `operator` are never read [INFO] [stdout] --> src/parser.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 83 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | operator: Operator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `rhs`, and `operator` are never read [INFO] [stdout] --> src/parser.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 83 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | operator: Operator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `arguments` are never read [INFO] [stdout] --> src/parser.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct FnCall { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | ident: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paren` is never constructed [INFO] [stdout] --> src/parser.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | Paren(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/parser.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 112 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `actual_token` and `next_nowh` are never used [INFO] [stdout] --> src/parser.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TokenIterator<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn actual_token(&self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn next_nowh(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/parser.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct AstParser<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | err: Vec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/sema/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 16 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarDecl` and `Expr` are never constructed [INFO] [stdout] --> src/sema/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | VarDecl(SymId, Expr), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | //ModDecl(ModeDecl), [INFO] [stdout] 28 | Expr(Expr) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident`, `mutable`, and `ty` are never read [INFO] [stdout] --> src/sema/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Value { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 39 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | ty: Ty, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `arguments` are never read [INFO] [stdout] --> src/parser.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct FnCall { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | ident: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `Add`, `Minus`, `Multiply`, `Divide`, and `Dot` are never constructed [INFO] [stdout] --> src/sema/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 46 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `rhs`, and `operator` are never read [INFO] [stdout] --> src/sema/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 56 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | operator: Operator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Float`, and `String` are never constructed [INFO] [stdout] --> src/sema/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Lit { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 63 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | String(String) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `arguments` are never read [INFO] [stdout] --> src/sema/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct FnCall { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | ident: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sym`, `Literal`, `FnCall`, `Operation`, and `Paren` are never constructed [INFO] [stdout] --> src/sema/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 76 | Sym(SymId), [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | Literal(Lit), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | FnCall(FnCall), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | Operation(Operation), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | Paren(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paren` is never constructed [INFO] [stdout] --> src/parser.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | Paren(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/parser.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 112 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `actual_token` and `next_nowh` are never used [INFO] [stdout] --> src/parser.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> TokenIterator<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn actual_token(&self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn next_nowh(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/parser.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct AstParser<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | err: Vec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/sema/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 16 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarDecl` and `Expr` are never constructed [INFO] [stdout] --> src/sema/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | VarDecl(SymId, Expr), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | //ModDecl(ModeDecl), [INFO] [stdout] 28 | Expr(Expr) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident`, `mutable`, and `ty` are never read [INFO] [stdout] --> src/sema/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Value { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 39 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | ty: Ty, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `Add`, `Minus`, `Multiply`, `Divide`, and `Dot` are never constructed [INFO] [stdout] --> src/sema/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 46 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `rhs`, and `operator` are never read [INFO] [stdout] --> src/sema/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 56 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | operator: Operator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `return_type`, `body`, and `body_ast` are never read [INFO] [stdout] --> src/sema/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct FnTy { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 140 | pub path: String, [INFO] [stdout] 141 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 142 | paramaters: Vec, [INFO] [stdout] 143 | return_type: Ty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 144 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | body_ast: &'static Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnTy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sema/mod.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct StructField { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 150 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/sema/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct EnumVariant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 156 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/sema/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct SymTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 166 | id: SymtableId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Float`, and `String` are never constructed [INFO] [stdout] --> src/sema/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Lit { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 63 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | String(String) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `arguments` are never read [INFO] [stdout] --> src/sema/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct FnCall { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | ident: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sym`, `Literal`, `FnCall`, `Operation`, and `Paren` are never constructed [INFO] [stdout] --> src/sema/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 76 | Sym(SymId), [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | Literal(Lit), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | FnCall(FnCall), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | Operation(Operation), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | Paren(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `return_type`, `body`, and `body_ast` are never read [INFO] [stdout] --> src/sema/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct FnTy { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 140 | pub path: String, [INFO] [stdout] 141 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 142 | paramaters: Vec, [INFO] [stdout] 143 | return_type: Ty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 144 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | body_ast: &'static Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnTy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sema/mod.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct StructField { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 150 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/sema/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct EnumVariant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 156 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/sema/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct SymTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 166 | id: SymtableId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/sema/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | drop(sym_table); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut SymTable` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/sema/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | drop(sym_table); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut SymTable` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "38d39e3cd4ed80a4334d66926f4b3d4de34c8a56508d37244cdc05c4634b5441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d39e3cd4ed80a4334d66926f4b3d4de34c8a56508d37244cdc05c4634b5441", kill_on_drop: false }` [INFO] [stdout] 38d39e3cd4ed80a4334d66926f4b3d4de34c8a56508d37244cdc05c4634b5441