[INFO] cloning repository https://github.com/scratchyone/elk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scratchyone/elk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscratchyone%2Felk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscratchyone%2Felk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e760b98d7a20d179177d3e0478f998c4a76a534 [INFO] checking scratchyone/elk against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscratchyone%2Felk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scratchyone/elk on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scratchyone/elk [INFO] finished tweaking git repo https://github.com/scratchyone/elk [INFO] tweaked toml for git repo https://github.com/scratchyone/elk written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/scratchyone/elk 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded beef v0.5.0 [INFO] [stderr] Downloaded colour v0.5.0 [INFO] [stderr] Downloaded crossterm v0.16.0 [INFO] [stderr] Downloaded syn v1.0.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1726a14793f0e12bd8695498f7433422872cda19c3cea9d8ded1787d7932be2 [INFO] running `Command { std: "docker" "start" "-a" "c1726a14793f0e12bd8695498f7433422872cda19c3cea9d8ded1787d7932be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1726a14793f0e12bd8695498f7433422872cda19c3cea9d8ded1787d7932be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1726a14793f0e12bd8695498f7433422872cda19c3cea9d8ded1787d7932be2", kill_on_drop: false }` [INFO] [stdout] c1726a14793f0e12bd8695498f7433422872cda19c3cea9d8ded1787d7932be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6381ad3d25d94c38d17d22efaa06b5795939b342261f635f72331f4f8fa1f68 [INFO] running `Command { std: "docker" "start" "-a" "d6381ad3d25d94c38d17d22efaa06b5795939b342261f635f72331f4f8fa1f68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking colour v0.5.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking elk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpreter.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 195 | show_error(format!("idk how to push to that"), &span); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(Value::Null) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpreter.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 195 | show_error(format!("idk how to push to that"), &span); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(Value::Null) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/parser.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | (Token::ObjectName(n), _) => match tokens.peek(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut tokens = tokens; [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: `name` [INFO] [stdout] --> src/parser.rs:566:28 [INFO] [stdout] | [INFO] [stdout] 566 | (Token::ObjectName(name), _) => match tokens.peek(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/parser.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | (Token::ObjectName(n), _) => match tokens.peek(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut tokens = tokens; [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: `name` [INFO] [stdout] --> src/parser.rs:566:28 [INFO] [stdout] | [INFO] [stdout] 566 | (Token::ObjectName(name), _) => match tokens.peek(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/interpreter.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | Self::Func(args, statements, var_map) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/interpreter.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | Self::Func(args, statements, var_map) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => show_error(format!("Cannot add conflicting types"), &span), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/interpreter.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 358 | (Value::Int(i), Value::Int(b)) => Ok(Value::Int(i + b)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 359 | (a, b) => Ok(Value::String(a.to_string() + &b.to_string())), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 360 | _ => show_error(format!("Cannot add conflicting types"), &span), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_var_map` [INFO] [stdout] --> src/interpreter.rs:267:53 [INFO] [stdout] | [INFO] [stdout] 267 | if let Value::Func(arg_names, code, func_var_map) = v.value.clone() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_var_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => show_error(format!("Cannot add conflicting types"), &span), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/interpreter.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 358 | (Value::Int(i), Value::Int(b)) => Ok(Value::Int(i + b)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 359 | (a, b) => Ok(Value::String(a.to_string() + &b.to_string())), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 360 | _ => show_error(format!("Cannot add conflicting types"), &span), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_var_map` [INFO] [stdout] --> src/interpreter.rs:267:53 [INFO] [stdout] | [INFO] [stdout] 267 | if let Value::Func(arg_names, code, func_var_map) = v.value.clone() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_var_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream` is never used [INFO] [stdout] --> src/parser.rs:958:8 [INFO] [stdout] | [INFO] [stdout] 958 | fn stream(contents: String) -> ParserStream<(Token, (std::ops::Range, String))> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.24s [INFO] running `Command { std: "docker" "inspect" "d6381ad3d25d94c38d17d22efaa06b5795939b342261f635f72331f4f8fa1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6381ad3d25d94c38d17d22efaa06b5795939b342261f635f72331f4f8fa1f68", kill_on_drop: false }` [INFO] [stdout] d6381ad3d25d94c38d17d22efaa06b5795939b342261f635f72331f4f8fa1f68