[INFO] fetching crate line-bot-messaging-api 0.1.7...
[INFO] testing line-bot-messaging-api-0.1.7 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate line-bot-messaging-api 0.1.7 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate line-bot-messaging-api 0.1.7 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate line-bot-messaging-api 0.1.7
[INFO] finished tweaking crates.io crate line-bot-messaging-api 0.1.7
[INFO] tweaked toml for crates.io crate line-bot-messaging-api 0.1.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 138 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8712f3800d2e379a35c40395c3f27577e46440d6fc575faecab636b6b5ed7a45
[INFO] running `Command { std: "docker" "start" "-a" "8712f3800d2e379a35c40395c3f27577e46440d6fc575faecab636b6b5ed7a45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8712f3800d2e379a35c40395c3f27577e46440d6fc575faecab636b6b5ed7a45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8712f3800d2e379a35c40395c3f27577e46440d6fc575faecab636b6b5ed7a45", kill_on_drop: false }`
[INFO] [stdout] 8712f3800d2e379a35c40395c3f27577e46440d6fc575faecab636b6b5ed7a45
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9c71983067bcaae5a1400404ddf89c789fff1c633b270c220484eaea15b0c11
[INFO] running `Command { std: "docker" "start" "-a" "b9c71983067bcaae5a1400404ddf89c789fff1c633b270c220484eaea15b0c11", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling line-bot-messaging-api v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.24s
[INFO] running `Command { std: "docker" "inspect" "b9c71983067bcaae5a1400404ddf89c789fff1c633b270c220484eaea15b0c11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9c71983067bcaae5a1400404ddf89c789fff1c633b270c220484eaea15b0c11", kill_on_drop: false }`
[INFO] [stdout] b9c71983067bcaae5a1400404ddf89c789fff1c633b270c220484eaea15b0c11
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b93d34dff6de9d2f2179a442851cfd92e39308afcb7b4aa50b280ccdb76973a6
[INFO] running `Command { std: "docker" "start" "-a" "b93d34dff6de9d2f2179a442851cfd92e39308afcb7b4aa50b280ccdb76973a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling line-bot-messaging-api v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `TOKEN` not defined at compile time
[INFO] [stdout]  --> tests/test_bot.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let token = env!("TOKEN");
[INFO] [stdout]   |                 ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `TOKEN` not defined at compile time
[INFO] [stdout]   --> tests/test_chat.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let token = env!("TOKEN");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOKEN")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `line-bot-messaging-api` (test "test_bot") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> tests/test_chat.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 106 |     return;
[INFO] [stdout]     |     ------ any code following this expression is unreachable
[INFO] [stdout] 107 |
[INFO] [stdout] 108 |     let file = std::fs::read("./test_line.jpg").unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> tests/test_chat.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let user_id = "";
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> tests/test_chat.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |     if let Ok(res) = client
[INFO] [stdout]     |               ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> tests/test_chat.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     if let Ok(res) = client.rich_menu_delete_default_menu().await {
[INFO] [stdout]     |               ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rich`
[INFO] [stdout]    --> tests/test_chat.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let rich = client
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_rich`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_thumbnail`
[INFO] [stdout]    --> tests/test_chat.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let test_thumbnail = "";
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_thumbnail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_mp4`
[INFO] [stdout]    --> tests/test_chat.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let test_mp4 = "https://www.home-movie.biz/mov/hts-samp001.mp4";
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_mp4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let mut template = LineMessageTemplate::new("alt", template_button);
[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: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let mut template = LineMessageTemplate::new("alt", template_confirm);
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let mut template = LineMessageTemplate::new("alt", template_confirm);
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:260:9
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let mut col1 = LineMessageTemplateCarouselImageColumn::new(
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut col2 = LineMessageTemplateCarouselImageColumn::new(
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let mut template = LineMessageTemplate::new("alt", template_confirm);
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/test_chat.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let mut template_confirm = LineMessageFlex::new(
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `line-bot-messaging-api` (test "test_chat") due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b93d34dff6de9d2f2179a442851cfd92e39308afcb7b4aa50b280ccdb76973a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b93d34dff6de9d2f2179a442851cfd92e39308afcb7b4aa50b280ccdb76973a6", kill_on_drop: false }`
[INFO] [stdout] b93d34dff6de9d2f2179a442851cfd92e39308afcb7b4aa50b280ccdb76973a6
