[INFO] cloning repository https://github.com/aramikuto/whitescape [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aramikuto/whitescape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faramikuto%2Fwhitescape", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faramikuto%2Fwhitescape'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61f1caff83fca3a1f8d5813f95884d00975e1579 [INFO] checking aramikuto/whitescape/61f1caff83fca3a1f8d5813f95884d00975e1579 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faramikuto%2Fwhitescape" "/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/aramikuto/whitescape on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aramikuto/whitescape [INFO] finished tweaking git repo https://github.com/aramikuto/whitescape [INFO] tweaked toml for git repo https://github.com/aramikuto/whitescape written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aramikuto/whitescape 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] warning: unused manifest key: package.author [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 609aa44acb955a9660eb807707718fdc07eae869743e6f62f3335b43dd765f2a [INFO] running `Command { std: "docker" "start" "-a" "609aa44acb955a9660eb807707718fdc07eae869743e6f62f3335b43dd765f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "609aa44acb955a9660eb807707718fdc07eae869743e6f62f3335b43dd765f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609aa44acb955a9660eb807707718fdc07eae869743e6f62f3335b43dd765f2a", kill_on_drop: false }` [INFO] [stdout] 609aa44acb955a9660eb807707718fdc07eae869743e6f62f3335b43dd765f2a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57dd28bdd5da225fdf2ac4fd6929356001e12a8904598f902bb22215a2862c35 [INFO] running `Command { std: "docker" "start" "-a" "57dd28bdd5da225fdf2ac4fd6929356001e12a8904598f902bb22215a2862c35", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.66 [INFO] [stderr] Checking whitespace_to_whitespace_interpreter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/transpiler/mod.rs (23 fixes) [INFO] [stderr] Fixed src/transpiler/built_in/bi_io.rs (6 fixes) [INFO] [stderr] Fixed src/specs/whitespace/mod.rs (11 fixes) [INFO] [stderr] Fixed src/specs/whitespace/utils.rs (4 fixes) [INFO] [stderr] Fixed src/ast.rs (1 fix) [INFO] [stderr] Fixed src/transpiler/emitter.rs (9 fixes) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:461:39 [INFO] [stdout] | [INFO] [stdout] 461 | token: Token::Integer(value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/transpiler/emitter.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/emitter.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/emitter.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/emitter.rs:119:56 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:261:73 [INFO] [stdout] | [INFO] [stdout] 261 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:262:64 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:262:76 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:289:73 [INFO] [stdout] | [INFO] [stdout] 289 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:290:76 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `String` are never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DataType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 30 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: variant `Declaration` is never constructed [INFO] [stdout] --> src/ast.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Procedure` is never constructed [INFO] [stdout] --> src/lexer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Procedure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slide` is never constructed [INFO] [stdout] --> src/specs/whitespace/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StackOperations { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Slide(i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float` and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum HeapVariableSize { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 42 | Int, [INFO] [stdout] 43 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Char, [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Char`, and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum VariableType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/transpiler/emitter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct EvaluationResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | type_: VariableType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataType` should have a snake case name [INFO] [stdout] --> src/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | dataType: DataType, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `data_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getFileLocation` should have a snake case name [INFO] [stdout] --> src/lexer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn getFileLocation(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/transpiler/tests/mod.rs (2 fixes) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:461:39 [INFO] [stdout] | [INFO] [stdout] 461 | token: Token::Integer(value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/transpiler/emitter.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/emitter.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/emitter.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/emitter.rs:119:56 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:261:73 [INFO] [stdout] | [INFO] [stdout] 261 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:262:64 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:262:76 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:289:73 [INFO] [stdout] | [INFO] [stdout] 289 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:290:76 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `String` are never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DataType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 30 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: variant `Declaration` is never constructed [INFO] [stdout] --> src/ast.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Procedure` is never constructed [INFO] [stdout] --> src/lexer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Procedure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slide` is never constructed [INFO] [stdout] --> src/specs/whitespace/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StackOperations { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Slide(i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float` and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum HeapVariableSize { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 42 | Int, [INFO] [stdout] 43 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Char, [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Char`, and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum VariableType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/transpiler/emitter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct EvaluationResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | type_: VariableType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataType` should have a snake case name [INFO] [stdout] --> src/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | dataType: DataType, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `data_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getFileLocation` should have a snake case name [INFO] [stdout] --> src/lexer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn getFileLocation(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Statement::Call("print".to_string(), vec![Expression::Integer(99)]), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | Statement::Call("print".to_string(), vec![Expression::Integer(99)]), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Statement::Exit, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpile` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::transpile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CodeOutput` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::CodeOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `util` [INFO] [stdout] --> src/transpiler/tests/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(util::unbleach(code), "sssttsssttntnstnnn"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `util` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use crate::util; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Statement::IntDeclaration("m".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Statement::Assignment("m".to_string(), Expression::Integer(11)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | Statement::Assignment("m".to_string(), Expression::Integer(11)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Statement::Exit, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpile` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::transpile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CodeOutput` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::CodeOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `util` [INFO] [stdout] --> src/transpiler/tests/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(util::unbleach(code), "ssststtnssssnsntttsnnn"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `util` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use crate::util; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Statement::IntDeclaration("m".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Statement::Assignment("m".to_string(), Expression::Integer(11)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | Statement::Assignment("m".to_string(), Expression::Integer(11)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Statement::Call( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | vec![Expression::Variable("m".to_string())], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Statement::Exit, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpile` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::transpile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CodeOutput` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::CodeOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `util` [INFO] [stdout] --> src/transpiler/tests/mod.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(util::unbleach(code), "ssststtnssssnsntttsssssnttttnstnnn"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `util` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use crate::util; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Statement::IntDeclaration("m".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Statement::Assignment("m".to_string(), Expression::Integer(8)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | Statement::Assignment("m".to_string(), Expression::Integer(8)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::WhileLoop { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | condition: Box::new(Expression::BinaryOp { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operation` [INFO] [stdout] --> src/transpiler/tests/mod.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | operator: Operation::CompareLessThan, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Operation` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 | operator: Option::CompareLessThan, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | left: Box::new(Expression::Variable("m".to_string())), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | right: Box::new(Expression::Integer(11)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | body: Box::new(Statement::Block(vec![ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | Statement::Call( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | vec![Expression::Variable("m".to_string())], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::Assignment( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | Expression::BinaryOp { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operation` [INFO] [stdout] --> src/transpiler/tests/mod.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | operator: Operation::Add, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Operation` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 | operator: Option::Add, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Operation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | left: Box::new(Expression::Variable("m".to_string())), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/transpiler/tests/mod.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | right: Box::new(Expression::Integer(1)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/transpiler/tests/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Statement::Exit, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpile` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::transpile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CodeOutput` in this scope [INFO] [stdout] --> src/transpiler/tests/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let CodeOutput { code, .. } = transpile(input, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transpiler::CodeOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `util` [INFO] [stdout] --> src/transpiler/tests/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | util::unbleach(code), [INFO] [stdout] | ^^^^ use of undeclared crate or module `util` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use crate::util; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:461:39 [INFO] [stdout] | [INFO] [stdout] 461 | token: Token::Integer(value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/transpiler/emitter.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/emitter.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/emitter.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/emitter.rs:119:56 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:261:73 [INFO] [stdout] | [INFO] [stdout] 261 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:262:64 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:262:76 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:289:73 [INFO] [stdout] | [INFO] [stdout] 289 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `whitespace_to_whitespace_interpreter` (lib test) due to 43 previous errors; 11 warnings emitted [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:290:76 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 42 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:461:39 [INFO] [stdout] | [INFO] [stdout] 461 | token: Token::Integer(value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/transpiler/emitter.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/emitter.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | let (left_code, left_debug_code, left_type, left_size) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/emitter.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/emitter.rs:119:56 [INFO] [stdout] | [INFO] [stdout] 119 | let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:261:73 [INFO] [stdout] | [INFO] [stdout] 261 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:262:64 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:262:76 [INFO] [stdout] | [INFO] [stdout] 262 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_size` [INFO] [stdout] --> src/transpiler/mod.rs:289:73 [INFO] [stdout] | [INFO] [stdout] 289 | ... let (left_code, left_debug_code, left_type, left_size) = left_result; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/transpiler/mod.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_size` [INFO] [stdout] --> src/transpiler/mod.rs:290:76 [INFO] [stdout] | [INFO] [stdout] 290 | ... let (right_code, right_debug_code, right_type, right_size) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `String` are never constructed [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DataType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 30 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: variant `Declaration` is never constructed [INFO] [stdout] --> src/ast.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Procedure` is never constructed [INFO] [stdout] --> src/lexer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Procedure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slide` is never constructed [INFO] [stdout] --> src/specs/whitespace/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StackOperations { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Slide(i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float` and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum HeapVariableSize { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 42 | Int, [INFO] [stdout] 43 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Char, [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Char`, and `Bool` are never constructed [INFO] [stdout] --> src/transpiler/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum VariableType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/transpiler/emitter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct EvaluationResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | type_: VariableType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unbleach` is never used [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn unbleach(code: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataType` should have a snake case name [INFO] [stdout] --> src/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | dataType: DataType, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `data_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getFileLocation` should have a snake case name [INFO] [stdout] --> src/lexer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn getFileLocation(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "57dd28bdd5da225fdf2ac4fd6929356001e12a8904598f902bb22215a2862c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dd28bdd5da225fdf2ac4fd6929356001e12a8904598f902bb22215a2862c35", kill_on_drop: false }` [INFO] [stdout] 57dd28bdd5da225fdf2ac4fd6929356001e12a8904598f902bb22215a2862c35