[INFO] cloning repository https://github.com/antoineB24/tlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antoineB24/tlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FantoineB24%2Ftlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FantoineB24%2Ftlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88dd84ca79008a4bc069510fd1896e6964ed00cf [INFO] checking antoineB24/tlang against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FantoineB24%2Ftlang" "/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/antoineB24/tlang on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antoineB24/tlang [INFO] finished tweaking git repo https://github.com/antoineB24/tlang [INFO] tweaked toml for git repo https://github.com/antoineB24/tlang written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/antoineB24/tlang 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.8.4 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded libc v0.2.125 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded syn v1.0.94 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.38 [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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5944d79896f23bcf56f3c502784adcb03445dd563f58e8578a66c09f0b34f840 [INFO] running `Command { std: "docker" "start" "-a" "5944d79896f23bcf56f3c502784adcb03445dd563f58e8578a66c09f0b34f840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5944d79896f23bcf56f3c502784adcb03445dd563f58e8578a66c09f0b34f840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5944d79896f23bcf56f3c502784adcb03445dd563f58e8578a66c09f0b34f840", kill_on_drop: false }` [INFO] [stdout] 5944d79896f23bcf56f3c502784adcb03445dd563f58e8578a66c09f0b34f840 [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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00ef448052809f9d41e1e5254657955cf4a5a1d055743abeaaffd39ccb7eea8f [INFO] running `Command { std: "docker" "start" "-a" "00ef448052809f9d41e1e5254657955cf4a5a1d055743abeaaffd39ccb7eea8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling tlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `build_enum` [INFO] [stdout] --> src/executer/value/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! build_enum { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Type as TypeAst` [INFO] [stdout] --> src/executer/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tree::Type as TypeAst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `build_enum` [INFO] [stdout] --> src/executer/value/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! build_enum { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Type as TypeAst` [INFO] [stdout] --> src/executer/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tree::Type as TypeAst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::value::Type` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::executer::value::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Expr` [INFO] [stdout] --> src/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::tree::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Literal` [INFO] [stdout] --> src/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tree::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Op` [INFO] [stdout] --> src/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tree::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::IOp` [INFO] [stdout] --> src/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tree::IOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::Vm` [INFO] [stdout] --> src/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::executer::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::value` [INFO] [stdout] --> src/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::executer::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::__parse__Exprs::ExprsParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5240:9 [INFO] [stdout] | [INFO] [stdout] 5240 | pub use self::__parse__Exprs::ExprsParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/executer/mod.rs:155:58 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | Value::CallStruct { name, fields } => Type::FieldStruct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/executer/mod.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | Value::Enum { variants } => Type::Enum, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/executer/mod.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | Value::EnumCall { name, field } => Type::FieldEnum(name), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/executer/mod.rs:536:72 [INFO] [stdout] | [INFO] [stdout] 536 | ... Some(Var{value: Value::DefStruct { fields: f, function: fu , ..}, ..}) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/executer/mod.rs:155:58 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | Value::CallStruct { name, fields } => Type::FieldStruct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/executer/mod.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | Value::Enum { variants } => Type::Enum, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/executer/mod.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | Value::EnumCall { name, field } => Type::FieldEnum(name), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/executer/mod.rs:536:72 [INFO] [stdout] | [INFO] [stdout] 536 | ... Some(Var{value: Value::DefStruct { fields: f, function: fu , ..}, ..}) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn println(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn len(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn println(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn len(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsBuiltin`, `FunctionArgumentMismatch`, and `FileNotFound` are never constructed [INFO] [stdout] --> src/errors.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 258 | IsBuiltin(IsBuiltinError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | FunctionArgumentMismatch(FunctionArgumentMismatchError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | FileNotFound(FileNotFoundError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringType`, `IntType`, `BoolType`, and `Any` are never constructed [INFO] [stdout] --> src/tree.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 148 | StringType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | IntType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 150 | BoolType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsBuiltin`, `FunctionArgumentMismatch`, and `FileNotFound` are never constructed [INFO] [stdout] --> src/errors.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 258 | IsBuiltin(IsBuiltinError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | FunctionArgumentMismatch(FunctionArgumentMismatchError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | FileNotFound(FileNotFoundError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringType`, `IntType`, `BoolType`, and `Any` are never constructed [INFO] [stdout] --> src/tree.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 148 | StringType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | IntType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 150 | BoolType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:1504:16 [INFO] [stdout] | [INFO] [stdout] 1503 | impl ExprsParser { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 1504 | pub fn new() -> ExprsParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_builder` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5256:12 [INFO] [stdout] | [INFO] [stdout] 5256 | pub fn new_builder() -> __lalrpop_util::lexer::MatcherBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/std_t.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | std::io::stdout().flush(); [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] 70 | let _ = std::io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/std_t.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | std::io::stdout().flush(); [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] 70 | let _ = std::io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "00ef448052809f9d41e1e5254657955cf4a5a1d055743abeaaffd39ccb7eea8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ef448052809f9d41e1e5254657955cf4a5a1d055743abeaaffd39ccb7eea8f", kill_on_drop: false }` [INFO] [stdout] 00ef448052809f9d41e1e5254657955cf4a5a1d055743abeaaffd39ccb7eea8f [INFO] checking antoineB24/tlang against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FantoineB24%2Ftlang" "/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/antoineB24/tlang on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antoineB24/tlang [INFO] finished tweaking git repo https://github.com/antoineB24/tlang [INFO] tweaked toml for git repo https://github.com/antoineB24/tlang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/antoineB24/tlang 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" "+nightly-2024-02-05" "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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1df4a537b4ff905c449e4c2987c122d9b6e925ea64689297bf044ccd99d5372e [INFO] running `Command { std: "docker" "start" "-a" "1df4a537b4ff905c449e4c2987c122d9b6e925ea64689297bf044ccd99d5372e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1df4a537b4ff905c449e4c2987c122d9b6e925ea64689297bf044ccd99d5372e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df4a537b4ff905c449e4c2987c122d9b6e925ea64689297bf044ccd99d5372e", kill_on_drop: false }` [INFO] [stdout] 1df4a537b4ff905c449e4c2987c122d9b6e925ea64689297bf044ccd99d5372e [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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] b0a37d60ddefa091cf2909fa78c572e32507fd5bf2e217fc05cf575712563439 [INFO] running `Command { std: "docker" "start" "-a" "b0a37d60ddefa091cf2909fa78c572e32507fd5bf2e217fc05cf575712563439", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling tlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `build_enum` [INFO] [stdout] --> src/executer/value/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! build_enum { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Type as TypeAst` [INFO] [stdout] --> src/executer/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tree::Type as TypeAst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::value::Type` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::executer::value::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Expr` [INFO] [stdout] --> src/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::tree::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Literal` [INFO] [stdout] --> src/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tree::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Op` [INFO] [stdout] --> src/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tree::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::IOp` [INFO] [stdout] --> src/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tree::IOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::Vm` [INFO] [stdout] --> src/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::executer::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executer::value` [INFO] [stdout] --> src/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::executer::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5241:12 [INFO] [stdout] | [INFO] [stdout] 5241 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::__parse__Exprs::ExprsParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5240:9 [INFO] [stdout] | [INFO] [stdout] 5240 | pub use self::__parse__Exprs::ExprsParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `build_enum` [INFO] [stdout] --> src/executer/value/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! build_enum { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Type as TypeAst` [INFO] [stdout] --> src/executer/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tree::Type as TypeAst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5241:12 [INFO] [stdout] | [INFO] [stdout] 5241 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/executer/mod.rs:155:58 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | Value::CallStruct { name, fields } => Type::FieldStruct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/executer/mod.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | Value::Enum { variants } => Type::Enum, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/executer/mod.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | Value::EnumCall { name, field } => Type::FieldEnum(name), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/executer/mod.rs:536:72 [INFO] [stdout] | [INFO] [stdout] 536 | ... Some(Var{value: Value::DefStruct { fields: f, function: fu , ..}, ..}) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/executer/mod.rs:155:58 [INFO] [stdout] | [INFO] [stdout] 155 | Value::DefStruct { name, fields, function } => Type::Struct(name), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/executer/mod.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | Value::CallStruct { name, fields } => Type::FieldStruct(name), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/executer/mod.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | Value::Enum { variants } => Type::Enum, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/executer/mod.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | Value::EnumCall { name, field } => Type::FieldEnum(name), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/executer/mod.rs:536:72 [INFO] [stdout] | [INFO] [stdout] 536 | ... Some(Var{value: Value::DefStruct { fields: f, function: fu , ..}, ..}) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn println(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn len(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn println(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn len(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/std_t.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read(args: HashMap, vm: Vm) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsBuiltin`, `FunctionArgumentMismatch`, and `FileNotFound` are never constructed [INFO] [stdout] --> src/errors.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 258 | IsBuiltin(IsBuiltinError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | FunctionArgumentMismatch(FunctionArgumentMismatchError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | FileNotFound(FileNotFoundError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringType`, `IntType`, `BoolType`, and `Any` are never constructed [INFO] [stdout] --> src/tree.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 148 | StringType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | IntType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 150 | BoolType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:1504:16 [INFO] [stdout] | [INFO] [stdout] 1503 | impl ExprsParser { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 1504 | pub fn new() -> ExprsParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_builder` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/tlang-1b38b26fdc203f10/out/tlang.rs:5256:12 [INFO] [stdout] | [INFO] [stdout] 5256 | pub fn new_builder() -> __lalrpop_util::lexer::MatcherBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/std_t.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | std::io::stdout().flush(); [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] 70 | let _ = std::io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsBuiltin`, `FunctionArgumentMismatch`, and `FileNotFound` are never constructed [INFO] [stdout] --> src/errors.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 258 | IsBuiltin(IsBuiltinError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | FunctionArgumentMismatch(FunctionArgumentMismatchError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | FileNotFound(FileNotFoundError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringType`, `IntType`, `BoolType`, and `Any` are never constructed [INFO] [stdout] --> src/tree.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 148 | StringType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | IntType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 150 | BoolType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlang` (bin "tlang") due to 3 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/std_t.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | std::io::stdout().flush(); [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] 70 | let _ = std::io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlang` (bin "tlang" test) due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0a37d60ddefa091cf2909fa78c572e32507fd5bf2e217fc05cf575712563439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a37d60ddefa091cf2909fa78c572e32507fd5bf2e217fc05cf575712563439", kill_on_drop: false }` [INFO] [stdout] b0a37d60ddefa091cf2909fa78c572e32507fd5bf2e217fc05cf575712563439