[INFO] cloning repository https://github.com/NjinN/RML-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NjinN/RML-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNjinN%2FRML-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNjinN%2FRML-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7c37800f446a740786a61b0041889750c328d69 [INFO] building NjinN/RML-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNjinN%2FRML-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NjinN/RML-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NjinN/RML-rust [INFO] finished tweaking git repo https://github.com/NjinN/RML-rust [INFO] tweaked toml for git repo https://github.com/NjinN/RML-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NjinN/RML-rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea102142e3ab9daee6c926a3a116384be0634610e11b6ce9b2cfaa2ee77d6dd5 [INFO] running `Command { std: "docker" "start" "-a" "ea102142e3ab9daee6c926a3a116384be0634610e11b6ce9b2cfaa2ee77d6dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea102142e3ab9daee6c926a3a116384be0634610e11b6ce9b2cfaa2ee77d6dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea102142e3ab9daee6c926a3a116384be0634610e11b6ce9b2cfaa2ee77d6dd5", kill_on_drop: false }` [INFO] [stdout] ea102142e3ab9daee6c926a3a116384be0634610e11b6ce9b2cfaa2ee77d6dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c73ea2e010dd368654a14cf1375d9c349911624a2d3021acf566140a9459bcb [INFO] running `Command { std: "docker" "start" "-a" "7c73ea2e010dd368654a14cf1375d9c349911624a2d3021acf566140a9459bcb", kill_on_drop: false }` [INFO] [stderr] Compiling RML-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rmacro::*` [INFO] [stdout] --> src/lang/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use rmacro::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/lang/strkit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SYS_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lang/rtable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SYS_TABLE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SysTable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `USR_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lang/rtable.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | USR_TABLE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UsrTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TMP_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lang/rtable.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TMP_TABLE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TmpTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/lang/rword.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Model_Blk` should have an upper camel case name [INFO] [stdout] --> src/lang/rsolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Model_Blk, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ModelBlk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Model_Str` should have an upper camel case name [INFO] [stdout] --> src/lang/rsolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Model_Str, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ModelStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/lang/rfunc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/lang/rnative.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/initnative.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/sys.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/nativelib/sys.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/rloop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/def.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/nativelib/branch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lang::*` [INFO] [stdout] --> src/oplib/initop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lang::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nativelib::*` [INFO] [stdout] --> src/oplib/initop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nativelib::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lang/rtoken.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | _ => "Rtoken".to_string(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lang/rtoken.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 160 | Rtoken::Nil => "nil".to_string(), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 161 | Rtoken::None => "none".to_string(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 162 | Rtoken::Err(s) => s.to_string(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 163 | Rtoken::Datatype(s) => s.to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 202 | _ => "Rtoken".to_string(), [INFO] [stdout] | ^ ...and 15 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tk` [INFO] [stdout] --> src/lang/rtoken.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | Rtoken::Flow{msg, tk} => msg.clone(), [INFO] [stdout] | ^^ help: try ignoring the field: `tk: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lang/rtoken.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | Rtoken::Func(f) => "function".to_string(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lang/rtoken.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | _ => "undefined!".to_string(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lang/rtoken.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 209 | Rtoken::Nil => "nil!".to_string(), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 210 | Rtoken::None => "none!".to_string(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 211 | Rtoken::Err(_) => "err!".to_string(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 212 | Rtoken::Datatype(_) => "datatype!".to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 229 | _ => "undefined!".to_string(), [INFO] [stdout] | ^ ...and 15 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tp` is never read [INFO] [stdout] --> src/lang/rtoken.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let mut tp = "undefined!"; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lang/rtoken.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut result: PRtoken; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lang/rtable.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(ref f) = ptr_raw!(self).ft { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lang/rsolver.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `msg: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tk` [INFO] [stdout] --> src/lang/rsolver.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tk: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lang/rsolver.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `msg: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tk` [INFO] [stdout] --> src/lang/rsolver.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tk: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lang/rsolver.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `msg: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tk` [INFO] [stdout] --> src/lang/rsolver.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tk: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lang/rsolver.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `msg: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tk` [INFO] [stdout] --> src/lang/rsolver.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | Rtoken::Flow{ref msg, ref tk} => return result.clone(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tk: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/lang/rsolver.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut result = PRtoken::new_nil(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/math.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/math.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn sub(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/math.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn mul(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/math.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn div(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/compare.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn eq(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/compare.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn lt(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/compare.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn gt(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/compare.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn le(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/compare.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn ge(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/sys.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn quit(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/sys.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn print(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/sys.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn typeOf(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/nativelib/sys.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => PRtoken::new_err("Cost fail!".to_string()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/nativelib/sys.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn clear(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/sys.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn clear(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/nativelib/rloop.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rbreak(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/rloop.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rbreak(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/nativelib/rloop.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rcontinue(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/rloop.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rcontinue(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/nativelib/rloop.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut temp = PRtoken::new_nil(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/nativelib/rloop.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let mut temp = PRtoken::new_nil(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/nativelib/def.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn func(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut lib_ctx = PRtable::new(RtableType::SYS_TABLE); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lang/rmacro.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | $token.0.read().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/lang/rtable.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | match ptr_raw!(f).tp { [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `ptr_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lang/rmacro.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | $token.0.read().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/lang/rtable.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | match ptr_raw!(f).tp { [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 156 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `ptr_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lang/rmacro.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | $token.0.read().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/lang/rtable.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(ref f) = ptr_raw!(table.clone()).ft { [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/rwlock.rs:818:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `ptr_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Byte` and `Char` are never constructed [INFO] [stdout] --> src/lang/rtoken.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Rtoken { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Byte(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rtoken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lang/rtoken.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PRtoken { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 35 | pub fn new(tk: Rtoken)-> PRtoken{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn new_byte(b: i8)-> PRtoken{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn new_char(c: char)-> PRtoken{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn is_word(&self)-> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn bind_ctx(&mut self, ctx: PRtable){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn vec_bind_ctx(v: &mut Vec, ctx: PRtable){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lang/rtable.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl PRtable { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_with_father(t: RtableType, f: PRtable)-> PRtable{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn room(&self)-> i64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn len(&self)-> i64{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn fit_size(&mut self){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn has_father(&self)-> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn has_no_sys_father(&self)-> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn remove_now(&mut self, k: String){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn remove(&mut self, k: String){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `eval_blk`, `reduce_str_static`, `reduce_str`, `reduce_blk_static`, and `reduce_blk` are never used [INFO] [stdout] --> src/lang/rsolver.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rsolver { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn eval_blk(&mut self, blk: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn reduce_str_static(s: String, ctx: PRtable)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn reduce_str(&mut self, s: String, ctx: PRtable)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn reduce_blk_static(blk: Vec, ctx: PRtable)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn reduce_blk(&mut self, blk: Vec, ctx: PRtable)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typeOf` should have a snake case name [INFO] [stdout] --> src/nativelib/sys.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn typeOf(args: Vec, ctx: PRtable)-> PRtoken{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `type_of` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RML-rust` (bin "RML-rust") due to 3 previous errors; 65 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c73ea2e010dd368654a14cf1375d9c349911624a2d3021acf566140a9459bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c73ea2e010dd368654a14cf1375d9c349911624a2d3021acf566140a9459bcb", kill_on_drop: false }` [INFO] [stdout] 7c73ea2e010dd368654a14cf1375d9c349911624a2d3021acf566140a9459bcb