[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/358d45b3e7b86777ca5d90b38b2c466a34042854 against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinbunbun%2Fubic-food-management-bot-v2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shinbunbun/ubic-food-management-bot-v2 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "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-5-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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/shinbunbun/line-bot-example-rust.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded actix-tls v3.0.3 [INFO] [stderr] Downloaded firestorm v0.5.1 [INFO] [stderr] Downloaded actix-rt v1.1.1 [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded actix-threadpool v0.3.3 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded tokio v1.20.0 [INFO] [stderr] Downloaded josekit v0.8.1 [INFO] [stderr] Downloaded actix-web v4.1.0 [INFO] [stderr] Downloaded webpki-roots v0.22.4 [INFO] [stderr] Downloaded actix-web-codegen v4.0.1 [INFO] [stderr] Downloaded actix-http v3.2.1 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded semver v1.0.12 [INFO] [stderr] Downloaded awc v3.0.0 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded time v0.3.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4201d825159ee457c0596f7436506db9563a5a8bc8df74518a1ac73a0d111ecf [INFO] running `Command { std: "docker" "start" "-a" "4201d825159ee457c0596f7436506db9563a5a8bc8df74518a1ac73a0d111ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4201d825159ee457c0596f7436506db9563a5a8bc8df74518a1ac73a0d111ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4201d825159ee457c0596f7436506db9563a5a8bc8df74518a1ac73a0d111ecf", kill_on_drop: false }` [INFO] [stdout] 4201d825159ee457c0596f7436506db9563a5a8bc8df74518a1ac73a0d111ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91eb28df2dc0fa27086bac47029cda7efb19456004c62240295c6efb2dcaf27f [INFO] running `Command { std: "docker" "start" "-a" "91eb28df2dc0fa27086bac47029cda7efb19456004c62240295c6efb2dcaf27f", 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 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 scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [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 futures-task v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.21 [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 serde v1.0.139 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [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 tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling digest v0.10.3 [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 instant v0.1.12 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.2 [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 validator_types v0.15.0 [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 atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-router v0.5.0 [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 webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [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 validator_derive v0.15.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling actix-tls v3.0.3 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-rt v1.1.1 [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] 18 | | where [INFO] [stdout] 19 | | T: Authenticator, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 20 | { [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 1m 43s [INFO] running `Command { std: "docker" "inspect" "91eb28df2dc0fa27086bac47029cda7efb19456004c62240295c6efb2dcaf27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91eb28df2dc0fa27086bac47029cda7efb19456004c62240295c6efb2dcaf27f", kill_on_drop: false }` [INFO] [stdout] 91eb28df2dc0fa27086bac47029cda7efb19456004c62240295c6efb2dcaf27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6337892dae0eaaca57e72c24b25c06ef0650777a8ac4ce608000161fb99f5c00 [INFO] running `Command { std: "docker" "start" "-a" "6337892dae0eaaca57e72c24b25c06ef0650777a8ac4ce608000161fb99f5c00", 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] 18 | | where [INFO] [stdout] 19 | | T: Authenticator, [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 4.33s [INFO] running `Command { std: "docker" "inspect" "6337892dae0eaaca57e72c24b25c06ef0650777a8ac4ce608000161fb99f5c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6337892dae0eaaca57e72c24b25c06ef0650777a8ac4ce608000161fb99f5c00", kill_on_drop: false }` [INFO] [stdout] 6337892dae0eaaca57e72c24b25c06ef0650777a8ac4ce608000161fb99f5c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2d3f66730e5edef3d4cb465e10947a73e6553091550ff65ee0e0733cc4f97ab [INFO] running `Command { std: "docker" "start" "-a" "e2d3f66730e5edef3d4cb465e10947a73e6553091550ff65ee0e0733cc4f97ab", 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] 18 | | where [INFO] [stderr] 19 | | T: Authenticator, [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.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ubic_food_management_bot_v2-6aed9104d7398dd3) [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" "e2d3f66730e5edef3d4cb465e10947a73e6553091550ff65ee0e0733cc4f97ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d3f66730e5edef3d4cb465e10947a73e6553091550ff65ee0e0733cc4f97ab", kill_on_drop: false }` [INFO] [stdout] e2d3f66730e5edef3d4cb465e10947a73e6553091550ff65ee0e0733cc4f97ab