[INFO] fetching crate little 0.3.0... [INFO] checking little-0.3.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate little 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate little 0.3.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a38efe1d4cbdbfc2c7dbe182fc59f7d64ba18e87b6a3db75d91daa5538da5d60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a38efe1d4cbdbfc2c7dbe182fc59f7d64ba18e87b6a3db75d91daa5538da5d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a38efe1d4cbdbfc2c7dbe182fc59f7d64ba18e87b6a3db75d91daa5538da5d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38efe1d4cbdbfc2c7dbe182fc59f7d64ba18e87b6a3db75d91daa5538da5d60", kill_on_drop: false }` [INFO] [stdout] a38efe1d4cbdbfc2c7dbe182fc59f7d64ba18e87b6a3db75d91daa5538da5d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9ea1cbb922bca9096ccd889116e7ab5c818aa3c93f2fe1cef13c0db2a915702 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9ea1cbb922bca9096ccd889116e7ab5c818aa3c93f2fe1cef13c0db2a915702", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking little v0.3.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [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: 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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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: 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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/seek.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | SeekError::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: 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: 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: struct is never constructed: `template_ooo` [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 is never used: `output` [INFO] [stdout] --> src/compiler.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [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: 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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [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: 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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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: 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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Function + 'a` [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error/seek.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | SeekError::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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: function is never used: `output_param` [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: use of deprecated associated function `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 associated function `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: 5 warnings emitted [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: 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: 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: struct is never constructed: `template_ooo` [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 is never used: `output` [INFO] [stdout] --> src/compiler.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.76s [INFO] running `Command { std: "docker" "inspect" "e9ea1cbb922bca9096ccd889116e7ab5c818aa3c93f2fe1cef13c0db2a915702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ea1cbb922bca9096ccd889116e7ab5c818aa3c93f2fe1cef13c0db2a915702", kill_on_drop: false }` [INFO] [stdout] e9ea1cbb922bca9096ccd889116e7ab5c818aa3c93f2fe1cef13c0db2a915702