[INFO] cloning repository https://github.com/Lapz/undisclosed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lapz/undisclosed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fundisclosed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fundisclosed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc2efbcffb4d63245c74338ea9b314881df18d92 [INFO] checking Lapz/undisclosed/cc2efbcffb4d63245c74338ea9b314881df18d92 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fundisclosed" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/undisclosed on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lapz/undisclosed [INFO] finished tweaking git repo https://github.com/Lapz/undisclosed [INFO] tweaked toml for git repo https://github.com/Lapz/undisclosed written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/undisclosed 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_syntax/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_vm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_ir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_semant/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/underscore_x86/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v2.1.3 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded structopt v0.1.7 [INFO] [stderr] Downloaded structopt-derive v0.1.6 [INFO] [stderr] Downloaded same-file v1.0.2 [INFO] [stderr] Downloaded rand_core v0.1.0-pre.0 [INFO] [stderr] Downloaded rand v0.5.0-pre.0 [INFO] [stderr] Downloaded libc v0.2.36 [INFO] [stderr] Downloaded clap v2.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f5ac9a3fcb6ae02f6aadd968b7b202f5fa308fdde7277ccb9ded39b3aa59fa [INFO] running `Command { std: "docker" "start" "-a" "d5f5ac9a3fcb6ae02f6aadd968b7b202f5fa308fdde7277ccb9ded39b3aa59fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f5ac9a3fcb6ae02f6aadd968b7b202f5fa308fdde7277ccb9ded39b3aa59fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f5ac9a3fcb6ae02f6aadd968b7b202f5fa308fdde7277ccb9ded39b3aa59fa", kill_on_drop: false }` [INFO] [stdout] d5f5ac9a3fcb6ae02f6aadd968b7b202f5fa308fdde7277ccb9ded39b3aa59fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c537d32068a6b4a36a659298109ad7085c9d7fec11b8e348a55606a6d6aaa0 [INFO] running `Command { std: "docker" "start" "-a" "e2c537d32068a6b4a36a659298109ad7085c9d7fec11b8e348a55606a6d6aaa0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_semant/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_x86/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_vm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_syntax/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/underscore_ir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking rand_core v0.1.0-pre.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking underscore_vm v0.1.0 (/opt/rustwide/workdir/underscore_vm) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> underscore_vm/src/op.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn try_from(T) -> Result; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> underscore_vm/src/op.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn try_from(T) -> Result; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking walkdir v2.1.3 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 142 | push!(&self.code.constants[index..index+1] => self.stack,[self.stack_top,1]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 152 | push!(&self.code.constants[index..index+4] => self.stack,[self.stack_top,4]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 162 | push!(&self.code.constants[index..index+8] => self.stack,[self.stack_top,8]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 177 | push!( &to_bytes!(-a => i8) => self.stack,[self.stack_top,size]); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 182 | push!( &to_bytes!(-a => i32) => self.stack,[self.stack_top,size]); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 187 | push!( &to_bytes!(-a => i64) => self.stack,[self.stack_top,size]); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 142 | push!(&self.code.constants[index..index+1] => self.stack,[self.stack_top,1]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 152 | push!(&self.code.constants[index..index+4] => self.stack,[self.stack_top,4]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 162 | push!(&self.code.constants[index..index+8] => self.stack,[self.stack_top,8]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 177 | push!( &to_bytes!(-a => i8) => self.stack,[self.stack_top,size]); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 182 | push!( &to_bytes!(-a => i32) => self.stack,[self.stack_top,size]); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 187 | push!( &to_bytes!(-a => i64) => self.stack,[self.stack_top,size]); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(OpCode::Add) => binary_op!(+,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(OpCode::Divide) => binary_op!(/,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(OpCode::Multiply) => binary_op!(*,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_vm/src/vm.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut b = &mut$stack[$from..($from + $to)]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(OpCode::Subtract) => binary_op!(-,self), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push` which comes from the expansion of the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking underscore_util v0.1.0 (/opt/rustwide/workdir/underscore_util) [INFO] [stderr] Checking rand v0.5.0-pre.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Checking underscore_syntax v0.1.0 (/opt/rustwide/workdir/underscore_syntax) [INFO] [stderr] Checking underscore_ir v0.1.0 (/opt/rustwide/workdir/underscore_ir) [INFO] [stderr] Checking underscore_semant v0.1.0 (/opt/rustwide/workdir/underscore_semant) [INFO] [stderr] Checking underscore_x86 v0.1.0 (/opt/rustwide/workdir/underscore_x86) [INFO] [stdout] warning: unused variable: `escapes` [INFO] [stdout] --> underscore_semant/src/infer/function.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | ref escapes, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `escapes: _` [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] --> underscore_semant/src/infer/types.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ty = if let Some(ty) = env.look_type(ident.value).cloned() { [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: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut new_sym = env.symbol(&name); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let mut defs = self.new_defs.get_mut(&symbol).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | let mut new_sym = env.symbol(&name); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | for mut statement in statements { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `linkage` are never read [INFO] [stdout] --> underscore_semant/src/ast/lowered.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub linkage: Linkage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: struct `FindEscape` is never constructed [INFO] [stdout] --> underscore_semant/src/escape.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FindEscape { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> underscore_semant/src/escape.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FindEscape { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn find_escape( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn escape_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn check_ident(&mut self, ident: Symbol, env: &mut Symbols<(u32, bool)>) -> InferResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn escape_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn escape_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn check_var(&mut self, var: &Spanned, env: &mut Symbols<(u32, bool)>) -> InferResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escapes` [INFO] [stdout] --> underscore_semant/src/infer/function.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | ref escapes, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `escapes: _` [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] --> underscore_semant/src/infer/types.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ty = if let Some(ty) = env.look_type(ident.value).cloned() { [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: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut new_sym = env.symbol(&name); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let mut defs = self.new_defs.get_mut(&symbol).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | let mut new_sym = env.symbol(&name); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore_semant/src/monomorphize.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | for mut statement in statements { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `linkage` are never read [INFO] [stdout] --> underscore_semant/src/ast/lowered.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub linkage: Linkage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: struct `FindEscape` is never constructed [INFO] [stdout] --> underscore_semant/src/escape.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FindEscape { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> underscore_semant/src/escape.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FindEscape { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn find_escape( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn escape_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn check_ident(&mut self, ident: Symbol, env: &mut Symbols<(u32, bool)>) -> InferResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn escape_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn escape_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn check_var(&mut self, var: &Spanned, env: &mut Symbols<(u32, bool)>) -> InferResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Checking underscore v0.1.0 (/opt/rustwide/workdir/underscore) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> underscore/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> underscore/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> underscore/src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(mut ast) => { [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: variable does not need to be mutable [INFO] [stdout] --> underscore/src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(mut ast) => { [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] running `Command { std: "docker" "inspect" "e2c537d32068a6b4a36a659298109ad7085c9d7fec11b8e348a55606a6d6aaa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c537d32068a6b4a36a659298109ad7085c9d7fec11b8e348a55606a6d6aaa0", kill_on_drop: false }` [INFO] [stdout] e2c537d32068a6b4a36a659298109ad7085c9d7fec11b8e348a55606a6d6aaa0