[INFO] cloning repository https://github.com/duaifzn/linebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duaifzn/linebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduaifzn%2Flinebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduaifzn%2Flinebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ec52ed102f7a21c9adf2488313fd0d914c068de [INFO] checking duaifzn/linebot against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduaifzn%2Flinebot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duaifzn/linebot on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duaifzn/linebot [INFO] finished tweaking git repo https://github.com/duaifzn/linebot [INFO] tweaked toml for git repo https://github.com/duaifzn/linebot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/duaifzn/linebot 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" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 765704d5d6f1bbf11d057933126b18f6afd345f0dce294187bedf8eb17eb3268 [INFO] running `Command { std: "docker" "start" "-a" "765704d5d6f1bbf11d057933126b18f6afd345f0dce294187bedf8eb17eb3268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "765704d5d6f1bbf11d057933126b18f6afd345f0dce294187bedf8eb17eb3268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765704d5d6f1bbf11d057933126b18f6afd345f0dce294187bedf8eb17eb3268", kill_on_drop: false }` [INFO] [stdout] 765704d5d6f1bbf11d057933126b18f6afd345f0dce294187bedf8eb17eb3268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30eaa09324b1abd09f8c6f68fe2a07cdacad0aaa652e4b6a204d74a4db8244c9 [INFO] running `Command { std: "docker" "start" "-a" "30eaa09324b1abd09f8c6f68fe2a07cdacad0aaa652e4b6a204d74a4db8244c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Checking openssl-sys v0.9.75 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling figment v0.10.7 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.0.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.10 [INFO] [stderr] Checking diesel v2.0.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Checking redis v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.12 [INFO] [stderr] Checking linebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/model/email.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Email` [INFO] [stdout] --> src/service/email_service.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::email::{Email, NewEmail}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/model/email.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Email` [INFO] [stdout] --> src/service/email_service.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::email::{Email, NewEmail}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/util/line_bot.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let res = client [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/util/line_bot.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let res = client [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Own` is never constructed [INFO] [stdout] --> src/dto/linebot_message.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum PeriodOfOperationReport{ [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] 28 | Own, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeriodOfOperationReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Own` is never constructed [INFO] [stdout] --> src/dto/linebot_message.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum SumOfOperationReport{ [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 69 | Own, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SumOfOperationReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `signature_is_valid`, `webhook_endpoint_info`, and `push_msg` are never used [INFO] [stdout] --> src/util/line_bot.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LineBot { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn signature_is_valid(&self, sign: String, body: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn webhook_endpoint_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn push_msg(&self, user_id: &str, msg: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_ex` and `get` are never used [INFO] [stdout] --> src/util/redis.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn set_ex(&self, key: &str, value: &str, seconds: u16) -> RedisResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn get(&self, key: &str) -> RedisResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_one_email` is never used [INFO] [stdout] --> src/service/email_service.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn insert_one_email(db_pool: &State, email: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Own` is never constructed [INFO] [stdout] --> src/dto/linebot_message.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum PeriodOfOperationReport{ [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] 28 | Own, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeriodOfOperationReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Own` is never constructed [INFO] [stdout] --> src/dto/linebot_message.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum SumOfOperationReport{ [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 69 | Own, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SumOfOperationReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `signature_is_valid`, `webhook_endpoint_info`, and `push_msg` are never used [INFO] [stdout] --> src/util/line_bot.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LineBot { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn signature_is_valid(&self, sign: String, body: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn webhook_endpoint_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn push_msg(&self, user_id: &str, msg: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_ex` and `get` are never used [INFO] [stdout] --> src/util/redis.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn set_ex(&self, key: &str, value: &str, seconds: u16) -> RedisResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn get(&self, key: &str) -> RedisResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_one_email` is never used [INFO] [stdout] --> src/service/email_service.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn insert_one_email(db_pool: &State, email: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "30eaa09324b1abd09f8c6f68fe2a07cdacad0aaa652e4b6a204d74a4db8244c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30eaa09324b1abd09f8c6f68fe2a07cdacad0aaa652e4b6a204d74a4db8244c9", kill_on_drop: false }` [INFO] [stdout] 30eaa09324b1abd09f8c6f68fe2a07cdacad0aaa652e4b6a204d74a4db8244c9