[INFO] cloning repository https://github.com/Sk3pz/matador [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sk3pz/matador" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmatador", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmatador'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcf2d9e470198150b76b98e742034d9db8f83e7a [INFO] testing Sk3pz/matador against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmatador" "/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/Sk3pz/matador [INFO] finished tweaking git repo https://github.com/Sk3pz/matador [INFO] tweaked toml for git repo https://github.com/Sk3pz/matador written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sk3pz/matador 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/Sk3pz/matador 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded better_term v1.4.61 [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] 2d9edcf607e35cd9d29dc110dc36f9c4cbe9a456d60b59f6ecf3f5f1a13bc8a7 [INFO] running `Command { std: "docker" "start" "-a" "2d9edcf607e35cd9d29dc110dc36f9c4cbe9a456d60b59f6ecf3f5f1a13bc8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d9edcf607e35cd9d29dc110dc36f9c4cbe9a456d60b59f6ecf3f5f1a13bc8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9edcf607e35cd9d29dc110dc36f9c4cbe9a456d60b59f6ecf3f5f1a13bc8a7", kill_on_drop: false }` [INFO] [stdout] 2d9edcf607e35cd9d29dc110dc36f9c4cbe9a456d60b59f6ecf3f5f1a13bc8a7 [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] cf24f79cc6aac3201cb5640f68513a0c0eb3fc1a3069f7437de5b29600b2a87a [INFO] running `Command { std: "docker" "start" "-a" "cf24f79cc6aac3201cb5640f68513a0c0eb3fc1a3069f7437de5b29600b2a87a", kill_on_drop: false }` [INFO] [stderr] Compiling better_term v1.4.61 [INFO] [stderr] Compiling matador v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_was_lit` is never read [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... last_was_lit = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => { "???".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/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 59 | Node::Not => { "Not".to_string() } [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => { "???".to_string() } [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Map` is never constructed [INFO] [stdout] --> src/node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_display_string`, `display`, and `prgm_display` are never used [INFO] [stdout] --> src/node.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 53 | fn to_display_string(&self, depth: &u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn display(&self, depth: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn prgm_display(nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_native_function` is never used [INFO] [stdout] --> src/interpreter.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn register_native_function>(&mut self, name: S, f: NativeFunction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/lexer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Range` and `Map` are never constructed [INFO] [stdout] --> src/variable.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Range(i64, i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Array(Vec>), [INFO] [stdout] 42 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stdout] --> src/scope.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `function_exists` are never used [INFO] [stdout] --> src/scope.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ScopeHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timed` is never used [INFO] [stdout] --> src/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn timed R, R>(f: F) -> (R, Duration) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Native` is never constructed [INFO] [stdout] --> src/function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Function { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 8 | // native rust functions [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_std` is never used [INFO] [stdout] --> src/matador_std.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn attach_std(interpreter: &mut Interpreter) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_lit` is never read [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... last_was_lit = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => { "???".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/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 59 | Node::Not => { "Not".to_string() } [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => { "???".to_string() } [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Map` is never constructed [INFO] [stdout] --> src/node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/lexer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Range` and `Map` are never constructed [INFO] [stdout] --> src/variable.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Range(i64, i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Array(Vec>), [INFO] [stdout] 42 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stdout] --> src/scope.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `function_exists` are never used [INFO] [stdout] --> src/scope.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ScopeHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "cf24f79cc6aac3201cb5640f68513a0c0eb3fc1a3069f7437de5b29600b2a87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf24f79cc6aac3201cb5640f68513a0c0eb3fc1a3069f7437de5b29600b2a87a", kill_on_drop: false }` [INFO] [stdout] cf24f79cc6aac3201cb5640f68513a0c0eb3fc1a3069f7437de5b29600b2a87a [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] 762693dfc256160c6cabb7fc63e497be5a1df21fa11724fb855c67068c3933e9 [INFO] running `Command { std: "docker" "start" "-a" "762693dfc256160c6cabb7fc63e497be5a1df21fa11724fb855c67068c3933e9", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `last_was_lit` is never read [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... last_was_lit = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => { "???".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/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 59 | Node::Not => { "Not".to_string() } [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => { "???".to_string() } [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Map` is never constructed [INFO] [stdout] --> src/node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_display_string`, `display`, and `prgm_display` are never used [INFO] [stdout] --> src/node.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 53 | fn to_display_string(&self, depth: &u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn display(&self, depth: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn prgm_display(nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_native_function` is never used [INFO] [stdout] --> src/interpreter.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn register_native_function>(&mut self, name: S, f: NativeFunction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/lexer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Range` and `Map` are never constructed [INFO] [stdout] --> src/variable.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Range(i64, i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Array(Vec>), [INFO] [stdout] 42 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stdout] --> src/scope.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `function_exists` are never used [INFO] [stdout] --> src/scope.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ScopeHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timed` is never used [INFO] [stdout] --> src/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn timed R, R>(f: F) -> (R, Duration) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Native` is never constructed [INFO] [stdout] --> src/function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Function { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 8 | // native rust functions [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_std` is never used [INFO] [stdout] --> src/matador_std.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn attach_std(interpreter: &mut Interpreter) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling matador v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_was_lit` is never read [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... last_was_lit = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => { "???".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/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 59 | Node::Not => { "Not".to_string() } [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => { "???".to_string() } [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Map` is never constructed [INFO] [stdout] --> src/node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/lexer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Range` and `Map` are never constructed [INFO] [stdout] --> src/variable.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Range(i64, i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Array(Vec>), [INFO] [stdout] 42 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stdout] --> src/scope.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `function_exists` are never used [INFO] [stdout] --> src/scope.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ScopeHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_lit` is never read [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... last_was_lit = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => { "???".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/node.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 59 | Node::Not => { "Not".to_string() } [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => { "???".to_string() } [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Map` is never constructed [INFO] [stdout] --> src/node.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_display_string`, `display`, and `prgm_display` are never used [INFO] [stdout] --> src/node.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 53 | fn to_display_string(&self, depth: &u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn display(&self, depth: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn prgm_display(nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_native_function` is never used [INFO] [stdout] --> src/interpreter.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn register_native_function>(&mut self, name: S, f: NativeFunction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/lexer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Range` and `Map` are never constructed [INFO] [stdout] --> src/variable.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Range(i64, i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Array(Vec>), [INFO] [stdout] 42 | Map(Vec<(Box, Box)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stdout] --> src/scope.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `function_exists` are never used [INFO] [stdout] --> src/scope.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ScopeHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timed` is never used [INFO] [stdout] --> src/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn timed R, R>(f: F) -> (R, Duration) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Native` is never constructed [INFO] [stdout] --> src/function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Function { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 8 | // native rust functions [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_std` is never used [INFO] [stdout] --> src/matador_std.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn attach_std(interpreter: &mut Interpreter) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | Native(NativeFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "762693dfc256160c6cabb7fc63e497be5a1df21fa11724fb855c67068c3933e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762693dfc256160c6cabb7fc63e497be5a1df21fa11724fb855c67068c3933e9", kill_on_drop: false }` [INFO] [stdout] 762693dfc256160c6cabb7fc63e497be5a1df21fa11724fb855c67068c3933e9 [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] abdabda2bc451c1fd88f37cfd222e97d8302987a0c73c7fcd83a67bfbb5d59cd [INFO] running `Command { std: "docker" "start" "-a" "abdabda2bc451c1fd88f37cfd222e97d8302987a0c73c7fcd83a67bfbb5d59cd", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `last_was_lit` is never read [INFO] [stderr] --> src/parser.rs:410:29 [INFO] [stderr] | [INFO] [stderr] 410 | ... last_was_lit = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/node.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | _ => { "???".to_string() } [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/node.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 56 | Node::Variable(v) => { format!("Variable: {}", v) } [INFO] [stderr] | ----------------- matches some of the same values [INFO] [stderr] 57 | Node::Ident(ident) => { format!("Ident: {}", ident) } [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 58 | Node::Negative => { "Negative".to_string() } [INFO] [stderr] | -------------- matches some of the same values [INFO] [stderr] 59 | Node::Not => { "Not".to_string() } [INFO] [stderr] | --------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 149 | _ => { "???".to_string() } [INFO] [stderr] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Map` is never constructed [INFO] [stderr] --> src/node.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) enum Node { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | Map(Vec<(Box, Box)>), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `to_display_string`, `display`, and `prgm_display` are never used [INFO] [stderr] --> src/node.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 52 | impl Node { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 53 | fn to_display_string(&self, depth: &u32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn display(&self, depth: u32) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn prgm_display(nodes: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `register_native_function` is never used [INFO] [stderr] --> src/interpreter.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Interpreter { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn register_native_function>(&mut self, name: S, f: NativeFunction) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `source` is never read [INFO] [stderr] --> src/lexer.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct Lexer<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 69 | source: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Range` and `Map` are never constructed [INFO] [stderr] --> src/variable.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) enum Variable { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 40 | Range(i64, i64), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 41 | Array(Vec>), [INFO] [stderr] 42 | Map(Vec<(Box, Box)>), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `function_exists` and `get_or_else` are never used [INFO] [stderr] --> src/scope.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 12 | impl Scope { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | fn function_exists(&self, ident: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | fn get_or_else(&self, ident: &str) -> Variable { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `function_exists` are never used [INFO] [stderr] --> src/scope.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 62 | impl ScopeHandler { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | pub(crate) fn get(&self, ident: &str) -> Option<&Variable> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub(crate) fn function_exists(&self, ident: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `timed` is never used [INFO] [stderr] --> src/debug.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) fn timed R, R>(f: F) -> (R, Duration) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Native` is never constructed [INFO] [stderr] --> src/function.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) enum Function { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 8 | // native rust functions [INFO] [stderr] 9 | Native(NativeFunction), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `attach_std` is never used [INFO] [stderr] --> src/matador_std.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn attach_std(interpreter: &mut Interpreter) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/function.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 9 | Native(NativeFunction), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `matador` (lib) generated 13 warnings [INFO] [stderr] warning: `matador` (bin "matador" test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `matador` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/matador-dc30e4ef84ac0e83) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/matador-86a4ea1137cf20dc) [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] [stderr] Doc-tests matador [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" "abdabda2bc451c1fd88f37cfd222e97d8302987a0c73c7fcd83a67bfbb5d59cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abdabda2bc451c1fd88f37cfd222e97d8302987a0c73c7fcd83a67bfbb5d59cd", kill_on_drop: false }` [INFO] [stdout] abdabda2bc451c1fd88f37cfd222e97d8302987a0c73c7fcd83a67bfbb5d59cd