[INFO] cloning repository https://github.com/fjhg19930505/rua_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fjhg19930505/rua_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frua_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frua_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5165e7592986de4e1e54f3c8874ed1761456a7a [INFO] checking fjhg19930505/rua_engine against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frua_engine" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fjhg19930505/rua_engine on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fjhg19930505/rua_engine [INFO] finished tweaking git repo https://github.com/fjhg19930505/rua_engine [INFO] tweaked toml for git repo https://github.com/fjhg19930505/rua_engine written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/fjhg19930505/rua_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f01ea3f37563b593dd36a2525b443e56040fc7f305f33874f881aeaa03d8a11 [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" "0f01ea3f37563b593dd36a2525b443e56040fc7f305f33874f881aeaa03d8a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f01ea3f37563b593dd36a2525b443e56040fc7f305f33874f881aeaa03d8a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f01ea3f37563b593dd36a2525b443e56040fc7f305f33874f881aeaa03d8a11", kill_on_drop: false }` [INFO] [stdout] 0f01ea3f37563b593dd36a2525b443e56040fc7f305f33874f881aeaa03d8a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b7a9fe340eeaf4a33cdf959e90d57ecaf84fde38c0aacd0f690266cee9df9e [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" "61b7a9fe340eeaf4a33cdf959e90d57ecaf84fde38c0aacd0f690266cee9df9e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling protobuf v2.18.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling mysql v18.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling io-enum v0.2.4 [INFO] [stderr] Checking rua_value_list v0.1.0 (https://github.com/fjhg19930505/rua_value_list.git#09674fdf) [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling lexical v4.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rua_utils v0.1.0 (https://github.com/fjhg19930505/rua_utils.git#999c5b5c) [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rua_net_mgr v0.1.0 (https://github.com/fjhg19930505/rua_net_mgr.git#7f56b2cc) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling const-random-macro v0.1.11 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking const-random v0.1.11 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking protobuf-codegen v2.18.0 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust_decimal v1.8.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling derive_utils v0.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mysql_common v0.20.2 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking protoc v2.18.0 [INFO] [stderr] Checking protoc-rust v2.18.0 [INFO] [stderr] Checking rua_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | try!(desc.fmt(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 120 | desc.fmt(f)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 120 | r#try!(desc.fmt(f)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 121 | f.write_str(": ")?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | try!(code.fmt(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 125 | code.fmt(f)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 125 | r#try!(code.fmt(f)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 126 | f.write_str(": ")?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 126 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | try!(desc.fmt(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 120 | desc.fmt(f)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 120 | r#try!(desc.fmt(f)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 121 | f.write_str(": ")?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | try!(code.fmt(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 125 | code.fmt(f)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 125 | r#try!(code.fmt(f)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/values.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 126 | f.write_str(": ")?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 126 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rua_utils` [INFO] [stdout] --> src/common/network/net_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rua_utils::FileUtils; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `rua_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::db_trait` [INFO] [stdout] --> src/common/db/db_mysql.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db_trait::DbTrait; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::common::db::db_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `td_rp` [INFO] [stdout] --> src/values.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use td_rp::RpError; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `td_rp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | unwrap_or!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | let field = unwrap_or!(config_get_field_by_name(name), continue); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:97:82 [INFO] [stdout] | [INFO] [stdout] 97 | ... msg.get_var_list().put(name.clone()).put(unwrap_or!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | ... unwrap_or!(String::from_utf8(sub_val).ok(), continue); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjId` [INFO] [stdout] --> src/common/db/db_mysql.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | ... msg.get_var_list().put(ObjId::from(str)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rua_value_list::ObjId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryResult` [INFO] [stdout] --> src/common/db/db_mysql.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use mysql::{Conn as MysqlConn, Opts, QueryResult, Result as MysqlResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! unwrap_or { [INFO] [stdout] 4 | | ($expr:expr, $or:expr) => ( [INFO] [stdout] 5 | | match $expr { [INFO] [stdout] 6 | | Some(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 9 | | ) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / macro_rules! ok_or { [INFO] [stdout] 13 | | ($expr: expr, $or: expr) => ( [INFO] [stdout] 14 | | match $expr { [INFO] [stdout] 15 | | Ok(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / macro_rules! fail { [INFO] [stdout] 22 | | ($expr:expr) => ( [INFO] [stdout] 23 | | return Err(::std::convert::From::from($expr)); [INFO] [stdout] 24 | | ) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rua_utils` [INFO] [stdout] --> src/common/network/net_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rua_utils::FileUtils; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `rua_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::db_trait` [INFO] [stdout] --> src/common/db/db_mysql.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db_trait::DbTrait; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::common::db::db_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `td_rp` [INFO] [stdout] --> src/values.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use td_rp::RpError; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `td_rp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | unwrap_or!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | let field = unwrap_or!(config_get_field_by_name(name), continue); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:97:82 [INFO] [stdout] | [INFO] [stdout] 97 | ... msg.get_var_list().put(name.clone()).put(unwrap_or!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `unwrap_or` in this scope [INFO] [stdout] --> src/common/db/db_mysql.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | ... unwrap_or!(String::from_utf8(sub_val).ok(), continue); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjId` [INFO] [stdout] --> src/common/db/db_mysql.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | ... msg.get_var_list().put(ObjId::from(str)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rua_value_list::ObjId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryResult` [INFO] [stdout] --> src/common/db/db_mysql.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use mysql::{Conn as MysqlConn, Opts, QueryResult, Result as MysqlResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! unwrap_or { [INFO] [stdout] 4 | | ($expr:expr, $or:expr) => ( [INFO] [stdout] 5 | | match $expr { [INFO] [stdout] 6 | | Some(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 9 | | ) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / macro_rules! ok_or { [INFO] [stdout] 13 | | ($expr: expr, $or: expr) => ( [INFO] [stdout] 14 | | match $expr { [INFO] [stdout] 15 | | Ok(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / macro_rules! fail { [INFO] [stdout] 22 | | ($expr:expr) => ( [INFO] [stdout] 23 | | return Err(::std::convert::From::from($expr)); [INFO] [stdout] 24 | | ) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `last_insert_id` on type `QueryResult<'_, '_, '_, Text>` [INFO] [stdout] --> src/common/db/db_mysql.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | self.last_insert_id = val.last_insert_id.unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 78 | self.last_insert_id = val.last_insert_id().unwrap_or(0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `last_insert_id` on type `QueryResult<'_, '_, '_, Text>` [INFO] [stdout] --> src/common/db/db_mysql.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | self.last_insert_id = val.last_insert_id.unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 78 | self.last_insert_id = val.last_insert_id().unwrap_or(0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/network/net_msg.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | VarList::init(vec![0 as u32, 0 as u16, 0 as u32, 0 as u16]) [INFO] [stdout] | ^^^^^^^^ expected `u32`, found `u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:69:65 [INFO] [stdout] | [INFO] [stdout] 69 | let length: u32 = var_list.get(MsgIndex::MsgIndexLength.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | let seq_fd: u16 = var_list.get(MsgIndex::MsgIndexSeqFd.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | let cookie: u32 = var_list.get(MsgIndex::MsgIndexCookie.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let msg_type: u16 = var_list.get(MsgIndex::MsgIndexMsgType.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `VarList` in the current scope [INFO] [stdout] --> src/common/network/net_msg.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | println!("data.len() = {:?}, length = {:?}", data.len(), length); [INFO] [stdout] | ^^^ method not found in `VarList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:77:72 [INFO] [stdout] | [INFO] [stdout] 77 | let pack_name: String = var_list.get(MsgIndex::MsgIndexMsgData.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | self.var_list.set(MsgIndex::MsgIndexLength.into(), self.length); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | self.var_list.set(MsgIndex::MsgIndexSeqFd.into(), self.seq_fd); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | self.var_list.set(MsgIndex::MsgIndexCookie.into(), self.cookie); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | self.var_list.set(MsgIndex::MsgIndexMsgType.into(), self.msg_type); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:106:66 [INFO] [stdout] | [INFO] [stdout] 106 | self.length = self.var_list.get(MsgIndex::MsgIndexLength.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | self.seq_fd = self.var_list.get(MsgIndex::MsgIndexSeqFd.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:108:66 [INFO] [stdout] | [INFO] [stdout] 108 | self.cookie = self.var_list.get(MsgIndex::MsgIndexCookie.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:109:69 [INFO] [stdout] | [INFO] [stdout] 109 | self.msg_type = self.var_list.get(MsgIndex::MsgIndexMsgType.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 131 | self.var_list.set(MsgIndex::MsgIndexSeqFd.into(), seq_fd); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | self.var_list.set(MsgIndex::MsgIndexCookie.into(), cookie); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [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/values.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rua_engine` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/network/net_msg.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | VarList::init(vec![0 as u32, 0 as u16, 0 as u32, 0 as u16]) [INFO] [stdout] | ^^^^^^^^ expected `u32`, found `u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:69:65 [INFO] [stdout] | [INFO] [stdout] 69 | let length: u32 = var_list.get(MsgIndex::MsgIndexLength.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | let seq_fd: u16 = var_list.get(MsgIndex::MsgIndexSeqFd.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | let cookie: u32 = var_list.get(MsgIndex::MsgIndexCookie.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let msg_type: u16 = var_list.get(MsgIndex::MsgIndexMsgType.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `VarList` in the current scope [INFO] [stdout] --> src/common/network/net_msg.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | println!("data.len() = {:?}, length = {:?}", data.len(), length); [INFO] [stdout] | ^^^ method not found in `VarList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:77:72 [INFO] [stdout] | [INFO] [stdout] 77 | let pack_name: String = var_list.get(MsgIndex::MsgIndexMsgData.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | self.var_list.set(MsgIndex::MsgIndexLength.into(), self.length); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | self.var_list.set(MsgIndex::MsgIndexSeqFd.into(), self.seq_fd); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | self.var_list.set(MsgIndex::MsgIndexCookie.into(), self.cookie); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | self.var_list.set(MsgIndex::MsgIndexMsgType.into(), self.msg_type); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:106:66 [INFO] [stdout] | [INFO] [stdout] 106 | self.length = self.var_list.get(MsgIndex::MsgIndexLength.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | self.seq_fd = self.var_list.get(MsgIndex::MsgIndexSeqFd.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:108:66 [INFO] [stdout] | [INFO] [stdout] 108 | self.cookie = self.var_list.get(MsgIndex::MsgIndexCookie.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:109:69 [INFO] [stdout] | [INFO] [stdout] 109 | self.msg_type = self.var_list.get(MsgIndex::MsgIndexMsgType.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 131 | self.var_list.set(MsgIndex::MsgIndexSeqFd.into(), seq_fd); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From` is not satisfied [INFO] [stdout] --> src/common/network/net_msg.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | self.var_list.set(MsgIndex::MsgIndexCookie.into(), cookie); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `MsgIndex` [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/values.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "61b7a9fe340eeaf4a33cdf959e90d57ecaf84fde38c0aacd0f690266cee9df9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b7a9fe340eeaf4a33cdf959e90d57ecaf84fde38c0aacd0f690266cee9df9e", kill_on_drop: false }` [INFO] [stdout] 61b7a9fe340eeaf4a33cdf959e90d57ecaf84fde38c0aacd0f690266cee9df9e