[INFO] cloning repository https://github.com/shinbunbun/ubic-food-management-bot-v2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shinbunbun/ubic-food-management-bot-v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinbunbun%2Fubic-food-management-bot-v2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinbunbun%2Fubic-food-management-bot-v2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 358d45b3e7b86777ca5d90b38b2c466a34042854 [INFO] testing shinbunbun/ubic-food-management-bot-v2 against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinbunbun%2Fubic-food-management-bot-v2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 [INFO] finished tweaking git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 [INFO] tweaked toml for git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 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" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/shinbunbun/line-bot-example-rust.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded awc v3.0.0 [INFO] [stderr] Downloaded josekit v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3070f4d6b6ec91c802b62879f964aa6d3f4cfe3fa62bc87c70458e28ae7fcb78 [INFO] running `Command { std: "docker" "start" "-a" "3070f4d6b6ec91c802b62879f964aa6d3f4cfe3fa62bc87c70458e28ae7fcb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3070f4d6b6ec91c802b62879f964aa6d3f4cfe3fa62bc87c70458e28ae7fcb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3070f4d6b6ec91c802b62879f964aa6d3f4cfe3fa62bc87c70458e28ae7fcb78", kill_on_drop: false }` [INFO] [stdout] 3070f4d6b6ec91c802b62879f964aa6d3f4cfe3fa62bc87c70458e28ae7fcb78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d256bbf59b99dc2b867cbd5c3fc5eca957255bd072a089a355599d478b2ca2 [INFO] running `Command { std: "docker" "start" "-a" "57d256bbf59b99dc2b867cbd5c3fc5eca957255bd072a089a355599d478b2ca2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling actix-tls v3.0.3 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling josekit v0.8.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling awc v3.0.0 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling line_bot_sdk v0.1.0 (https://github.com/shinbunbun/line-bot-example-rust.git#6b404f14) [INFO] [stderr] Compiling ubic-food-management-bot-v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::error::Error::EnvError` [INFO] [stdout] --> src/line_api/api_front.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Error::EnvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_api_base_url` is never used [INFO] [stdout] --> src/config.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_api_base_url() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authenticator` and `base_url` are never read [INFO] [stdout] --> src/line_api/api_front.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiFront [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | authenticator: T, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiFront` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/line_api/api_front.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ApiFront [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(authenticator: T, base_url: String) -> ApiFront { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn make_request_uri(&self, uri: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_authorization_header(&self) -> Result<(&str, String), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn post_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn delete_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn patch_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/line_api/authenticator.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BearerAuthenticator { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> BearerAuthenticator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ApiError` and `SerdeError` are never constructed [INFO] [stdout] --> src/line_api/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | EnvError(VarError), [INFO] [stdout] 6 | ApiError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | SerdeError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.24s [INFO] running `Command { std: "docker" "inspect" "57d256bbf59b99dc2b867cbd5c3fc5eca957255bd072a089a355599d478b2ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d256bbf59b99dc2b867cbd5c3fc5eca957255bd072a089a355599d478b2ca2", kill_on_drop: false }` [INFO] [stdout] 57d256bbf59b99dc2b867cbd5c3fc5eca957255bd072a089a355599d478b2ca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa1aa6d8ed8b6a44161cd98843a71e6788d4188c80673446929635d94aef0222 [INFO] running `Command { std: "docker" "start" "-a" "fa1aa6d8ed8b6a44161cd98843a71e6788d4188c80673446929635d94aef0222", kill_on_drop: false }` [INFO] [stderr] Compiling ubic-food-management-bot-v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::error::Error::EnvError` [INFO] [stdout] --> src/line_api/api_front.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::Error::EnvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_api_base_url` is never used [INFO] [stdout] --> src/config.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_api_base_url() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post_request`, `delete_request`, and `patch_request` are never used [INFO] [stdout] --> src/line_api/api_front.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ApiFront [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn post_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn delete_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn patch_request(&self, uri: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/line_api/authenticator.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BearerAuthenticator { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> BearerAuthenticator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ApiError` and `SerdeError` are never constructed [INFO] [stdout] --> src/line_api/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | EnvError(VarError), [INFO] [stdout] 6 | ApiError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | SerdeError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "fa1aa6d8ed8b6a44161cd98843a71e6788d4188c80673446929635d94aef0222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1aa6d8ed8b6a44161cd98843a71e6788d4188c80673446929635d94aef0222", kill_on_drop: false }` [INFO] [stdout] fa1aa6d8ed8b6a44161cd98843a71e6788d4188c80673446929635d94aef0222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d50360c9515dc96618410e55c6b9abfa2da6c7906e8f326c818295fd6b98cdc0 [INFO] running `Command { std: "docker" "start" "-a" "d50360c9515dc96618410e55c6b9abfa2da6c7906e8f326c818295fd6b98cdc0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::error::Error::EnvError` [INFO] [stderr] --> src/line_api/api_front.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::error::Error::EnvError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_api_base_url` is never used [INFO] [stderr] --> src/config.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_api_base_url() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `post_request`, `delete_request`, and `patch_request` are never used [INFO] [stderr] --> src/line_api/api_front.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ApiFront [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn post_request(&self, uri: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn delete_request(&self, uri: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn patch_request(&self, uri: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/line_api/authenticator.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl BearerAuthenticator { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 12 | pub fn new() -> BearerAuthenticator { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `ApiError` and `SerdeError` are never constructed [INFO] [stderr] --> src/line_api/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 5 | EnvError(VarError), [INFO] [stderr] 6 | ApiError(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 7 | SerdeError(String), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `ubic-food-management-bot-v2` (bin "ubic-food-management-bot-v2" test) generated 5 warnings (run `cargo fix --bin "ubic-food-management-bot-v2" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ubic_food_management_bot_v2-4cbf17878221c16a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test line_api::api_front::tests::hoge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d50360c9515dc96618410e55c6b9abfa2da6c7906e8f326c818295fd6b98cdc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50360c9515dc96618410e55c6b9abfa2da6c7906e8f326c818295fd6b98cdc0", kill_on_drop: false }` [INFO] [stdout] d50360c9515dc96618410e55c6b9abfa2da6c7906e8f326c818295fd6b98cdc0