[INFO] cloning repository https://github.com/caidj0/c0mpiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caidj0/c0mpiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaidj0%2Fc0mpiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaidj0%2Fc0mpiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7917da4d8476127375a52684210bdfa67e0f3c54 [INFO] checking caidj0/c0mpiler against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaidj0%2Fc0mpiler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caidj0/c0mpiler [INFO] finished tweaking git repo https://github.com/caidj0/c0mpiler [INFO] tweaked toml for git repo https://github.com/caidj0/c0mpiler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caidj0/c0mpiler on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caidj0/c0mpiler 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f5222c9f7ea95436c6fefd94aa80f94ac2374ea0b7b75351b61a9786532b90 [INFO] running `Command { std: "docker" "start" "-a" "e4f5222c9f7ea95436c6fefd94aa80f94ac2374ea0b7b75351b61a9786532b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f5222c9f7ea95436c6fefd94aa80f94ac2374ea0b7b75351b61a9786532b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f5222c9f7ea95436c6fefd94aa80f94ac2374ea0b7b75351b61a9786532b90", kill_on_drop: false }` [INFO] [stdout] e4f5222c9f7ea95436c6fefd94aa80f94ac2374ea0b7b75351b61a9786532b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3756d1390f9bb0f32bacb155fd01f3c0f5c823440e9e4af1b8ff90ab95e287cc [INFO] running `Command { std: "docker" "start" "-a" "3756d1390f9bb0f32bacb155fd01f3c0f5c823440e9e4af1b8ff90ab95e287cc", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling pastey v0.1.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.16.1 [INFO] [stderr] Checking c0mpiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/ast/pat.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemKind` and `TypeId` [INFO] [stdout] --> src/semantics/visitor.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | AssocItemKind, ConstItem, EnumItem, FnItem, ImplItem, Item, ItemKind, ModItem, StructItem, TraitItem [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | semantics::{ExprResult, SemanticError, TypeId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/ast/pat.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemKind` and `TypeId` [INFO] [stdout] --> src/semantics/visitor.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | AssocItemKind, ConstItem, EnumItem, FnItem, ImplItem, Item, ItemKind, ModItem, StructItem, TraitItem [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | semantics::{ExprResult, SemanticError, TypeId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/semantics.rs:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | generics, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `generics: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `of_trait` [INFO] [stdout] --> src/semantics.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | of_trait, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `of_trait: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_ty` [INFO] [stdout] --> src/semantics.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | self_ty, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `self_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/semantics.rs:959:34 [INFO] [stdout] | [INFO] [stdout] 959 | fn visit_let_stmt(&mut self, stmt: &crate::ast::stmt::LocalStmt) -> Result<(), SemanticError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | expr: &crate::ast::expr::ArrayExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | expr: &crate::ast::expr::ConstBlockExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | expr: &crate::ast::expr::CallExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | expr: &crate::ast::expr::MethodCallExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1001 | expr: &crate::ast::expr::TupExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | expr: &crate::ast::expr::BinaryExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | expr: &crate::ast::expr::CastExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | expr: &crate::ast::expr::LetExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | expr: &crate::ast::expr::IfExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | expr: &crate::ast::expr::WhileExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1142:9 [INFO] [stdout] | [INFO] [stdout] 1142 | expr: &crate::ast::expr::ForLoopExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | expr: &crate::ast::expr::LoopExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | expr: &crate::ast::expr::MatchExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1188:9 [INFO] [stdout] | [INFO] [stdout] 1188 | expr: &crate::ast::expr::AssignExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | expr: &crate::ast::expr::AssignOpExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1202 | expr: &crate::ast::expr::FieldExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1209:9 [INFO] [stdout] | [INFO] [stdout] 1209 | expr: &crate::ast::expr::IndexExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1216:9 [INFO] [stdout] | [INFO] [stdout] 1216 | expr: &crate::ast::expr::RangeExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | expr: &crate::ast::expr::UnderscoreExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | expr: &crate::ast::expr::PathExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1237:9 [INFO] [stdout] | [INFO] [stdout] 1237 | expr: &crate::ast::expr::AddrOfExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1244:9 [INFO] [stdout] | [INFO] [stdout] 1244 | expr: &crate::ast::expr::BreakExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | expr: &crate::ast::expr::ContinueExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1258:9 [INFO] [stdout] | [INFO] [stdout] 1258 | expr: &crate::ast::expr::RetExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1265:9 [INFO] [stdout] | [INFO] [stdout] 1265 | expr: &crate::ast::expr::StructExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | expr: &crate::ast::expr::RepeatExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/semantics.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | pat: &crate::ast::pat::Pat, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/semantics.rs:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | generics, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `generics: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `of_trait` [INFO] [stdout] --> src/semantics.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | of_trait, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `of_trait: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_ty` [INFO] [stdout] --> src/semantics.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | self_ty, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `self_ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/semantics.rs:959:34 [INFO] [stdout] | [INFO] [stdout] 959 | fn visit_let_stmt(&mut self, stmt: &crate::ast::stmt::LocalStmt) -> Result<(), SemanticError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | expr: &crate::ast::expr::ArrayExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | expr: &crate::ast::expr::ConstBlockExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | expr: &crate::ast::expr::CallExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | expr: &crate::ast::expr::MethodCallExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1001 | expr: &crate::ast::expr::TupExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | expr: &crate::ast::expr::BinaryExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | expr: &crate::ast::expr::CastExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | expr: &crate::ast::expr::LetExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | expr: &crate::ast::expr::IfExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | expr: &crate::ast::expr::WhileExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1142:9 [INFO] [stdout] | [INFO] [stdout] 1142 | expr: &crate::ast::expr::ForLoopExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | expr: &crate::ast::expr::LoopExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | expr: &crate::ast::expr::MatchExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1188:9 [INFO] [stdout] | [INFO] [stdout] 1188 | expr: &crate::ast::expr::AssignExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | expr: &crate::ast::expr::AssignOpExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1202 | expr: &crate::ast::expr::FieldExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1209:9 [INFO] [stdout] | [INFO] [stdout] 1209 | expr: &crate::ast::expr::IndexExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1216:9 [INFO] [stdout] | [INFO] [stdout] 1216 | expr: &crate::ast::expr::RangeExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | expr: &crate::ast::expr::UnderscoreExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | expr: &crate::ast::expr::PathExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1237:9 [INFO] [stdout] | [INFO] [stdout] 1237 | expr: &crate::ast::expr::AddrOfExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1244:9 [INFO] [stdout] | [INFO] [stdout] 1244 | expr: &crate::ast::expr::BreakExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | expr: &crate::ast::expr::ContinueExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1258:9 [INFO] [stdout] | [INFO] [stdout] 1258 | expr: &crate::ast::expr::RetExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1265:9 [INFO] [stdout] | [INFO] [stdout] 1265 | expr: &crate::ast::expr::StructExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | expr: &crate::ast::expr::RepeatExpr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/semantics.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | pat: &crate::ast::pat::Pat, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `impls` is never read [INFO] [stdout] --> src/semantics.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct SemanticAnalyzer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 210 | type_table: TypeTable, [INFO] [stdout] 211 | impls: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticAnalyzer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value_from`, `get_value_from_mut`, `get_value_mut`, and `get_value` are never used [INFO] [stdout] --> src/semantics.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl SemanticAnalyzer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | fn get_value_from( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn get_value_from_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn get_value_mut(&mut self, ident: &Symbol) -> Result<(NodeId, &mut Variable), SemanticError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | fn get_value(&self, ident: &Symbol) -> Result<(NodeId, &Variable), SemanticError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn iter(&self) -> TokenIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn iter(&self) -> TokenIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `impls` is never read [INFO] [stdout] --> src/semantics.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct SemanticAnalyzer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 210 | type_table: TypeTable, [INFO] [stdout] 211 | impls: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticAnalyzer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value_from`, `get_value_from_mut`, `get_value_mut`, and `get_value` are never used [INFO] [stdout] --> src/semantics.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl SemanticAnalyzer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | fn get_value_from( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn get_value_from_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn get_value_mut(&mut self, ident: &Symbol) -> Result<(NodeId, &mut Variable), SemanticError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | fn get_value(&self, ident: &Symbol) -> Result<(NodeId, &Variable), SemanticError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn iter(&self) -> TokenIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn iter(&self) -> TokenIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.66s [INFO] running `Command { std: "docker" "inspect" "3756d1390f9bb0f32bacb155fd01f3c0f5c823440e9e4af1b8ff90ab95e287cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3756d1390f9bb0f32bacb155fd01f3c0f5c823440e9e4af1b8ff90ab95e287cc", kill_on_drop: false }` [INFO] [stdout] 3756d1390f9bb0f32bacb155fd01f3c0f5c823440e9e4af1b8ff90ab95e287cc