[INFO] cloning repository https://github.com/SkyVault/harp-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SkyVault/harp-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyVault%2Fharp-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyVault%2Fharp-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcf83cfb4cbd2d3631cf025a523360a798dffbeb [INFO] checking SkyVault/harp-lang against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyVault%2Fharp-lang" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SkyVault/harp-lang on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SkyVault/harp-lang [INFO] finished tweaking git repo https://github.com/SkyVault/harp-lang [INFO] tweaked toml for git repo https://github.com/SkyVault/harp-lang written to /workspace/builds/worker-118/source/Cargo.toml [INFO] crate git repo https://github.com/SkyVault/harp-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 609e53535138fb47ccdf6537a816fb8f5b197e4b0b6feb9fe081b7a0d3d71457 [INFO] running `Command { std: "docker" "start" "-a" "609e53535138fb47ccdf6537a816fb8f5b197e4b0b6feb9fe081b7a0d3d71457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "609e53535138fb47ccdf6537a816fb8f5b197e4b0b6feb9fe081b7a0d3d71457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609e53535138fb47ccdf6537a816fb8f5b197e4b0b6feb9fe081b7a0d3d71457", kill_on_drop: false }` [INFO] [stdout] 609e53535138fb47ccdf6537a816fb8f5b197e4b0b6feb9fe081b7a0d3d71457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89c76b604179cca7cc86805783b7105ae5206165d9500e1ff12f0113e6c7ff3 [INFO] running `Command { std: "docker" "start" "-a" "c89c76b604179cca7cc86805783b7105ae5206165d9500e1ff12f0113e6c7ff3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] scopeguard v1.1.0: default, use_std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Checking harp-lang v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/reader/mod.rs (2 fixes) [INFO] [stderr] Fixed src/evaluator/vm.rs (3 fixes) [INFO] [stderr] Fixed src/common/prelude.rs (5 fixes) [INFO] [stderr] Fixed src/evaluator/script.rs (4 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/evaluator/mod.rs (1 fix) [INFO] [stderr] Fixed src/reader/ast.rs (1 fix) [INFO] [stderr] Fixed src/translator/translator.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnvHead` [INFO] [stdout] --> src/evaluator/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let mut env = EnvHead::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::EnvHead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/evaluator/mod.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | env.set("global".to_string(), Value::Number(123.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/evaluator/mod.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(env.get("global".to_string()), Some(Value::Number(123.0))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/evaluator/mod.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | env.set("local".to_string(), Value::Bool(true)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/evaluator/mod.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(env.get("global".to_string()), Some(Value::Number(123.0))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/evaluator/mod.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(env.get("local".to_string()), Some(Value::Bool(true))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evaluator::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut lexer = Reader::new(" \n \t \r X"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut lexer = Reader::new("3.14159 -32.1 .41 -.123 #f"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(Tok::Number(3.14159, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(Tok::Number(3.14159, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(Tok::Number(-32.1, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(Tok::Number(-32.1, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Tok::Number(0.41, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Tok::Number(0.41, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Tok::Number(-0.123, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Tok::Number(-0.123, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(Tok::Number(123.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(Tok::Number(123.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let mut lexer = Reader::new(" #f #t"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Tok::Bool(false, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Tok::Bool(false, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Tok::Bool(true, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Tok::Bool(true, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lexer = Reader::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(Tok::Number(32.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(Tok::Number(32.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(Tok::Number(123.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(Tok::Number(123.0, Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let mut lexer = Reader::new(" () {} []' "); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(Tok::OpenParen(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(Tok::OpenParen(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(Tok::CloseParen(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(Tok::CloseParen(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(Tok::OpenBrace(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(Tok::OpenBrace(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(Tok::CloseBrace(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(Tok::CloseBrace(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Tok::OpenBracket(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Tok::OpenBracket(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Tok::CloseBracket(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Tok::CloseBracket(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(Tok::Quote(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(Tok::Quote(Loc::blank()), lexer.next_token()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let mut lexer = Reader::new(" \"Hello, World\" "); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Tok::Str("Hello, World".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | Tok::Str("Hello, World".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> src/reader/mod.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let mut lexer = Reader::new("if +hello+{ 123 b_a$ana"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Reader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Tok::Atom("if".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | Tok::Atom("if".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Tok::Atom("+hello+".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | Tok::Atom("+hello+".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tok` [INFO] [stdout] --> src/reader/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Tok::Atom("b_a$ana".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Tok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loc` [INFO] [stdout] --> src/reader/mod.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | Tok::Atom("b_a$ana".to_string(), Loc::blank()), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::reader::reader::Loc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/evaluator/vm.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 59 | / match atom { [INFO] [stdout] 60 | | // Some(Value::Atom(lexeme)) => match get_value_from_env(&lexeme, env) { [INFO] [stdout] 61 | | // Some(Value::NativeFunc(callable)) => { [INFO] [stdout] 62 | | // let args = self.get_args(*num_args); [INFO] [stdout] ... | [INFO] [stdout] 69 | | _ => panic!("Failed to call function"), [INFO] [stdout] 70 | | } [INFO] [stdout] | |___________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 71 | self.pc += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/evaluator/opcodes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator/quick_eval.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | _ => panic!("Cannot evaluate value {}", value), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `quoted` is assigned to, but never used [INFO] [stdout] --> src/reader/reader.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut quoted = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_quoted` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/evaluator/vm.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 59 | / match atom { [INFO] [stdout] 60 | | // Some(Value::Atom(lexeme)) => match get_value_from_env(&lexeme, env) { [INFO] [stdout] 61 | | // Some(Value::NativeFunc(callable)) => { [INFO] [stdout] 62 | | // let args = self.get_args(*num_args); [INFO] [stdout] ... | [INFO] [stdout] 69 | | _ => panic!("Failed to call function"), [INFO] [stdout] 70 | | } [INFO] [stdout] | |___________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 71 | self.pc += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `quoted` is never read [INFO] [stdout] --> src/reader/reader.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | quoted = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/evaluator/opcodes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `harp-lang` due to 54 previous errors; 2 warnings emitted [INFO] [stdout] warning: variant is never constructed: `Push` [INFO] [stdout] --> src/evaluator/opcodes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Push(Value), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant is never constructed: `Pop` [INFO] [stdout] --> src/evaluator/opcodes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Const` [INFO] [stdout] --> src/evaluator/opcodes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Const(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/evaluator/opcodes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Call(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Jump` [INFO] [stdout] --> src/evaluator/opcodes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Jump(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Script` [INFO] [stdout] --> src/evaluator/script.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Script { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/evaluator/script.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Script { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone` [INFO] [stdout] --> src/evaluator/script.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn clone(&self) -> Script { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_const` [INFO] [stdout] --> src/evaluator/script.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn contains_const(&mut self, v: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_const` [INFO] [stdout] --> src/evaluator/script.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new_const(&mut self, v: &Value) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_inst` [INFO] [stdout] --> src/evaluator/script.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_inst(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/evaluator/value.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn pop(self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vm` [INFO] [stdout] --> src/evaluator/vm.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vm { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/evaluator/vm.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Vm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_args` [INFO] [stdout] --> src/evaluator/vm.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_args(&mut self, num_args: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/evaluator/vm.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn eval(&mut self, _env: &mut Value, value: Value) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_script` [INFO] [stdout] --> src/evaluator/vm.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn eval_script(&mut self, _env: &mut Value, script: Script) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUOTED` [INFO] [stdout] --> src/reader/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const QUOTED: u8 = 0b00000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_flags` [INFO] [stdout] --> src/reader/ast.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_flags(flags: u8) -> NodeInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_char` [INFO] [stdout] --> src/reader/reader.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn current_char(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Translator` [INFO] [stdout] --> src/translator/translator.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Translator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/translator/translator.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Translator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_const` [INFO] [stdout] --> src/translator/translator.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn handle_const(&mut self, value: &Value) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpile_if_expr` [INFO] [stdout] --> src/translator/translator.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn transpile_if_expr(&mut self, expr: &Node, _consequent: &Node, _alternative: Option<&Node>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_list` [INFO] [stdout] --> src/translator/translator.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn translate_list(&mut self, list: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate_expr` [INFO] [stdout] --> src/translator/translator.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn translate_expr(&mut self, ns: &Node) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `progn_to_script` [INFO] [stdout] --> src/translator/translator.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn progn_to_script(&mut self, node: Node) -> Script { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | write!(f, "Do("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | write!(f, "{}", node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | write!(f, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | write!(f, "List("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "{}", node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/evaluator/value.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(f, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/reader/ast.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | write!(f, "{}:{} Progn:\n", i, indent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/reader/ast.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/reader/ast.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | write!(f, "{}:{} List:\n", i, indent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/reader/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "c89c76b604179cca7cc86805783b7105ae5206165d9500e1ff12f0113e6c7ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89c76b604179cca7cc86805783b7105ae5206165d9500e1ff12f0113e6c7ff3", kill_on_drop: false }` [INFO] [stdout] c89c76b604179cca7cc86805783b7105ae5206165d9500e1ff12f0113e6c7ff3