[INFO] fetching crate mattermost-rust-client 4.0.8... [INFO] checking mattermost-rust-client-4.0.8 against master#9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a for pr-138458 [INFO] extracting crate mattermost-rust-client 4.0.8 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mattermost-rust-client 4.0.8 on toolchain 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mattermost-rust-client 4.0.8 [INFO] finished tweaking crates.io crate mattermost-rust-client 4.0.8 [INFO] tweaked toml for crates.io crate mattermost-rust-client 4.0.8 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.14) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a692e9d8f535f27f10891661062fb2648ef0e38acdff8167976f04284895f9f6 [INFO] running `Command { std: "docker" "start" "-a" "a692e9d8f535f27f10891661062fb2648ef0e38acdff8167976f04284895f9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a692e9d8f535f27f10891661062fb2648ef0e38acdff8167976f04284895f9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a692e9d8f535f27f10891661062fb2648ef0e38acdff8167976f04284895f9f6", kill_on_drop: false }` [INFO] [stdout] a692e9d8f535f27f10891661062fb2648ef0e38acdff8167976f04284895f9f6 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 965cbfd246dde3edcd3ee18c48d70a74290abe759ce1189607c1d7f012716422 [INFO] running `Command { std: "docker" "start" "-a" "965cbfd246dde3edcd3ee18c48d70a74290abe759ce1189607c1d7f012716422", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking openssl v0.10.71 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking mattermost-rust-client v4.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/bots_api.rs:513:98 [INFO] [stdout] | [INFO] [stdout] 513 | ...iguration, bot_user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [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/apis/bots_api.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | let mut local_var_form = reqwest::multipart::Form::new(); [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: unused variable: `image` [INFO] [stdout] --> src/apis/brand_api.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | ...configuration::Configuration, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/brand_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/bots_api.rs:513:98 [INFO] [stdout] | [INFO] [stdout] 513 | ...iguration, bot_user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [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/apis/bots_api.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | let mut local_var_form = reqwest::multipart::Form::new(); [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: unused variable: `image` [INFO] [stdout] --> src/apis/brand_api.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | ...configuration::Configuration, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/brand_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/emoji_api.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | ...configuration::Configuration, image: std::path::PathBuf, emoji: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/apis/files_api.rs:348:122 [INFO] [stdout] | [INFO] [stdout] 348 | ...str>, filename: Option<&str>, files: Option, channel_id2: Option<&str>, client_ids: Option<&str>) -> Result src/apis/emoji_api.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | ...configuration::Configuration, image: std::path::PathBuf, emoji: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/apis/files_api.rs:348:122 [INFO] [stdout] | [INFO] [stdout] 348 | ...str>, filename: Option<&str>, files: Option, channel_id2: Option<&str>, client_ids: Option<&str>) -> Result src/apis/plugins_api.rs:473:74 [INFO] [stdout] | [INFO] [stdout] 473 | ...onfiguration::Configuration, plugin: std::path::PathBuf, force: Option<&str>) -> Result src/apis/plugins_api.rs:473:74 [INFO] [stdout] | [INFO] [stdout] 473 | ...onfiguration::Configuration, plugin: std::path::PathBuf, force: Option<&str>) -> Result src/apis/saml_api.rs:379:88 [INFO] [stdout] | [INFO] [stdout] 379 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:413:92 [INFO] [stdout] | [INFO] [stdout] 413 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:447:91 [INFO] [stdout] | [INFO] [stdout] 447 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:379:88 [INFO] [stdout] | [INFO] [stdout] 379 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:413:92 [INFO] [stdout] | [INFO] [stdout] 413 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificate` [INFO] [stdout] --> src/apis/saml_api.rs:447:91 [INFO] [stdout] | [INFO] [stdout] 447 | ...uration::Configuration, certificate: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/saml_api.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `license` [INFO] [stdout] --> src/apis/system_api.rs:1591:80 [INFO] [stdout] | [INFO] [stdout] 1591 | ...nfiguration::Configuration, license: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/system_api.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/apis/teams_api.rs:970:87 [INFO] [stdout] | [INFO] [stdout] 970 | ...:Configuration, team_id: &str, file: std::path::PathBuf, filesize: i32, import_from: &str) -> Result src/apis/teams_api.rs:1336:89 [INFO] [stdout] | [INFO] [stdout] 1336 | ...Configuration, team_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/teams_api.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `license` [INFO] [stdout] --> src/apis/system_api.rs:1591:80 [INFO] [stdout] | [INFO] [stdout] 1591 | ...nfiguration::Configuration, license: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/system_api.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/apis/teams_api.rs:970:87 [INFO] [stdout] | [INFO] [stdout] 970 | ...:Configuration, team_id: &str, file: std::path::PathBuf, filesize: i32, import_from: &str) -> Result src/apis/teams_api.rs:1336:89 [INFO] [stdout] | [INFO] [stdout] 1336 | ...Configuration, team_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/teams_api.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/users_api.rs:2390:93 [INFO] [stdout] | [INFO] [stdout] 2390 | ...Configuration, user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/users_api.rs:2404:9 [INFO] [stdout] | [INFO] [stdout] 2404 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/apis/users_api.rs:2390:93 [INFO] [stdout] | [INFO] [stdout] 2390 | ...Configuration, user_id: &str, image: std::path::PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apis/users_api.rs:2404:9 [INFO] [stdout] | [INFO] [stdout] 2404 | let mut local_var_form = reqwest::multipart::Form::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.80s [INFO] running `Command { std: "docker" "inspect" "965cbfd246dde3edcd3ee18c48d70a74290abe759ce1189607c1d7f012716422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965cbfd246dde3edcd3ee18c48d70a74290abe759ce1189607c1d7f012716422", kill_on_drop: false }` [INFO] [stdout] 965cbfd246dde3edcd3ee18c48d70a74290abe759ce1189607c1d7f012716422