[INFO] cloning repository https://github.com/liuchengyiu/datacenter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liuchengyiu/datacenter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuchengyiu%2Fdatacenter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuchengyiu%2Fdatacenter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4664d6f78fd18398503f941a7f3f6c5c4421bacc [INFO] checking liuchengyiu/datacenter-rust against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuchengyiu%2Fdatacenter-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/liuchengyiu/datacenter-rust on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/liuchengyiu/datacenter-rust [INFO] finished tweaking git repo https://github.com/liuchengyiu/datacenter-rust [INFO] tweaked toml for git repo https://github.com/liuchengyiu/datacenter-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/liuchengyiu/datacenter-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec1b464ca355e7dc81e34d716d35dc2f116cab99f627b3eef219e22a0d9927e [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" "6ec1b464ca355e7dc81e34d716d35dc2f116cab99f627b3eef219e22a0d9927e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec1b464ca355e7dc81e34d716d35dc2f116cab99f627b3eef219e22a0d9927e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec1b464ca355e7dc81e34d716d35dc2f116cab99f627b3eef219e22a0d9927e", kill_on_drop: false }` [INFO] [stdout] 6ec1b464ca355e7dc81e34d716d35dc2f116cab99f627b3eef219e22a0d9927e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1a069db2002c40a36f3f6952cf96152ae1b93ee1f512ebe569787e7502da865 [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" "e1a069db2002c40a36f3f6952cf96152ae1b93ee1f512ebe569787e7502da865", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling paho-mqtt-sys v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking sqlite3-sys v0.12.0 [INFO] [stderr] Checking futures-timer v0.1.1 [INFO] [stderr] Checking sqlite v0.25.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking paho-mqtt v0.7.1 [INFO] [stderr] Checking database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `object` [INFO] [stdout] --> src/common/common.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use json::{self, object::Object, object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MQTT_VERSION_3_1_1` [INFO] [stdout] --> src/mqtt_lib/mqtt_init.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MQTT_VERSION_3_1_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_appname` [INFO] [stdout] --> src/protocol/deals/model/index.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_appname, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object` [INFO] [stdout] --> src/common/common.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use json::{self, object::Object, object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MQTT_VERSION_3_1_1` [INFO] [stdout] --> src/mqtt_lib/mqtt_init.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MQTT_VERSION_3_1_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_appname` [INFO] [stdout] --> src/protocol/deals/model/index.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_appname, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/sql/operate.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut flag: bool = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/sql/operate.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut flag: bool = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `request_message` is never read [INFO] [stdout] --> src/protocol/deals/version/index.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut request_message = JsonValue::new_object(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/protocol/deals/register/index.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let mut flag = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_deal` [INFO] [stdout] --> src/protocol/deals/register/index.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let db_deal = |e: sqlite::Error| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_deal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_deal` [INFO] [stdout] --> src/protocol/deals/register/index.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let db_deal = |e: sqlite::Error| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_deal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/sql/operate.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut flag: bool = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/sql/operate.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut flag: bool = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `request_message` is never read [INFO] [stdout] --> src/protocol/deals/version/index.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut request_message = JsonValue::new_object(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/protocol/deals/register/index.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let mut flag = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_deal` [INFO] [stdout] --> src/protocol/deals/register/index.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let db_deal = |e: sqlite::Error| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_deal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_deal` [INFO] [stdout] --> src/protocol/deals/register/index.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let db_deal = |e: sqlite::Error| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_deal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CacherExample` [INFO] [stdout] --> src/common/common.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct CacherExample [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: `new` [INFO] [stdout] --> src/common/common.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(cacher_example:T) -> CacherExample { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/common/common.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn value(&mut self, arg: u32) -> u32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sql/operate.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | self.create_table(table_names[i], &kvs[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CacherExample` [INFO] [stdout] --> src/common/common.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct CacherExample [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: `new` [INFO] [stdout] --> src/common/common.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(cacher_example:T) -> CacherExample { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/common/common.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn value(&mut self, arg: u32) -> u32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sql/operate.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | self.create_table(table_names[i], &kvs[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "e1a069db2002c40a36f3f6952cf96152ae1b93ee1f512ebe569787e7502da865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a069db2002c40a36f3f6952cf96152ae1b93ee1f512ebe569787e7502da865", kill_on_drop: false }` [INFO] [stdout] e1a069db2002c40a36f3f6952cf96152ae1b93ee1f512ebe569787e7502da865