[INFO] cloning repository https://github.com/inda20plusplus/hansing-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inda20plusplus/hansing-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fhansing-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fhansing-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abae5c0a67e55f3fd6c0f1c48553297d9615063d [INFO] checking inda20plusplus/hansing-compiler against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fhansing-compiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inda20plusplus/hansing-compiler on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inda20plusplus/hansing-compiler [INFO] finished tweaking git repo https://github.com/inda20plusplus/hansing-compiler [INFO] tweaked toml for git repo https://github.com/inda20plusplus/hansing-compiler written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/inda20plusplus/hansing-compiler 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded errno-dragonfly v0.1.1 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] [stderr] Downloaded errno v0.2.7 [INFO] [stderr] Downloaded cranelift-simplejit v0.68.0 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.68.0 [INFO] [stderr] Downloaded cranelift-module v0.68.0 [INFO] [stderr] Downloaded cranelift-frontend v0.68.0 [INFO] [stderr] Downloaded cranelift v0.68.0 [INFO] [stderr] Downloaded cranelift-bforest v0.68.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.22 [INFO] [stderr] Downloaded thiserror v1.0.22 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.68.0 [INFO] [stderr] Downloaded anyhow v1.0.34 [INFO] [stderr] Downloaded cranelift-entity v0.68.0 [INFO] [stderr] Downloaded cranelift-codegen v0.68.0 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded cranelift-native v0.68.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4b017ebb8d26ec67cf867869649e802ea08397df3e4845d43b8b3cd09ee40e [INFO] running `Command { std: "docker" "start" "-a" "7b4b017ebb8d26ec67cf867869649e802ea08397df3e4845d43b8b3cd09ee40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4b017ebb8d26ec67cf867869649e802ea08397df3e4845d43b8b3cd09ee40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4b017ebb8d26ec67cf867869649e802ea08397df3e4845d43b8b3cd09ee40e", kill_on_drop: false }` [INFO] [stdout] 7b4b017ebb8d26ec67cf867869649e802ea08397df3e4845d43b8b3cd09ee40e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 597084a86bcde91934d0c7874d7f0a0aed67e0fe74c6f125cbba9d95a23d750d [INFO] running `Command { std: "docker" "start" "-a" "597084a86bcde91934d0c7874d7f0a0aed67e0fe74c6f125cbba9d95a23d750d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking cranelift-bforest v0.68.0 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Checking cranelift-module v0.68.0 [INFO] [stderr] Checking cranelift-native v0.68.0 [INFO] [stderr] Checking cranelift-frontend v0.68.0 [INFO] [stderr] Checking cranelift-simplejit v0.68.0 [INFO] [stderr] Checking cranelift v0.68.0 [INFO] [stderr] Checking ti-compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::*` [INFO] [stdout] --> src/ti_parser.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | use std::io::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/jit.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift_module::{DataContext, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/jit.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift_module::{DataContext, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/ti_parser.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | if let Token::OpenBrace(open) = self.curtok { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/ti_parser.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | if let Token::OpenBrace(open) = self.curtok { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/jit.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {self.builder.ins().f32const(1.337)}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_block` [INFO] [stdout] --> src/jit.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `f_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/jit.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let ts = test_fib(1_00.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_ts() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts2` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn test_ts2() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sqrt` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_sqrt(n: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ops` is never used [INFO] [stdout] --> src/ast_nodes.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn ops(c: &char, l: f32, r: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JIT` is never constructed [INFO] [stdout] --> src/jit.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct JIT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `translate` are never used [INFO] [stdout] --> src/jit.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl JIT { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn translate(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/jit.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct Translator<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_node`, `translate_block`, and `translate_assign` are never used [INFO] [stdout] --> src/jit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Translator<'a>{ [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 95 | fn translate_node(&mut self, node: Node) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn translate_block(&mut self, block: Vec) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn translate_assign(&mut self, to: Node, expr: Node) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_parser.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | stdin.read_line(&mut inp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 353 | let _ = stdin.read_line(&mut inp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_interp.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.stdin.read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.stdin.read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/jit.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {self.builder.ins().f32const(1.337)}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_block` [INFO] [stdout] --> src/jit.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `f_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/jit.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let ts = test_fib(1_00.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_ts() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts2` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn test_ts2() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sqrt` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_sqrt(n: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ops` is never used [INFO] [stdout] --> src/ast_nodes.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn ops(c: &char, l: f32, r: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JIT` is never constructed [INFO] [stdout] --> src/jit.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct JIT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `translate` are never used [INFO] [stdout] --> src/jit.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl JIT { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn translate(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/jit.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct Translator<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_node`, `translate_block`, and `translate_assign` are never used [INFO] [stdout] --> src/jit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Translator<'a>{ [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 95 | fn translate_node(&mut self, node: Node) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn translate_block(&mut self, block: Vec) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn translate_assign(&mut self, to: Node, expr: Node) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_interp.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.stdin.read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.stdin.read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "597084a86bcde91934d0c7874d7f0a0aed67e0fe74c6f125cbba9d95a23d750d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597084a86bcde91934d0c7874d7f0a0aed67e0fe74c6f125cbba9d95a23d750d", kill_on_drop: false }` [INFO] [stdout] 597084a86bcde91934d0c7874d7f0a0aed67e0fe74c6f125cbba9d95a23d750d [INFO] checking inda20plusplus/hansing-compiler against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fhansing-compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inda20plusplus/hansing-compiler on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inda20plusplus/hansing-compiler [INFO] finished tweaking git repo https://github.com/inda20plusplus/hansing-compiler [INFO] tweaked toml for git repo https://github.com/inda20plusplus/hansing-compiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/inda20plusplus/hansing-compiler 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ff512bb53de07d6c22c60b34ec2d7456b1833772f9efc164234d31d8110be2 [INFO] running `Command { std: "docker" "start" "-a" "99ff512bb53de07d6c22c60b34ec2d7456b1833772f9efc164234d31d8110be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ff512bb53de07d6c22c60b34ec2d7456b1833772f9efc164234d31d8110be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ff512bb53de07d6c22c60b34ec2d7456b1833772f9efc164234d31d8110be2", kill_on_drop: false }` [INFO] [stdout] 99ff512bb53de07d6c22c60b34ec2d7456b1833772f9efc164234d31d8110be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fdfedb1dac0f4b47e71cf9077a4b867a494022ded9e38df7724d0cf826ad7ad [INFO] running `Command { std: "docker" "start" "-a" "8fdfedb1dac0f4b47e71cf9077a4b867a494022ded9e38df7724d0cf826ad7ad", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Checking cranelift-bforest v0.68.0 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Checking cranelift-module v0.68.0 [INFO] [stderr] Checking cranelift-frontend v0.68.0 [INFO] [stderr] Checking cranelift-native v0.68.0 [INFO] [stderr] Checking cranelift-simplejit v0.68.0 [INFO] [stderr] Checking cranelift v0.68.0 [INFO] [stderr] Checking ti-compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::*` [INFO] [stdout] --> src/ti_parser.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | use std::io::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/jit.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift_module::{DataContext, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Linkage` [INFO] [stdout] --> src/jit.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift_module::{DataContext, Linkage, Module}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/ti_parser.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | if let Token::OpenBrace(open) = self.curtok { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/jit.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {self.builder.ins().f32const(1.337)}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_block` [INFO] [stdout] --> src/jit.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `f_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/jit.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let ts = test_fib(1_00.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_ts() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts2` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn test_ts2() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sqrt` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_sqrt(n: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ops` is never used [INFO] [stdout] --> src/ast_nodes.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn ops(c: &char, l: f32, r: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JIT` is never constructed [INFO] [stdout] --> src/jit.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct JIT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `translate` are never used [INFO] [stdout] --> src/jit.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl JIT { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn translate(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/jit.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct Translator<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_node`, `translate_block`, and `translate_assign` are never used [INFO] [stdout] --> src/jit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Translator<'a>{ [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 95 | fn translate_node(&mut self, node: Node) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn translate_block(&mut self, block: Vec) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn translate_assign(&mut self, to: Node, expr: Node) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_interp.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.stdin.read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.stdin.read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/ti_parser.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | if let Token::OpenBrace(open) = self.curtok { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/jit.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {self.builder.ins().f32const(1.337)}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_block` [INFO] [stdout] --> src/jit.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | Node::If {cond, t_block, f_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `f_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/jit.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_block` [INFO] [stdout] --> src/jit.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | Node::While {cond, t_block} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `t_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/jit.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let ts = test_fib(1_00.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_ts() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ts2` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn test_ts2() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sqrt` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn test_sqrt(n: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ops` is never used [INFO] [stdout] --> src/ast_nodes.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn ops(c: &char, l: f32, r: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JIT` is never constructed [INFO] [stdout] --> src/jit.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct JIT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `translate` are never used [INFO] [stdout] --> src/jit.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl JIT { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn translate(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/jit.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct Translator<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_node`, `translate_block`, and `translate_assign` are never used [INFO] [stdout] --> src/jit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Translator<'a>{ [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 95 | fn translate_node(&mut self, node: Node) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn translate_block(&mut self, block: Vec) -> Value{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn translate_assign(&mut self, to: Node, expr: Node) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_parser.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | stdin.read_line(&mut inp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 353 | let _ = stdin.read_line(&mut inp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ti_interp.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.stdin.read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.stdin.read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "8fdfedb1dac0f4b47e71cf9077a4b867a494022ded9e38df7724d0cf826ad7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fdfedb1dac0f4b47e71cf9077a4b867a494022ded9e38df7724d0cf826ad7ad", kill_on_drop: false }` [INFO] [stdout] 8fdfedb1dac0f4b47e71cf9077a4b867a494022ded9e38df7724d0cf826ad7ad