[INFO] cloning repository https://github.com/mister-hai/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mister-hai/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 263235030ee988ac3e8fdee11c0243bacf923ee4 [INFO] checking mister-hai/rust_practice against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mister-hai/rust_practice on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mister-hai/rust_practice [INFO] finished tweaking git repo https://github.com/mister-hai/rust_practice [INFO] tweaked toml for git repo https://github.com/mister-hai/rust_practice written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mister-hai/rust_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded async-compat v0.2.1 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] [stderr] Downloaded libc v0.2.92 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c888a07d12009c887274bca6de12a58b4cd6c1a45154b052fca34bbd9938db0 [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" "1c888a07d12009c887274bca6de12a58b4cd6c1a45154b052fca34bbd9938db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c888a07d12009c887274bca6de12a58b4cd6c1a45154b052fca34bbd9938db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c888a07d12009c887274bca6de12a58b4cd6c1a45154b052fca34bbd9938db0", kill_on_drop: false }` [INFO] [stdout] 1c888a07d12009c887274bca6de12a58b4cd6c1a45154b052fca34bbd9938db0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2827b8410d9f91182f0cbe9759cbed50276d76c360a48e143fb5683e1f9953d [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" "b2827b8410d9f91182f0cbe9759cbed50276d76c360a48e143fb5683e1f9953d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking async-compat v0.2.1 [INFO] [stderr] Checking rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input) -> Command { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input: TypeName) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, _: json_input) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input) -> Command { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input: TypeName) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, _: json_input) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | println!(self.success_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 103 | println!("{}", self.success_message); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | println!(self.failure_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 105 | println!("{}", self.failure_message); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | println!(self.success_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 103 | println!("{}", self.success_message); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | println!(self.failure_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 105 | println!("{}", self.failure_message); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shutdown` [INFO] [stdout] --> src/main.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | stream.shutdown(Shutdown::Both).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in module `tokio::stream` [INFO] [stdout] --> src/main.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 133 | fn handle_connection(mut stream: tokio::stream::TcpStream) { [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/main.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pass` in this scope [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pass [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shutdown` [INFO] [stdout] --> src/main.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | stream.shutdown(Shutdown::Both).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{char, collections::VecDeque}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorChoice`, `ColorSpec`, `Color`, `StandardStream`, `WriteColor` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use termcolor::{Color,ColorChoice,ColorSpec, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | StandardStream,WriteColor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::{Thread,JoinHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpSocket`, `TcpStream` [INFO] [stdout] --> src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::net::{TcpStream,TcpSocket,TcpListener}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::net::{SocketAddr,IpAddr,Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in module `tokio::stream` [INFO] [stdout] --> src/main.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 133 | fn handle_connection(mut stream: tokio::stream::TcpStream) { [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_struct` should have an upper camel case name [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct command_struct{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandStruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/main.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_set` should have an upper camel case name [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct command_set{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pass` in this scope [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pass [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{char, collections::VecDeque}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorChoice`, `ColorSpec`, `Color`, `StandardStream`, `WriteColor` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use termcolor::{Color,ColorChoice,ColorSpec, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | StandardStream,WriteColor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::{Thread,JoinHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpSocket`, `TcpStream` [INFO] [stdout] --> src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::net::{TcpStream,TcpSocket,TcpListener}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::net::{SocketAddr,IpAddr,Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_struct` should have an upper camel case name [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct command_struct{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandStruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_set` should have an upper camel case name [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct command_set{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/main.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | set : VecDeque<> [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 111 | set : VecDeque [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/main.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | set : VecDeque<> [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 111 | set : VecDeque [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_practice` due to 11 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b2827b8410d9f91182f0cbe9759cbed50276d76c360a48e143fb5683e1f9953d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2827b8410d9f91182f0cbe9759cbed50276d76c360a48e143fb5683e1f9953d", kill_on_drop: false }` [INFO] [stdout] b2827b8410d9f91182f0cbe9759cbed50276d76c360a48e143fb5683e1f9953d