[INFO] fetching crate little 0.3.0... [INFO] testing little-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate little 0.3.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate little 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac81722e05ddb1ff4340d58963e46a63f5527977694c4003ab5505523f854b22 [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" "ac81722e05ddb1ff4340d58963e46a63f5527977694c4003ab5505523f854b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac81722e05ddb1ff4340d58963e46a63f5527977694c4003ab5505523f854b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac81722e05ddb1ff4340d58963e46a63f5527977694c4003ab5505523f854b22", kill_on_drop: false }` [INFO] [stdout] ac81722e05ddb1ff4340d58963e46a63f5527977694c4003ab5505523f854b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2ab4a9e86edfba8e48519106d24093e6d483cb2b97fbc2980c478eadd502229 [INFO] running `Command { std: "docker" "start" "-a" "b2ab4a9e86edfba8e48519106d24093e6d483cb2b97fbc2980c478eadd502229", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling little v0.3.0 (/opt/rustwide/workdir) [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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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 associated function `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/interpreter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - calls: Options>, [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: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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - CallError(Box), [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub type LittleResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "b2ab4a9e86edfba8e48519106d24093e6d483cb2b97fbc2980c478eadd502229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ab4a9e86edfba8e48519106d24093e6d483cb2b97fbc2980c478eadd502229", kill_on_drop: false }` [INFO] [stdout] b2ab4a9e86edfba8e48519106d24093e6d483cb2b97fbc2980c478eadd502229 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c4ddbc4627d1e64bb589354ba7fdf4596e7e22850cc3a00b52e441feb44a1122 [INFO] running `Command { std: "docker" "start" "-a" "c4ddbc4627d1e64bb589354ba7fdf4596e7e22850cc3a00b52e441feb44a1122", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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 associated function `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/interpreter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - calls: Options>, [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: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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - CallError(Box), [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub type LittleResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling little v0.3.0 (/opt/rustwide/workdir) [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - let mut funs = HashMap::<&'static str, &Function>::new(); [INFO] [stdout] 61 + let mut funs = HashMap::<&'static str, &dyn Function>::new(); [INFO] [stdout] | [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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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: 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: 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: use of deprecated associated function `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/interpreter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | calls: Options>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - calls: Options>, [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: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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - CallError(Box), [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub type LittleResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [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 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - funs.insert("add", &add as &Function); [INFO] [stdout] 244 + funs.insert("add", &add as &dyn Function); [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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.68s [INFO] running `Command { std: "docker" "inspect" "c4ddbc4627d1e64bb589354ba7fdf4596e7e22850cc3a00b52e441feb44a1122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ddbc4627d1e64bb589354ba7fdf4596e7e22850cc3a00b52e441feb44a1122", kill_on_drop: false }` [INFO] [stdout] c4ddbc4627d1e64bb589354ba7fdf4596e7e22850cc3a00b52e441feb44a1122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a16e4126aec5c8fb13ced3b463960a8396da40c26dabf19ac81b85dc7e545c13 [INFO] running `Command { std: "docker" "start" "-a" "a16e4126aec5c8fb13ced3b463960a8396da40c26dabf19ac81b85dc7e545c13", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter.rs:134:25 [INFO] [stderr] | [INFO] [stderr] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter.rs:134:53 [INFO] [stderr] | [INFO] [stderr] 134 | try!(write!(self.buf, "{}", try!(self.values.get_mem_value(location)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter.rs:146:37 [INFO] [stderr] | [INFO] [stderr] 146 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter.rs:150:37 [INFO] [stderr] | [INFO] [stderr] 150 | let value = try!(self.values.get_mem_value(location)).into_owned(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter.rs:158:37 [INFO] [stderr] | [INFO] [stderr] 158 | let value = try!(self.values.get_mem_value(location)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BuildError` [INFO] [stderr] --> src/compiler.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | BuildError, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | try!(writer.write_all(&buf[..len])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | try!(input.seek(SeekFrom::Start(loc))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bytecode.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | try!(output.write_u32::(self.magic)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bytecode.rs:78:20 [INFO] [stderr] | [INFO] [stderr] 78 | magic: try!(input.read_u32::()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | fn invoke<'r>(&self, &'r [V]) -> LittleResult; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'r [V]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | fn execute(&'a self, V) -> Self::Stream; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error/seek.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | SeekError::Io(ref e) => error::Error::description(e), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | calls: Options>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - calls: Options>, [INFO] [stderr] 75 + calls: Options>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error/little.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | CallError(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - CallError(Box), [INFO] [stderr] 20 + CallError(Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error/little.rs:74:42 [INFO] [stderr] | [INFO] [stderr] 74 | pub type LittleResult = Result>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - pub type LittleResult = Result>; [INFO] [stderr] 74 + pub type LittleResult = Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:145:42 [INFO] [stderr] | [INFO] [stderr] 145 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 145 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] 145 + calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:149:75 [INFO] [stderr] | [INFO] [stderr] 149 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 149 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] 149 + fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter.rs:50:42 [INFO] [stderr] | [INFO] [stderr] 50 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] 50 + calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter.rs:64:75 [INFO] [stderr] | [INFO] [stderr] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] 64 + fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/compiler.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 30 | calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - calls: &'a HashMap<&'a str, &'a (Function + 'a)> [INFO] [stderr] 30 + calls: &'a HashMap<&'a str, &'a (dyn Function + 'a)> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/compiler.rs:36:75 [INFO] [stderr] | [INFO] [stderr] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] 36 + fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (dyn Function + 'a)>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error/little.rs:64:48 [INFO] [stderr] | [INFO] [stderr] 64 | LittleError::CallError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error/little.rs:65:49 [INFO] [stderr] | [INFO] [stderr] 65 | LittleError::BuildError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/lib.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::{ self, Write }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/interpreter.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{ Read, Write }; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/interpreter.rs:64:27 [INFO] [stderr] | [INFO] [stderr] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/interpreter.rs:64:37 [INFO] [stderr] | [INFO] [stderr] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `calls` [INFO] [stderr] --> src/interpreter.rs:64:55 [INFO] [stderr] | [INFO] [stderr] 64 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/interpreter.rs:136:45 [INFO] [stderr] | [INFO] [stderr] 136 | Instruction::Property { mut name } => { [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/interpreter.rs:267:30 [INFO] [stderr] | [INFO] [stderr] 267 | Mem::Parameter { name } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/compiler.rs:36:27 [INFO] [stderr] | [INFO] [stderr] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/compiler.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `calls` [INFO] [stderr] --> src/compiler.rs:36:55 [INFO] [stderr] | [INFO] [stderr] 36 | fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a (Function + 'a)>) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_calls` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/compiler.rs:68:24 [INFO] [stderr] | [INFO] [stderr] 68 | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/compiler.rs:80:29 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/compiler.rs:80:44 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/interpreter.rs:136:45 [INFO] [stderr] | [INFO] [stderr] 136 | Instruction::Property { mut name } => { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `template_ooo` [INFO] [stderr] --> src/compiler.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub struct template_ooo; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `output` [INFO] [stderr] --> src/compiler.rs:80:16 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn output(input: &mut I, output: &mut O) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `little` (lib) generated 40 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/hello_world.rs:61:45 [INFO] [stderr] | [INFO] [stderr] 61 | let mut funs = HashMap::<&'static str, &Function>::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - let mut funs = HashMap::<&'static str, &Function>::new(); [INFO] [stderr] 61 + let mut funs = HashMap::<&'static str, &dyn Function>::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> examples/hello_world.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{ Read, Write }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/compiler.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `output_param` [INFO] [stderr] --> tests/compiler.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn output_param() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] [INFO] [stderr] --> tests/interpreter.rs:34:43 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stderr] 34 | assert_eq!("constant is missing", res.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/interpreter.rs:60:25 [INFO] [stderr] | [INFO] [stderr] 60 | match e.description() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/interpreter.rs:93:43 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq!("constant is missing", res.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/interpreter.rs:116:39 [INFO] [stderr] | [INFO] [stderr] 116 | assert_eq!("stack underflow", res.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/interpreter.rs:244:33 [INFO] [stderr] | [INFO] [stderr] 244 | funs.insert("add", &add as &Function); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 244 - funs.insert("add", &add as &Function); [INFO] [stderr] 244 + funs.insert("add", &add as &dyn Function); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/interpreter.rs:476:21 [INFO] [stderr] | [INFO] [stderr] 476 | v => panic!(format!("test_cond_jump produced unexpected output {:?}", v)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 476 - v => panic!(format!("test_cond_jump produced unexpected output {:?}", v)), [INFO] [stderr] 476 + v => panic!("test_cond_jump produced unexpected output {:?}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `little` (example "hello_world") generated 2 warnings [INFO] [stderr] warning: `little` (test "compiler") generated 2 warnings [INFO] [stderr] warning: `little` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] warning: `little` (test "interpreter") generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/little-05ab24c6cc5b04d6) [INFO] [stdout] test bytecode::test::header ... ok [INFO] [stderr] Running tests/compiler.rs (/opt/rustwide/target/debug/deps/compiler-6c9daf969b9daad5) [INFO] [stdout] test stream::test::test_stream ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/interpreter.rs (/opt/rustwide/target/debug/deps/interpreter-9a9e9c209a137d62) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test error_if_pop_empty_stack ... ok [INFO] [stdout] test error_if_missing_const ... ok [INFO] [stdout] test exit ... ok [INFO] [stdout] test error_if_missing_constant ... ok [INFO] [stdout] test output_constant_twice ... ok [INFO] [stdout] test load_binding_from_binding_stack1_stack2_output3 ... ok [INFO] [stdout] test output_different_constants ... ok [INFO] [stdout] test output_params ... ok [INFO] [stdout] test push_from_stack_to_stack ... ok [INFO] [stdout] test run_function ... ok [INFO] [stdout] test should_jump_if_gt ... ok [INFO] [stdout] test should_jump_if_gte ... ok [INFO] [stdout] test should_jump_if_lt ... ok [INFO] [stdout] test should_not_jump_if_not_eq ... ok [INFO] [stdout] test should_not_jump_if_not_lte ... ok [INFO] [stdout] test should_not_jump_if_not_gt ... ok [INFO] [stdout] test should_not_jump_if_not_gte ... ok [INFO] [stdout] test should_not_jump_if_not_lt ... ok [INFO] [stdout] test should_not_jump_if_not_ne ... ok [INFO] [stderr] Doc-tests little [INFO] [stdout] test should_jump ... ok [INFO] [stdout] test can_handle_interupt ... ok [INFO] [stdout] test load_binding_from_param_output_binding ... ok [INFO] [stdout] test should_jump_if_eq ... ok [INFO] [stdout] test push_constants_output_stack_top2 ... ok [INFO] [stdout] test output_const ... ok [INFO] [stdout] test should_jump_if_lte ... ok [INFO] [stdout] test load_binding_from_const_output_binding ... ok [INFO] [stdout] test push_const_output_stack_top1 ... ok [INFO] [stdout] test should_jump_if_ne ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/stream.rs - stream::buf_copy (line 9) ... ok [INFO] [stdout] test src/stream.rs - stream::seek_and_buf_copy (line 42) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a16e4126aec5c8fb13ced3b463960a8396da40c26dabf19ac81b85dc7e545c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16e4126aec5c8fb13ced3b463960a8396da40c26dabf19ac81b85dc7e545c13", kill_on_drop: false }` [INFO] [stdout] a16e4126aec5c8fb13ced3b463960a8396da40c26dabf19ac81b85dc7e545c13