[INFO] cloning repository https://github.com/hurshbajaj/Ion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hurshbajaj/Ion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c05063ffc6698e766ebe9a5a35c0f2ac2d0db81 [INFO] testing hurshbajaj/Ion against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIon" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hurshbajaj/Ion [INFO] finished tweaking git repo https://github.com/hurshbajaj/Ion [INFO] tweaked toml for git repo https://github.com/hurshbajaj/Ion written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hurshbajaj/Ion on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hurshbajaj/Ion 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f45bfa94b467174463f7349e3827bc1be0be86d3a0a1f92d13766ace672a1a8f [INFO] running `Command { std: "docker" "start" "-a" "f45bfa94b467174463f7349e3827bc1be0be86d3a0a1f92d13766ace672a1a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45bfa94b467174463f7349e3827bc1be0be86d3a0a1f92d13766ace672a1a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45bfa94b467174463f7349e3827bc1be0be86d3a0a1f92d13766ace672a1a8f", kill_on_drop: false }` [INFO] [stdout] f45bfa94b467174463f7349e3827bc1be0be86d3a0a1f92d13766ace672a1a8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c64df3e17a165bef8ef52077a18a1d858ffd4570f6339f993a898b2c4126800 [INFO] running `Command { std: "docker" "start" "-a" "7c64df3e17a165bef8ef52077a18a1d858ffd4570f6339f993a898b2c4126800", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pprof v0.14.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ion_macros v0.1.0 (/opt/rustwide/workdir/ion_macros) [INFO] [stdout] warning: function `Stmt` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn Stmt(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Expr` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn Expr(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RuntimeValue` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn RuntimeValue(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling Ion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Let_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Let_k, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LetK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Nil_k, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `NilK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `fn_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn_struct_k, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FnStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool_true_t` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Bool_true_t, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolTrueT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool_false_t` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Bool_false_t, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolFalseT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `arr_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | arr_struct_k, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `obj_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | obj_struct_k, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ObjStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Assign_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Assign_f, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AssignF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Const_f, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ConstF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Struct_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Struct_f(Attr), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `StructF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Complex_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Complex_f(Attr), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ComplexF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::complex_values_impls` [INFO] [stdout] --> src/runtime/values_impls.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::runtime::complex_values_impls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::values_impls` [INFO] [stdout] --> src/runtime/complex_values_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::values_impls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/runtime/scopes.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/runtime/interpreter.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | fn eval_array_expr(unwrap: &Array, scope: &RefCell) -> RuntimeValueServe { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `keywords` should have an upper case name [INFO] [stdout] --> src/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | static keywords: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 61 - static keywords: Lazy> = Lazy::new(|| { [INFO] [stdout] 61 + static KEYWORDS: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | while TOKENS.len() > 0{ [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if TOKENS.first().is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | if TOKENS.first().unwrap().value_type == TokenType::EOF { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | if TOKENS.len() > 1{ [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let key = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let key = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | let value = get_attr(Some(TOKENS.remove(0).value.as_str())).unwrap_or_else(||{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let attr_shell = TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | let complex_attr_shell = TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let length = usize::from_str( &(TOKENS.remove(0).value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "+" || TOKENS[0].clone().value == "-") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "*" || TOKENS[0].clone().value == "/" || TOKENS[0].clone().value == "%") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TkType` should have a snake case name [INFO] [stdout] --> src/parser.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let TkType = TOKENS[0].clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tk_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | Box::new(Identifier { symbol: TOKENS.remove(0).value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | Box::new(Str{ content: TOKENS.remove(0).value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | value: parse_num::(TOKENS.remove(0).value.as_str()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | TOKENS.insert(0, Token{value: "*".to_string(), value_type: TokenType::BinOp, loc: (lx.clone(), ly.clone())}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | TOKENS.insert(0, Token{value: "-1".to_string(), value_type: TokenType::Number, loc: (lx.clone(), ly.clone())}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | TOKENS.remove(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ERROR` should have a snake case name [INFO] [stdout] --> src/parser.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | unsafe fn ERROR(msg: &str, tok: Token) -> !{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Type` should have a snake case name [INFO] [stdout] --> src/runtime/values.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn Type(&self) -> RuntimeValueType; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 178 - fn Type(&self) -> RuntimeValueType; [INFO] [stdout] 178 + fn r#type(&self) -> RuntimeValueType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.71s [INFO] running `Command { std: "docker" "inspect" "7c64df3e17a165bef8ef52077a18a1d858ffd4570f6339f993a898b2c4126800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c64df3e17a165bef8ef52077a18a1d858ffd4570f6339f993a898b2c4126800", kill_on_drop: false }` [INFO] [stdout] 7c64df3e17a165bef8ef52077a18a1d858ffd4570f6339f993a898b2c4126800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d88ea64dbb13f0d9be9b0ffa8d0c900fdf5c39ba5c97c3b1068ad5737f75f1b8 [INFO] running `Command { std: "docker" "start" "-a" "d88ea64dbb13f0d9be9b0ffa8d0c900fdf5c39ba5c97c3b1068ad5737f75f1b8", kill_on_drop: false }` [INFO] [stderr] Compiling Ion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `Stmt` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn Stmt(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Expr` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn Expr(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RuntimeValue` should have a snake case name [INFO] [stdout] --> ion_macros/src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn RuntimeValue(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Let_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Let_k, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LetK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Nil_k, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `NilK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `fn_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn_struct_k, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FnStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool_true_t` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Bool_true_t, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolTrueT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool_false_t` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Bool_false_t, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolFalseT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `arr_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | arr_struct_k, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `obj_struct_k` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | obj_struct_k, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ObjStructK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Assign_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Assign_f, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AssignF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Const_f, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ConstF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Struct_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Struct_f(Attr), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `StructF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Complex_f` should have an upper camel case name [INFO] [stdout] --> src/lexer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Complex_f(Attr), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ComplexF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::complex_values_impls` [INFO] [stdout] --> src/runtime/values_impls.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::runtime::complex_values_impls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::values_impls` [INFO] [stdout] --> src/runtime/complex_values_impls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::values_impls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/runtime/scopes.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/runtime/interpreter.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | fn eval_array_expr(unwrap: &Array, scope: &RefCell) -> RuntimeValueServe { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `keywords` should have an upper case name [INFO] [stdout] --> src/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | static keywords: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 61 - static keywords: Lazy> = Lazy::new(|| { [INFO] [stdout] 61 + static KEYWORDS: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | while TOKENS.len() > 0{ [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if TOKENS.first().is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | if TOKENS.first().unwrap().value_type == TokenType::EOF { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | if TOKENS.len() > 1{ [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let key = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let key = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | let value = get_attr(Some(TOKENS.remove(0).value.as_str())).unwrap_or_else(||{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let attr_shell = TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | let complex_attr_shell = TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let length = usize::from_str( &(TOKENS.remove(0).value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "+" || TOKENS[0].clone().value == "-") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/parser.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "*" || TOKENS[0].clone().value == "/" || TOKENS[0].clone().value == "%") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | let op = TOKENS.remove(0).value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TkType` should have a snake case name [INFO] [stdout] --> src/parser.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let TkType = TOKENS[0].clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tk_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | Box::new(Identifier { symbol: TOKENS.remove(0).value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | Box::new(Str{ content: TOKENS.remove(0).value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | value: parse_num::(TOKENS.remove(0).value.as_str()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | TOKENS.insert(0, Token{value: "*".to_string(), value_type: TokenType::BinOp, loc: (lx.clone(), ly.clone())}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | TOKENS.insert(0, Token{value: "-1".to_string(), value_type: TokenType::Number, loc: (lx.clone(), ly.clone())}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | TOKENS.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/parser.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | TOKENS.remove(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ERROR` should have a snake case name [INFO] [stdout] --> src/parser.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | unsafe fn ERROR(msg: &str, tok: Token) -> !{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Type` should have a snake case name [INFO] [stdout] --> src/runtime/values.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn Type(&self) -> RuntimeValueType; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 178 - fn Type(&self) -> RuntimeValueType; [INFO] [stdout] 178 + fn r#type(&self) -> RuntimeValueType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "d88ea64dbb13f0d9be9b0ffa8d0c900fdf5c39ba5c97c3b1068ad5737f75f1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88ea64dbb13f0d9be9b0ffa8d0c900fdf5c39ba5c97c3b1068ad5737f75f1b8", kill_on_drop: false }` [INFO] [stdout] d88ea64dbb13f0d9be9b0ffa8d0c900fdf5c39ba5c97c3b1068ad5737f75f1b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1aa676a97e054729f878a4878ab9c4d63c2300d10815d7c0624cd34a82469465 [INFO] running `Command { std: "docker" "start" "-a" "1aa676a97e054729f878a4878ab9c4d63c2300d10815d7c0624cd34a82469465", kill_on_drop: false }` [INFO] [stderr] warning: function `Stmt` should have a snake case name [INFO] [stderr] --> ion_macros/src/lib.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn Stmt(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `stmt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `Expr` should have a snake case name [INFO] [stderr] --> ion_macros/src/lib.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn Expr(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `expr` [INFO] [stderr] [INFO] [stderr] warning: function `RuntimeValue` should have a snake case name [INFO] [stderr] --> ion_macros/src/lib.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn RuntimeValue(attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_value` [INFO] [stderr] [INFO] [stderr] warning: `ion_macros` (lib) generated 3 warnings [INFO] [stderr] warning: variant `Let_k` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Let_k, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `LetK` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Nil_k` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Nil_k, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `NilK` [INFO] [stderr] [INFO] [stderr] warning: variant `fn_struct_k` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn_struct_k, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FnStructK` [INFO] [stderr] [INFO] [stderr] warning: variant `Bool_true_t` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | Bool_true_t, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolTrueT` [INFO] [stderr] [INFO] [stderr] warning: variant `Bool_false_t` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Bool_false_t, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BoolFalseT` [INFO] [stderr] [INFO] [stderr] warning: variant `arr_struct_k` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | arr_struct_k, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrStructK` [INFO] [stderr] [INFO] [stderr] warning: variant `obj_struct_k` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | obj_struct_k, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ObjStructK` [INFO] [stderr] [INFO] [stderr] warning: variant `Assign_f` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | Assign_f, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `AssignF` [INFO] [stderr] [INFO] [stderr] warning: variant `Const_f` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | Const_f, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `ConstF` [INFO] [stderr] [INFO] [stderr] warning: variant `Struct_f` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | Struct_f(Attr), [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `StructF` [INFO] [stderr] [INFO] [stderr] warning: variant `Complex_f` should have an upper camel case name [INFO] [stderr] --> src/lexer.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | Complex_f(Attr), [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ComplexF` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::runtime::complex_values_impls` [INFO] [stderr] --> src/runtime/values_impls.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use crate::runtime::complex_values_impls; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::values_impls` [INFO] [stderr] --> src/runtime/complex_values_impls.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::values_impls; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/runtime/scopes.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{self, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/runtime/interpreter.rs:169:36 [INFO] [stderr] | [INFO] [stderr] 169 | fn eval_array_expr(unwrap: &Array, scope: &RefCell) -> RuntimeValueServe { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `keywords` should have an upper case name [INFO] [stderr] --> src/lexer.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | static keywords: Lazy> = Lazy::new(|| { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 61 - static keywords: Lazy> = Lazy::new(|| { [INFO] [stderr] 61 + static KEYWORDS: Lazy> = Lazy::new(|| { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | while TOKENS.len() > 0{ [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | if TOKENS.first().is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | if TOKENS.first().unwrap().value_type == TokenType::EOF { [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | if TOKENS.len() > 1{ [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | let key = TOKENS.remove(0).value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:117:19 [INFO] [stderr] | [INFO] [stderr] 117 | let key = TOKENS.remove(0).value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:120:35 [INFO] [stderr] | [INFO] [stderr] 120 | let value = get_attr(Some(TOKENS.remove(0).value.as_str())).unwrap_or_else(||{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 139 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:141:4 [INFO] [stderr] | [INFO] [stderr] 141 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:150:4 [INFO] [stderr] | [INFO] [stderr] 150 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | let attr_shell = TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:155:29 [INFO] [stderr] | [INFO] [stderr] 155 | let complex_attr_shell = TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:161:36 [INFO] [stderr] | [INFO] [stderr] 161 | let length = usize::from_str( &(TOKENS.remove(0).value)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:178:22 [INFO] [stderr] | [INFO] [stderr] 178 | let op = TOKENS.remove(0).value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:191:12 [INFO] [stderr] | [INFO] [stderr] 191 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "+" || TOKENS[0].clone().value == "-") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | let op = TOKENS.remove(0).value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/parser.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 207 | while !TOKENS.is_empty() && (TOKENS[0].clone().value == "*" || TOKENS[0].clone().value == "/" || TOKENS[0].clone().value == "%") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:208:18 [INFO] [stderr] | [INFO] [stderr] 208 | let op = TOKENS.remove(0).value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: variable `TkType` should have a snake case name [INFO] [stderr] --> src/parser.rs:284:9 [INFO] [stderr] | [INFO] [stderr] 284 | let TkType = TOKENS[0].clone(); [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `tk_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:288:43 [INFO] [stderr] | [INFO] [stderr] 288 | Box::new(Identifier { symbol: TOKENS.remove(0).value }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:291:36 [INFO] [stderr] | [INFO] [stderr] 291 | Box::new(Str{ content: TOKENS.remove(0).value }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:295:41 [INFO] [stderr] | [INFO] [stderr] 295 | value: parse_num::(TOKENS.remove(0).value.as_str()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:301:17 [INFO] [stderr] | [INFO] [stderr] 301 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:302:17 [INFO] [stderr] | [INFO] [stderr] 302 | TOKENS.insert(0, Token{value: "*".to_string(), value_type: TokenType::BinOp, loc: (lx.clone(), ly.clone())}); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:303:17 [INFO] [stderr] | [INFO] [stderr] 303 | TOKENS.insert(0, Token{value: "-1".to_string(), value_type: TokenType::Number, loc: (lx.clone(), ly.clone())}); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:310:13 [INFO] [stderr] | [INFO] [stderr] 310 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:315:13 [INFO] [stderr] | [INFO] [stderr] 315 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:319:13 [INFO] [stderr] | [INFO] [stderr] 319 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:323:13 [INFO] [stderr] | [INFO] [stderr] 323 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:347:9 [INFO] [stderr] | [INFO] [stderr] 347 | TOKENS.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/parser.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | TOKENS.remove(0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: function `ERROR` should have a snake case name [INFO] [stderr] --> src/parser.rs:360:11 [INFO] [stderr] | [INFO] [stderr] 360 | unsafe fn ERROR(msg: &str, tok: Token) -> !{ [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stderr] [INFO] [stderr] warning: trait method `Type` should have a snake case name [INFO] [stderr] --> src/runtime/values.rs:178:8 [INFO] [stderr] | [INFO] [stderr] 178 | fn Type(&self) -> RuntimeValueType; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stderr] | [INFO] [stderr] 178 - fn Type(&self) -> RuntimeValueType; [INFO] [stderr] 178 + fn r#type(&self) -> RuntimeValueType; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `Ion` (bin "Ion" test) generated 57 warnings (run `cargo fix --bin "Ion" -p Ion --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Ion-6c74f22c2df65891) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1aa676a97e054729f878a4878ab9c4d63c2300d10815d7c0624cd34a82469465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa676a97e054729f878a4878ab9c4d63c2300d10815d7c0624cd34a82469465", kill_on_drop: false }` [INFO] [stdout] 1aa676a97e054729f878a4878ab9c4d63c2300d10815d7c0624cd34a82469465