[INFO] cloning repository https://github.com/QiuZhaopeng/pubsub_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QiuZhaopeng/pubsub_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuZhaopeng%2Fpubsub_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuZhaopeng%2Fpubsub_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 766b726feedefc3276a8aa08beea83cbffc5543a [INFO] checking QiuZhaopeng/pubsub_rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuZhaopeng%2Fpubsub_rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QiuZhaopeng/pubsub_rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QiuZhaopeng/pubsub_rs [INFO] finished tweaking git repo https://github.com/QiuZhaopeng/pubsub_rs [INFO] tweaked toml for git repo https://github.com/QiuZhaopeng/pubsub_rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/QiuZhaopeng/pubsub_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-codegen v3.3.0 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded protoc-rust v2.28.0 [INFO] [stderr] Downloaded protobuf-support v3.3.0 [INFO] [stderr] Downloaded protobuf v3.3.0 [INFO] [stderr] Downloaded protobuf-parse v3.3.0 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded syn v2.0.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a8b1cb2c84501f7de81fe01ff1a591b6be325f9fd89fb7819ba3ac37d7054f3 [INFO] running `Command { std: "docker" "start" "-a" "6a8b1cb2c84501f7de81fe01ff1a591b6be325f9fd89fb7819ba3ac37d7054f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a8b1cb2c84501f7de81fe01ff1a591b6be325f9fd89fb7819ba3ac37d7054f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a8b1cb2c84501f7de81fe01ff1a591b6be325f9fd89fb7819ba3ac37d7054f3", kill_on_drop: false }` [INFO] [stdout] 6a8b1cb2c84501f7de81fe01ff1a591b6be325f9fd89fb7819ba3ac37d7054f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f1193b5962ef2aba4410ccf75e5ce5f291aee19f015b8d11f5825db9e0be4a [INFO] running `Command { std: "docker" "start" "-a" "46f1193b5962ef2aba4410ccf75e5ce5f291aee19f015b8d11f5825db9e0be4a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling protobuf v3.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling uuid-macro-internal v1.6.1 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling protobuf-support v3.3.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling protobuf-parse v3.3.0 [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stderr] Compiling pubsub_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `DateTime` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActionResponse` [INFO] [stdout] --> src/main.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use ActionMessages::{ActionRequest, ActionResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `DateTime` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActionResponse` [INFO] [stdout] --> src/main.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use ActionMessages::{ActionRequest, ActionResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf:: Message` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf:: Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut utc : DateTime = Utc::now(); [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: function `print_type_of` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_pubsub` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_pubsub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf:: Message` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf:: Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut utc : DateTime = Utc::now(); [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: function `print_type_of` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_pubsub` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_pubsub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.96s [INFO] running `Command { std: "docker" "inspect" "46f1193b5962ef2aba4410ccf75e5ce5f291aee19f015b8d11f5825db9e0be4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f1193b5962ef2aba4410ccf75e5ce5f291aee19f015b8d11f5825db9e0be4a", kill_on_drop: false }` [INFO] [stdout] 46f1193b5962ef2aba4410ccf75e5ce5f291aee19f015b8d11f5825db9e0be4a [INFO] checking QiuZhaopeng/pubsub_rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuZhaopeng%2Fpubsub_rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QiuZhaopeng/pubsub_rs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QiuZhaopeng/pubsub_rs [INFO] finished tweaking git repo https://github.com/QiuZhaopeng/pubsub_rs [INFO] tweaked toml for git repo https://github.com/QiuZhaopeng/pubsub_rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/QiuZhaopeng/pubsub_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aee16038e378747641bd85a9f7a226825d615d0f95f1ea5cafcb9364b997228 [INFO] running `Command { std: "docker" "start" "-a" "3aee16038e378747641bd85a9f7a226825d615d0f95f1ea5cafcb9364b997228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aee16038e378747641bd85a9f7a226825d615d0f95f1ea5cafcb9364b997228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aee16038e378747641bd85a9f7a226825d615d0f95f1ea5cafcb9364b997228", kill_on_drop: false }` [INFO] [stdout] 3aee16038e378747641bd85a9f7a226825d615d0f95f1ea5cafcb9364b997228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 509ba8f682a9268256affeab88e75bd10ad416671b00f1aaa485e3c87ee563a1 [INFO] running `Command { std: "docker" "start" "-a" "509ba8f682a9268256affeab88e75bd10ad416671b00f1aaa485e3c87ee563a1", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling protobuf v3.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling uuid-macro-internal v1.6.1 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling protobuf-support v3.3.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling protobuf-parse v3.3.0 [INFO] [stderr] Compiling protobuf-codegen v3.3.0 [INFO] [stderr] Compiling pubsub_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `DateTime` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActionResponse` [INFO] [stdout] --> src/main.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use ActionMessages::{ActionRequest, ActionResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `DateTime` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActionResponse` [INFO] [stdout] --> src/main.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use ActionMessages::{ActionRequest, ActionResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf:: Message` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf:: Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut utc : DateTime = Utc::now(); [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: function `print_type_of` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_pubsub` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_pubsub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf:: Message` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf:: Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut utc : DateTime = Utc::now(); [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: function `print_type_of` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_type_of (t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_pubsub` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_pubsub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | messagesList: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(messagesList: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut messagesList = self.messagesList.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messagesList` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let messagesList = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.99s [INFO] running `Command { std: "docker" "inspect" "509ba8f682a9268256affeab88e75bd10ad416671b00f1aaa485e3c87ee563a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509ba8f682a9268256affeab88e75bd10ad416671b00f1aaa485e3c87ee563a1", kill_on_drop: false }` [INFO] [stdout] 509ba8f682a9268256affeab88e75bd10ad416671b00f1aaa485e3c87ee563a1