[INFO] fetching crate little 0.3.0... [INFO] checking little-0.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate little 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate little 0.3.0 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 crates.io crate little 0.3.0 [INFO] finished tweaking crates.io crate little 0.3.0 [INFO] tweaked toml for crates.io crate little 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.5.0) [INFO] [stderr] Adding env_logger v0.3.5 (latest: v0.11.5) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.4) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.4) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [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: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 597007ebc7d812c54f1c88c2726e0091dbd8b23d835205e21313387a36b513d6 [INFO] running `Command { std: "docker" "start" "-a" "597007ebc7d812c54f1c88c2726e0091dbd8b23d835205e21313387a36b513d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "597007ebc7d812c54f1c88c2726e0091dbd8b23d835205e21313387a36b513d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597007ebc7d812c54f1c88c2726e0091dbd8b23d835205e21313387a36b513d6", kill_on_drop: false }` [INFO] [stdout] 597007ebc7d812c54f1c88c2726e0091dbd8b23d835205e21313387a36b513d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6729485bf0256f5c5e2db7002fcb779d43130011334ecc7703ebd9f19f993a1b [INFO] running `Command { std: "docker" "start" "-a" "6729485bf0256f5c5e2db7002fcb779d43130011334ecc7703ebd9f19f993a1b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking little v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:134:53 [INFO] [stdout] | [INFO] [stdout] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | let value = try!(self.values.get_mem_value(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BuildError` [INFO] [stdout] --> src/compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BuildError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(writer.write_all(&buf[..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | try!(input.seek(SeekFrom::Start(loc))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytecode.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(output.write_u32::(self.magic)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytecode.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | magic: try!(input.read_u32::()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn invoke<'r>(&self, &'r [V]) -> LittleResult; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'r [V]` [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] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(&'a self, V) -> Self::Stream; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/seek.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | SeekError::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/little.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | CallError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CallError(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/little.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub type LittleResult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub type LittleResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:75 [INFO] [stdout] | [INFO] [stdout] 149 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:64:75 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/little.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | LittleError::CallError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/little.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | LittleError::BuildError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{ self, Write }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/interpreter.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{ Read, Write }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/interpreter.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calls` [INFO] [stdout] --> src/interpreter.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | Instruction::Property { mut name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | Instruction::Property { mut name } => { [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] [stderr] Checking thread-id v2.0.0 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | Mem::Parameter { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compiler.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calls` [INFO] [stdout] --> src/compiler.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/compiler.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/compiler.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `template_ooo` is never constructed [INFO] [stdout] --> src/compiler.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct template_ooo; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `output` is never used [INFO] [stdout] --> src/compiler.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 79 | impl template_ooo { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/compiler.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:134:53 [INFO] [stdout] | [INFO] [stdout] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | let value = try!(self.values.get_mem_value(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BuildError` [INFO] [stdout] --> src/compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BuildError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(writer.write_all(&buf[..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | try!(input.seek(SeekFrom::Start(loc))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytecode.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(output.write_u32::(self.magic)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytecode.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | magic: try!(input.read_u32::()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn invoke<'r>(&self, &'r [V]) -> LittleResult; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'r [V]` [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] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(&'a self, V) -> Self::Stream; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/hello_world.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | let mut funs = HashMap::<&'static str, &Function>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | let mut funs = HashMap::<&'static str, &dyn Function>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/seek.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | SeekError::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/hello_world.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{ Read, Write }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/little.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | CallError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CallError(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_param` is never used [INFO] [stdout] --> tests/compiler.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn output_param() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/little.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub type LittleResult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub type LittleResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:75 [INFO] [stdout] | [INFO] [stdout] 149 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:64:75 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/interpreter.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!("constant is missing", res.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/interpreter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | match e.description() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/interpreter.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!("constant is missing", res.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/interpreter.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!("stack underflow", res.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/little.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | LittleError::CallError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/little.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | LittleError::BuildError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/interpreter.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | funs.insert("add", &add as &Function); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | funs.insert("add", &add as &dyn Function); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{ self, Write }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/interpreter.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{ Read, Write }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/interpreter.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | v => panic!(format!("test_cond_jump produced unexpected output {:?}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 476 - v => panic!(format!("test_cond_jump produced unexpected output {:?}", v)), [INFO] [stdout] 476 + v => panic!("test_cond_jump produced unexpected output {:?}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/interpreter.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calls` [INFO] [stdout] --> src/interpreter.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | Instruction::Property { mut name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | Instruction::Property { mut name } => { [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/interpreter.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | Mem::Parameter { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compiler.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calls` [INFO] [stdout] --> src/compiler.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/compiler.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/compiler.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `template_ooo` is never constructed [INFO] [stdout] --> src/compiler.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct template_ooo; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `output` is never used [INFO] [stdout] --> src/compiler.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 79 | impl template_ooo { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "6729485bf0256f5c5e2db7002fcb779d43130011334ecc7703ebd9f19f993a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6729485bf0256f5c5e2db7002fcb779d43130011334ecc7703ebd9f19f993a1b", kill_on_drop: false }` [INFO] [stdout] 6729485bf0256f5c5e2db7002fcb779d43130011334ecc7703ebd9f19f993a1b